Merge pull request #1090 from MilhouseVH/package_updates1_fix2

rpcbind: needs to wait until /var/run is available
This commit is contained in:
Christian Hewitt 2016-12-24 06:07:01 +04:00 committed by GitHub
commit dc61a1221b
3 changed files with 1 additions and 24 deletions

View File

@ -6,7 +6,7 @@ diff -Naur a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in
# rpcbind.socket, no matter how this unit is started.
Wants=rpcbind.socket
-After=rpcbind.socket
+After=rpcbind.socket var.mount
+After=rpcbind.socket systemd-tmpfiles-setup.service
[Service]
Type=notify

View File

@ -1,14 +0,0 @@
[Unit]
Description=RPC bind service
Requires=rpcbind.socket
After=syslog.target network.target
[Service]
Type=forking
ExecStart=/usr/bin/rpcbind
TimeoutStopSec=1s
[Install]
WantedBy=multi-user.target
Also=rpcbind.socket

View File

@ -1,9 +0,0 @@
[Unit]
Description=RPCbind Server Activation Socket
[Socket]
ListenStream=/var/run/rpcbind.sock
[Install]
WantedBy=sockets.target