[systemd-devel] [PATCH] Fix systemd crash (on assert) during shutdown/reboot in unprivileged container
martin.pitt at ubuntu.com
Tue Jan 20 23:41:44 PST 2015
Andrei Borzenkov [2015-01-16 19:32 +0300]:
> If I as user do "systemctl stop /dev/pts" I expect it to
> unmount /dev/pts not fake "dead" state.
Well, not all such commands can be expected to do something useful.
Stopping mounts which the system depends on is going to break it, so
trying to "systemctl stop -- -.mount" is rightfully refused already,
while unmounting other things like /dev/pts will just eventually break
your system anyway.
Personally I think that Stephane's second patch was just about the
It is reasonably future-proof (unlike the first patch) and avoids
the problem you mentioned too, i. e. silently not doing operations
while they appear to be successful.
@Lennart: We now have three patches -- could you make an executive
decision which one we take? :-)
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the systemd-devel