Bug#784238: systemd: emergency.service restart leads to unusable system
Michael Biebl
biebl at debian.org
Mon May 4 14:01:08 BST 2015
Control: forwarded -1 http://lists.freedesktop.org/archives/systemd-devel/2015-May/031482.html
Am 04.05.2015 um 14:26 schrieb Michael Biebl:
> No, not really. What we probably should do is mark
> emergency.service as
> RefuseManualStart=yes
> RefuseManualStop=yes
I forwarded this suggestion to the upstream m-l for their input.
Am 04.05.2015 um 13:15 schrieb Bernd Zeimetz:> Severity: critical
> Even worse, pressing enter shows the prompt from the former shell and
> I'm able to get 'bash ... command not found errors' by entering various
> combinations of letters and hitting return often enough. So while the
> shell seems to be locked, it is actually possible to run commands within
> the shell behind the login.
This comes from KillMode=process in emergency.service, which means that only
the main process is stopped, so in your case the bash process kept running,
fighting with sulogin over the input.
I asked upstream for clarification on this point, i.e. why KillMode=process
is used here.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150504/61cd7ee3/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list