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

Robert M. Koretsky bobk48 at gmail.com
Sun Jul 17 23:29:33 UTC 2016


Martin:
After systemctl isolate multi-user.target, I could ssh into the machine.
Also, after systemctl isolate multi-user.target, then Ctrl-Alt-F2, I could
login on tty2.
Proof that the system didn't hang or crash.
I could then systemctl isolate graphical.target and was back in the
beautiful Cinnamon Desktop!
That's a fix for me.
My graphics card is whatever comes standard on the motherboard of an HP
Proliant Microserver.
I've attached the requested journal log files.
I will experiment with switching to rescue and emergency targets work as
well.
Initially, I was doing the systemctl isolate on a Mint 18 guest running in
VirtualBox. I could ssh into the VirtualBox guest, but couldn't figure out
how to use Ctrl-Alt-F2 in the guest. The above session was done on Mint 18
running on bare metal on the HP.
Thanks very much for helping to solve my problem!
Sincerely,
Robert M. Koretsky


On Sun, Jul 17, 2016 at 2:17 PM, Martin Pitt <martin.pitt at ubuntu.com>
wrote:

> > 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 subscribed to the bug
> report.
> 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
>


** Attachment added: "journal.txt"
   https://bugs.launchpad.net/bugs/1603151/+attachment/4702550/+files/journal.txt

** Attachment added: "status.txt"
   https://bugs.launchpad.net/bugs/1603151/+attachment/4702551/+files/status.txt

-- 
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