Package: cgroupsfs-mount
Version: 1.3

Upon installing "stretch" over a "jessie" system and rebooting, the boot
halts with the message:
----------------------------------------
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
try again to boot into default mode.

Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.
----------------------------------------
then something like "Enter to continue".  But hitting "Enter" just redisplays
the message.

With some hints from the travails of the Raspbian crowd, I found that the
message emanates from /lib/systemd/system/emergency.service, and the latter
part can be worked around temporarily by adding "--force" to "sulogin".  That
permits me to log in, where journalctl shows errors (that I didn't write
down) related to "cgroup".

Raspbian users also were foiled by invalid entries in /etc/fstab.  I found
this old entry:
----------------------------------------
none /cgroup group defaults 0 0
----------------------------------------
Commenting that out allowed the boot to complete.

I notice now some /var/log/syslog entries like:
----------------------------------------
systemd[1]: Cannot create mount unit for API file system /cgroup. Refusing.
----------------------------------------
which started before the failed reboot, and after I started installing
"stretch".

This system was originally loaded with "squeeze" or earlier.  That line was
a leftover from long ago; /etc/fstab's mtime was Dec. 2010.  I know it's
fashionable these days to blow away systems completely rather than upgrade.
:shrug:


I'm guessing here at the appropriate package/version; I imagine that the
package that installed this entry no longer exists.

Reply via email to