jessie: help debugging NFS shares not mounted at boot, double mounts with mount -a, and @reboot cronjobs
Felipe Sateler
fsateler at debian.org
Wed Mar 16 13:23:30 GMT 2016
On 4 March 2016 at 18:13, Sandro Tosi <morph at debian.org> wrote:
>> Could you attach one? Or mail me privately if you prefer, and I can
>> take a look to see if there is anything else that may be fishy.
>
> we are extremely protective of what we do on our system, so i am not
> able to provide a pristine boot log. I am attaching an anonymized
> version of the first minutes of boot, hope that's good enough.
I see this that looks possibly interesting:
Feb 23 06:50:43 SERVER systemd[1]: Reached target Network is Online.
Feb 23 06:50:43 SERVER systemd[1]: Mounting /mnt/NFSSERVER12_VOL...
<snip>
Feb 23 06:50:43 SERVER systemd[1]: Starting LSB: RPC portmapper replacement...
<snip>
Feb 23 06:50:43 SERVER systemd[1]: Starting LSB: NFS support files
common to client and server...
<snip>
So it looks like systemd is starting the mounts in parallel to
starting the nfs support infrastructure.
What happens if you add the following content:
[Unit]
Wants=remote-fs-pre.target
Before=remote-fs-pre.target
To snippets for nfs-common and rpcbind ? That would be
/etc/systemd/system/{nfs-common,rpcbind}.service.d/00-remote-fs-ordering.conf
Ensure systemd is picking up the files by issuing a systemctl
daemon-reload, and then doing systemctl cat rpcbind nfs-common and
making sure the output includes the snippets.
--
Saludos,
Felipe Sateler
More information about the Pkg-systemd-maintainers
mailing list