Description of problem: systemd boot failure after update from systemd-7.3 to systemd-8.1 System boot hangs at this point: dracut: switching root Failed to mount /sys/fs/cgroup No such file or directory Version-Release number of selected component (if applicable): systemd-8.1 Additional info: Downgrading and reinstalling systemd-7.3 or adding the kernel parameter init=/sbin/upstart resolves the problem. fedora14:~# ls /etc/systemd/system -al Contents of /etc/systemd/system drwxr-xr-x. 8 root root 4096 Aug 26 23:14 . drwxr-xr-x. 4 root root 4096 Aug 26 23:14 .. lrwxrwxrwx 1 root root 33 Aug 26 23:14 ctrl-alt-del.target -> /lib/systemd/system/reboot.target lrwxrwxrwx 1 root root 42 Aug 21 15:41 dbus-org.freedesktop.NetworkManager.service -> /lib/systemd/system/NetworkManager.service lrwxrwxrwx 1 root root 36 Aug 26 22:47 default.target -> /lib/systemd/system/graphical.target lrwxrwxrwx 1 root root 34 Aug 26 23:14 display-manager.service -> /lib/systemd/system/prefdm.service drwxr-xr-x. 2 root root 4096 Aug 15 22:05 getty.target.wants drwxr-xr-x. 2 root root 4096 Aug 15 23:05 graphical.target.wants lrwxrwxrwx 1 root root 33 Aug 26 23:14 kbrequest.target -> /lib/systemd/system/rescue.target drwxr-xr-x. 2 root root 4096 Aug 24 15:50 multi-user.target.wants drwxr-xr-x 2 root root 4096 Aug 21 15:41 network.target.wants drwxr-xr-x. 2 root root 4096 Aug 15 22:05 shutdown.target.wants drwxr-xr-x. 2 root root 4096 Aug 15 22:05 sockets.target.wants Contents of /lib/systemd/system: fedora14:~# ls /lib/systemd/system -al total 436 drwxr-xr-x. 16 root root 4096 Aug 26 23:14 . drwxr-xr-x. 3 root root 4096 Aug 26 23:14 .. -rw-r--r-- 1 root root 188 Aug 20 23:27 abrtd.service -rw-r--r--. 1 root root 545 Aug 12 00:56 acpid.service -rw-r--r--. 1 root root 1023 Jul 23 11:45 avahi-daemon.service -rw-r--r--. 1 root root 874 Jul 23 11:45 avahi-daemon.socket -rw-r--r-- 1 root root 506 Aug 26 06:21 basic.target -rw-r--r-- 1 root root 371 Aug 26 06:21 bluetooth.target -rw-r--r--. 1 root root 408 Aug 4 10:39 dbus.service -rw-r--r--. 1 root root 89 Aug 4 10:39 dbus.socket -rw-r--r-- 1 root root 346 Aug 26 06:21 dbus.target drwxr-xr-x. 2 root root 4096 Aug 15 22:05 dbus.target.wants -rw-r--r-- 1 root root 398 Aug 26 06:21 dev-hugepages.automount -rw-r--r-- 1 root root 408 Aug 26 06:21 dev-hugepages.mount -rw-r--r-- 1 root root 404 Aug 26 06:21 dev-mqueue.automount -rw-r--r-- 1 root root 408 Aug 26 06:21 dev-mqueue.mount -rw-r--r-- 1 root root 755 Aug 26 06:21 emergency.service -rw-r--r-- 1 root root 406 Aug 26 06:21 emergency.target -rw-r--r--. 1 root root 337 Aug 11 07:10 firstboot-graphical.service -rw-r--r--. 1 root root 304 Aug 11 11:40 firstboot-text.service lrwxrwxrwx 1 root root 14 Aug 26 23:14 fsck.target -> sysinit.target -rw-r--r-- 1 root root 1121 Aug 26 06:21 getty@.service -rw-r--r-- 1 root root 354 Aug 26 06:21 getty.target -rw-r--r-- 1 root root 375 Aug 19 23:33 gpm.service -rw-r--r-- 1 root root 549 Aug 26 06:21 graphical.target -rw-r--r-- 1 root root 571 Aug 26 06:21 halt.service -rw-r--r-- 1 root root 423 Aug 26 06:21 halt.target drwxr-xr-x 2 root root 4096 Aug 26 23:14 halt.target.wants -rw-r--r-- 1 root root 1053 Aug 26 06:21 hwclock-load.service -rw-r--r-- 1 root root 516 Aug 26 06:21 hwclock-save.service -rw-r--r-- 1 root root 488 Aug 26 06:21 killall.service -rw-r--r-- 1 root root 359 Aug 26 06:21 local-fs.target lrwxrwxrwx 1 root root 16 Aug 26 23:14 local.service -> rc-local.service -rw-r--r-- 1 root root 360 Aug 26 06:21 mail-transfer-agent.target lrwxrwxrwx. 1 root root 12 Aug 15 22:05 messagebus.service -> dbus.service -rw-r--r-- 1 root root 536 Aug 26 06:21 multi-user.target drwxr-xr-x 2 root root 4096 Aug 26 23:14 multi-user.target.wants -rw-r--r-- 1 root root 146 Aug 22 23:37 mysql.service -rw-r--r-- 1 root root 265 Aug 19 08:29 NetworkManager.service -rw-r--r-- 1 root root 348 Aug 26 06:21 network.target -rw-r--r-- 1 root root 395 Aug 26 06:21 nss-lookup.target -rw-r--r-- 1 root root 187 Aug 23 23:25 ntpdate.service -rw-r--r-- 1 root root 209 Aug 23 23:25 ntpd.service -rw-r--r-- 1 root root 676 Aug 26 06:21 plymouth-halt.service -rw-r--r-- 1 root root 694 Aug 26 06:21 plymouth-poweroff.service -rw-r--r-- 1 root root 455 Aug 26 06:21 plymouth-quit.service -rw-r--r-- 1 root root 684 Aug 26 06:21 plymouth-reboot.service -rw-r--r-- 1 root root 561 Aug 26 06:21 poweroff.service -rw-r--r-- 1 root root 459 Aug 26 06:21 poweroff.target drwxr-xr-x 2 root root 4096 Aug 26 23:14 poweroff.target.wants -rw-r--r-- 1 root root 663 Aug 26 06:21 prefdm.service -rw-r--r-- 1 root root 369 Aug 26 06:21 printer.target -rw-r--r-- 1 root root 431 Aug 26 06:21 proc-sys-fs-binfmt_misc.automount -rw-r--r-- 1 root root 445 Aug 26 06:21 proc-sys-fs-binfmt_misc.mount -rw-r--r-- 1 root root 639 Aug 26 06:21 rc-local.service -rw-r--r-- 1 root root 560 Aug 26 06:21 reboot.service -rw-r--r-- 1 root root 452 Aug 26 06:21 reboot.target drwxr-xr-x 2 root root 4096 Aug 26 23:14 reboot.target.wants -rw-r--r-- 1 root root 443 Aug 26 06:21 remote-fs.target -rw-r--r-- 1 root root 519 Aug 26 06:21 remount-rootfs.service -rw-r--r-- 1 root root 510 Aug 26 06:21 rescue.target drwxr-xr-x. 2 root root 4096 Aug 26 23:14 rescue.target.wants -rw-r--r-- 1 root root 356 Aug 26 06:21 rpcbind.target -rw-r--r-- 1 root root 348 Aug 26 06:21 rtc-set.target -rw-r--r--. 1 root root 932 Jul 14 04:44 rtkit-daemon.service lrwxrwxrwx 1 root root 15 Aug 26 23:14 runlevel0.target -> poweroff.target lrwxrwxrwx 1 root root 13 Aug 26 23:14 runlevel1.target -> rescue.target drwxr-xr-x 2 root root 4096 Aug 26 23:14 runlevel1.target.wants lrwxrwxrwx 1 root root 17 Aug 26 23:14 runlevel2.target -> multi-user.target drwxr-xr-x 2 root root 4096 Aug 26 23:14 runlevel2.target.wants lrwxrwxrwx 1 root root 17 Aug 26 23:14 runlevel3.target -> multi-user.target drwxr-xr-x 2 root root 4096 Aug 26 23:14 runlevel3.target.wants lrwxrwxrwx 1 root root 17 Aug 26 23:14 runlevel4.target -> multi-user.target drwxr-xr-x 2 root root 4096 Aug 26 23:14 runlevel4.target.wants lrwxrwxrwx 1 root root 16 Aug 26 23:14 runlevel5.target -> graphical.target drwxr-xr-x 2 root root 4096 Aug 26 23:14 runlevel5.target.wants lrwxrwxrwx 1 root root 13 Aug 26 23:14 runlevel6.target -> reboot.target -rw-r--r-- 1 root root 939 Aug 26 06:21 serial-getty@.service -rw-r--r-- 1 root root 399 Aug 26 06:21 shutdown.target drwxr-xr-x 2 root root 4096 Aug 26 23:14 shutdown.target.wants -rw-r--r-- 1 root root 354 Aug 26 06:21 sigpwr.target -rw-r--r-- 1 root root 823 Aug 26 06:21 single.service -rw-r--r-- 1 root root 372 Aug 26 06:21 smartcard.target -rw-r--r-- 1 root root 348 Aug 26 06:21 sockets.target drwxr-xr-x. 2 root root 4096 Aug 26 23:14 sockets.target.wants -rw-r--r-- 1 root root 345 Aug 26 06:21 swap.target -rw-r--r-- 1 root root 525 Aug 26 06:21 sysctl.service -rw-r--r-- 1 root root 537 Aug 26 06:21 sysinit.service -rw-r--r-- 1 root root 535 Aug 26 06:21 sysinit.target drwxr-xr-x. 2 root root 4096 Aug 26 23:14 sysinit.target.wants -rw-r--r-- 1 root root 396 Aug 26 06:21 sys-kernel-debug.automount -rw-r--r-- 1 root root 402 Aug 26 06:21 sys-kernel-debug.mount -rw-r--r-- 1 root root 402 Aug 26 06:21 sys-kernel-security.automount -rw-r--r-- 1 root root 414 Aug 26 06:21 sys-kernel-security.mount -rw-r--r-- 1 root root 620 Aug 26 06:21 syslog.target -rw-r--r-- 1 root root 459 Aug 26 06:21 systemd-auto-serial-getty.service -rw-r--r-- 1 root root 472 Aug 26 06:21 systemd-initctl.service -rw-r--r-- 1 root root 477 Aug 26 06:21 systemd-initctl.socket -rw-r--r-- 1 root root 475 Aug 26 06:21 systemd-kmsg-syslogd.service -rw-r--r-- 1 root root 484 Aug 26 06:21 systemd-kmsg-syslogd.socket -rw-r--r-- 1 root root 451 Aug 26 06:21 systemd-logger.service -rw-r--r-- 1 root root 420 Aug 26 06:21 systemd-logger.socket -rw-r--r-- 1 root root 517 Aug 26 06:21 systemd-modules-load.service -rw-r--r-- 1 root root 520 Aug 26 06:21 systemd-random-seed-load.service -rw-r--r-- 1 root root 561 Aug 26 06:21 systemd-random-seed-save.service -rw-r--r-- 1 root root 532 Aug 26 06:21 systemd-remount-api-vfs.service -rw-r--r-- 1 root root 464 Aug 26 06:21 systemd-shutdownd.service -rw-r--r-- 1 root root 479 Aug 26 06:21 systemd-shutdownd.socket -rw-r--r-- 1 root root 622 Aug 26 06:21 systemd-update-utmp-runlevel.service -rw-r--r-- 1 root root 574 Aug 26 06:21 systemd-update-utmp-shutdown.service -rw-r--r-- 1 root root 441 Aug 26 06:21 tmp.mount -rw-r--r-- 1 root root 295 Aug 17 19:42 udev-retry.service -rw-r--r-- 1 root root 338 Aug 17 19:42 udev.service -rw-r--r-- 1 root root 237 Aug 17 19:42 udev-settle.service -rw-r--r-- 1 root root 414 Aug 26 06:21 umount.target -rw-r--r-- 1 root root 449 Aug 26 06:21 var-lock.mount -rw-r--r-- 1 root root 529 Aug 26 06:21 var-lock.service -rw-r--r-- 1 root root 442 Aug 26 06:21 var-run.mount -rw-r--r-- 1 root root 593 Aug 26 06:21 var-run.service Adding
Which kernel version do you boot?
2.6.35-3 although this has been recompiled with debugging off to get the nvidia 256.44 driver to work
That's why systemd has "Requires: kernel >= 2.6.35.2-9.fc14" - this kernel version added a patch to create /sys/fs/cgroup. If you're using your own built kernel, you'll have to make sure you have that patch applied.
Has 2.6.35.2-9 been built with debugging flags nit set (as fc13) or will that come later? thanks
Fedora kernels on Branched (F-14) are still built with debugging enabled. http://fedoraproject.org/wiki/KernelDebugStrategy
If systemd wants to ensure a correct match with the running kernel, it could have Conflicts: kernel < 2.6.35.2-9.fc14 instead of the Requires.
Have successfully rebuilt the 2.6.35.2-9 kernel with debugging off using systemd 8.1. Thanks for the heads up and quick response.