How can I make systemd stop grabbing NFS mounts?

Tethys tethys at gmail.com
Thu Jan 16 12:03:16 UTC 2014


On Wed, Jan 15, 2014 at 9:54 PM, Michael Cronenworth <mike at cchtml.com> wrote:

> Please see my second e-mail.
>
> https://lists.fedoraproject.org/pipermail/users/2014-January/445481.html

You seem to be missing the point. With SysV init, you could just edit
the appropriate file in /etc/init.d and tell it not to try shutting
this service down when rebooting. What's wanted here is not some way
to forcibly umount network filesystems at reboot time, or an
alternative filesystem to try. What Tom appeared to be asking for was
a way to tell systemd "don't even attempt to umount these".

My best suggestion is:

    alias reboot="echo u > /proc/sysrq-trigger; sleep 1; echo b >
/proc/sysrq-trigger"

Brute force and ignorance, but it should achieve what you want
(assuming you don't have anything else on the system that needs
shutting down cleanly).

Tet

-- 
"Java is a DSL for taking large XML files and converting them to stack
traces" -- Bulat Shakirzyanov


More information about the users mailing list