Comment 55 for bug 1670291

Revision history for this message
Balint Reczey (rbalint) wrote :

verified with 237-3ubuntu10.31:

root@bb-lp1670291:~# dpkg -l systemd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================-================-================-==================================================
ii systemd 237-3ubuntu10.31 amd64 system and service manager
root@bb-lp1670291:~# systemctl mask systemd-logind.service
Created symlink /etc/systemd/system/systemd-logind.service → /dev/null.
root@bb-lp1670291:~# systemctl stop systemd-logind.service
root@bb-lp1670291:~# shutdown +1
Failed to set wall message, ignoring: Unit systemd-logind.service is masked.
Failed to call ScheduleShutdown in logind, proceeding with immediate shutdown: Unit systemd-logind.service is masked.

Session terminated, terminating shell...rbalint@yogi:~$ lxc shell bb-lp1670291
Error: Container is not running
rbalint@yogi:~$ lxc shell bb-lp1670291
Error: Container is not running
rbalint@yogi:~$ lxc start bb-lp1670291
rbalint@yogi:~$ lxc shell bb-lp1670291
mesg: ttyname failed: No such device
root@bb-lp1670291:~# uptime
 12:23:38 up 0 min, 0 users, load average: 3.02, 2.14, 1.86
root@bb-lp1670291:~#

with unfixed reference version:
rbalint@yogi:~$ lxc shell bb-lp1670291-ref
mesg: ttyname failed: No such device
root@bb-lp1670291-ref:~# systemctl mask systemd-logind.service
Created symlink /etc/systemd/system/systemd-logind.service → /dev/null.
root@bb-lp1670291-ref:~# systemctl stop systemd-logind.service
root@bb-lp1670291-ref:~# shutdown +1
Failed to set wall message, ignoring: Unit systemd-logind.service is masked.
Failed to call ScheduleShutdown in logind, proceeding with immediate shutdown: Unit systemd-logind.service is masked.
root@bb-lp1670291-ref:~# dpkg -l systemd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-================-================-===================================================
ii systemd 237-3ubuntu10.29 amd64 system and service manager
root@bb-lp1670291-ref:~# uptime
 12:23:49 up 6 min, 0 users, load average: 2.70, 2.10, 1.85
root@bb-lp1670291-ref:~#