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

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Mon Jul 29 06:16:21 UTC 2019


>>> Lennart Poettering <lennart at poettering.net> schrieb am 25.07.2019 um 13:37
in
Nachricht <20190725113724.GC12912 at gardel-login>:
> On Do, 25.07.19 12:52, Ulrich Windl (Ulrich.Windl at rz.uni‑regensburg.de)
wrote:
> 
>> > "try to kill all processes using a filesystem before unmounting it"
>> > isn't that easy when it comes to namespaces, "lsof" even don't tell you
>> > the root cause preventing unmount but the ernel still refuses to do so
>>
>> Does systemd even try to use lsof?
> 
> No, of course not. We tend to avoid hacks like that.

And just repeating the unmount without further actions is not a hack?
Why not stop when unmount fails?

> 
> We generally expect packages to come with proper ordering in place,
> and when they still insist on SysV init scripts to work properly and
> clean up after themselves though.
> 
> Lennart
> 
> ‑‑
> Lennart Poettering, Berlin





More information about the systemd-devel mailing list