Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemctl isolate causes forced logout #1969

Closed
mbiebl opened this issue Nov 20, 2015 · 3 comments
Closed

systemctl isolate causes forced logout #1969

mbiebl opened this issue Nov 20, 2015 · 3 comments
Labels
regression ⚠️ A bug in something that used to work correctly and broke through some recent commit

Comments

@mbiebl
Copy link
Contributor

mbiebl commented Nov 20, 2015

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805442

Say you are logged in to the console, "systemctl isolate multi-user.target" will kick you out of your session and you are back to the login prompt. This should not happen, since getty@.service has IgnoreOnIsolate=yes.

This is a regression that afaics was introduced in v227 by commit 8c8da0e.

v228 had a followup fix in 4178002 but that is unfortunately not sufficient. So both v227 and v228 show this behaviour.

@mbiebl mbiebl added the regression ⚠️ A bug in something that used to work correctly and broke through some recent commit label Nov 20, 2015
@intelfx
Copy link
Contributor

intelfx commented Jan 20, 2016

Probably all slices should be IgnoreOnIsolate=true?..

/me is affected too.

@intelfx
Copy link
Contributor

intelfx commented Jan 21, 2016

@poettering? would it be correct to ignore all slices on isolate? they are second to actual units, after all. We could also make them stopped-when-unneeded.

@bitstreamout
Copy link
Contributor

Same reports here http://bugzilla.opensuse.org/show_bug.cgi?id=966535 ...
As a simple test do login remote or local and do init 3' or eveninit 5' at runlevel 5 or
systemctl isolate graphical.target
or
systemctl default
and all sessions become logout

poettering added a commit to poettering/systemd that referenced this issue Feb 19, 2016
@teg teg closed this as completed in 1b4cd0c Feb 22, 2016
floppym pushed a commit to gentoo/systemd that referenced this issue Mar 5, 2016
Werkov pushed a commit to Werkov/systemd that referenced this issue Jun 22, 2017
Fixes: systemd#1969
(cherry picked from commit 1b4cd0c)

[fbui: fix for boo#966535]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression ⚠️ A bug in something that used to work correctly and broke through some recent commit
Development

No branches or pull requests

3 participants