[systemd-devel] Antw: Re: failing unmounts during reboot

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Jul 25 10:49:45 UTC 2019


>>> Silvio Knizek <killermoehre at gmx.net> schrieb am 25.07.2019 um 12:10 in
Nachricht <cb92eed901e39d6b65680976a92711150a133a1c.camel at gmx.net>:

[...]
> Hi,
> 
> the proper approach would be to define the dependency of the generated
> .service to the mount point with a drop-in and RequiresMountsFor=. See
> man:systemd.unit for more information.
> Also the systemd-sysv-generator can only do so much. Please write
> yourself proper units if you encounter problems.

What this "solution" fails to see is that any user can start a process that may prevent clean unmount. It's completely far away from reality to believe that such a user will write (or even know how to write) a systemd service!

> 
> BR
> Silvio
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org 
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel 






More information about the systemd-devel mailing list