-
-
Save prydom/fc9da5b7c9767e6e870c165f0fc00f7f to your computer and use it in GitHub Desktop.
nfs-common fails to come up on Debian Jessie (Backports) workaround
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=NFS Reorder Hack | |
After=network.target rpcbind.target | |
Before=remote-fs-pre.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/local/sbin/nfs-hack.sh | |
RemainAfterExit=false | |
StandardOutput=journal | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
systemctl restart rpcbind.service | |
systemctl restart nfs-common.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@nullsleep:/etc/systemd/system# systemctl show rpcbind.target | |
Id=rpcbind.target | |
Names=rpcbind.target | |
Requires=rpcbind.service | |
WantedBy=rpcbind.service | |
Conflicts=shutdown.target | |
Before=nfs-kernel-server.service nfs-hack.service nfs-common.service | |
After=rpcbind.service | |
Documentation=man:systemd.special(7) | |
Description=RPC Port Mapper | |
LoadState=loaded | |
ActiveState=active | |
SubState=active | |
FragmentPath=/lib/systemd/system/rpcbind.target | |
SourcePath=/etc/insserv.conf.d/rpcbind | |
DropInPaths=/run/systemd/generator/rpcbind.target.d/50-hard-dependency-rpcbind-$portmap.conf | |
UnitFileState=static | |
UnitFilePreset=enabled | |
StateChangeTimestamp=Thu 2017-02-02 17:24:09 EST | |
StateChangeTimestampMonotonic=6726488 | |
InactiveExitTimestamp=Thu 2017-02-02 17:24:09 EST | |
InactiveExitTimestampMonotonic=6726488 | |
ActiveEnterTimestamp=Thu 2017-02-02 17:24:09 EST | |
ActiveEnterTimestampMonotonic=6726488 | |
ActiveExitTimestamp=Thu 2017-02-02 17:24:08 EST | |
ActiveExitTimestampMonotonic=6512185 | |
InactiveEnterTimestamp=Thu 2017-02-02 17:24:08 EST | |
InactiveEnterTimestampMonotonic=6512185 | |
CanStart=no | |
CanStop=yes | |
CanReload=no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment