I think there's been some recent discussion related to this on this mailing
list. You might want to check the archives and/or look into the nofail
and/or noauto options in your fstab entries. Seems like nofail at least
will change the local-fs.target dependency into a Want instead of a
Require, which may be what you're looking for here.
On Fri, Oct 14, 2016 at 9:12 AM, Michael Hirmke <camp...@mike.franken.de>
> Hi again,
> >nfsserver and postfix are depending on local-fs.target, which includes
> >When stopping /var/backup with systemctl, systemd also stops nfsserver
> >and postfix. Therefore this is not a solution, because in fact both
> >don't need /var/backup.
> >How can I solve this?
> it seems to be a very ugly solution, but masking var-backup.mount
> before umounting it and unmasking it after remounting works.
> Hopefully there are no side effects.
> Does anyone know any not so ugly solution?
> Michael Hirmke
> systemd-devel mailing list
systemd-devel mailing list