[Bug 1603151] Re: systemctl isolate anyname.target not working

Martin Pitt martin.pitt at ubuntu.com
Sun Jul 17 21:17:37 UTC 2016


> The system flashes a very momentary prompt to login as a single user
without a GUI, but then the screen goes black and the system is hung.

That sounds like the command actually worked, but stopping lightdm and
thus the graphics driver breaks the state of the graphics card. Does
changing VTs with Ctrl-Alt-F2 work? If not, please check if you can
still log into the system with ssh (I suppose that works), and capture
"sudo journalctl -b > /tmp/journal.txt" and "systemctl status >
/tmp/status.txt" and attach the files here. Also, which graphics
driver/card are you using? Please don't file bugs direectly in
Launchpad, use "ubuntu-bug" for this (this will automatically attach
information about your hardware).

> The glaring difference I noticed is that in the multi-user.target unit
file, AllowIsolate and CanIsolate is set to yes in the other Linux
systems, but to no in Ubuntu.

Ubuntu does not modify the upstream unit, and it does have
AllowIsolate=yes. "CanIsolate" does not exist.

** Changed in: systemd (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1603151

Title:
  systemctl isolate anyname.target not working

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  On Ubuntu 16.04 Cinammon, systemctl isolate multi-user.target hangs the system.
  I've tried editing the multi-user.target file as a snippet, or the whole thing, but with no fix.
  The system flashes a very momentary prompt to login as a single user without a GUI, but then the screen goes black and the system is hung.
  Same on Linux Mint 18.
  systemctl isolate multi-user.target works successfully on OpenSuse Leap 42.1, and CentOS 7, as I tested the command on these other systems to check. The glaring difference I noticed is that in the multi-user.target unit file, AllowIsolate and CanIsolate is set to yes in the other Linux systems, but to no in Ubuntu.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1603151/+subscriptions



More information about the foundations-bugs mailing list