Bug 1385403 - systemd.unit=emergency.target hangs forever, preventing recovery
Summary: systemd.unit=emergency.target hangs forever, preventing recovery
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-16 21:19 UTC by Rudd-O DragonFear
Modified: 2017-12-12 10:55 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:55:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rudd-O DragonFear 2016-10-16 21:19:42 UTC
Description of problem:

I was expecting to get a shell upon boot on my F25 system, but instead (with systemd log debug) I get this:

[...snip...]
[  103.031563] audit: type=1403 audit(1476652561.549:59): policy loaded auid=4294967295 ses=4294967295
[  103.078905] systemd[1]: Successfully loaded SELinux policy in 2.254994s.
[  103.595654] systemd[1]: Relabelled /dev and /run in 243.748ms.
systemd 231 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
Virtualization Bochs found in DMI (/sys/class/dmi/id/product_name)
Found VM virtualization bochs
Detected virtualization bochs.
Detected architecture x86-64.

Welcome to Fedora 25 (Twenty Five)!

Set hostname to <seed.dragonfear>.
Using cgroup controller name=systemd. File system hierarchy is at /sys/fs/cgroup/systemd.
Release agent already installed.
Controller 'cpu' supported: yes
Controller 'cpuacct' supported: yes
Controller 'io' supported: no
Controller 'blkio' supported: yes
Controller 'memory' supported: yes
Controller 'devices' supported: yes
Controller 'pids' supported: yes
Set up TFD_TIMER_CANCEL_ON_SET timerfd.
Enabling showing of status.
Spawned /usr/lib/systemd/system-generators/selinux-autorelabel-generator.sh as 625.
Spawned /usr/lib/systemd/system-generators/systemd-system-update-generator as 626.
Spawned /usr/lib/systemd/system-generators/systemd-rc-local-generator as 627.
Spawned /usr/lib/systemd/system-generators/systemd-fstab-generator as 628.
Spawned /usr/lib/systemd/system-generators/systemd-debug-generator as 629.
Spawned /usr/lib/systemd/system-generators/systemd-getty-generator as 630.
Spawned /usr/lib/systemd/system-generators/systemd-sysv-generator as 631.
Spawned /usr/lib/systemd/system-generators/systemd-cryptsetup-generator as 632.
Spawned /usr/lib/systemd/system-generators/systemd-gpt-auto-generator as 633.
Spawned /usr/lib/systemd/system-generators/systemd-hibernate-resume-generator as 634.
/usr/lib/systemd/system-generators/systemd-debug-generator succeeded.
/usr/lib/systemd/system-generators/systemd-cryptsetup-generator succeeded.
/usr/lib/systemd/system-generators/systemd-hibernate-resume-generator succeeded.
/usr/lib/systemd/system-generators/systemd-system-update-generator succeeded.
/usr/lib/systemd/system-generators/systemd-rc-local-generator succeeded.
/usr/lib/systemd/system-generators/systemd-gpt-auto-generator succeeded.
/usr/lib/systemd/system-generators/systemd-getty-generator succeeded.
/usr/lib/systemd/system-generators/systemd-sysv-generator succeeded.
/usr/lib/systemd/system-generators/selinux-autorelabel-generator.sh succeeded.
/usr/lib/systemd/system-generators/systemd-fstab-generator succeeded.
system-generators succeeded.
Looking for unit files in (higher priority first):
	/run/systemd/transient
	/etc/systemd/system
	/run/systemd/system
	/run/systemd/generator
	/usr/lib/systemd/system
	/run/systemd/generator.late
Unit type .busname is not supported on this system.
run-systemd-journal-socket.mount: Failed to load configuration: No such file or directory
run.mount: Failed to load configuration: No such file or directory
run-systemd.mount: Failed to load configuration: No such file or directory
run-systemd-journal.mount: Failed to load configuration: No such file or directory
run-systemd-journal-stdout.mount: Failed to load configuration: No such file or directory
run-udev.mount: Failed to load configuration: No such file or directory
run-udev-control.mount: Failed to load configuration: No such file or directory
dev.mount: Failed to load configuration: No such file or directory
sys.mount: Failed to load configuration: No such file or directory
sys-kernel.mount: Failed to load configuration: No such file or directory
proc.mount: Failed to load configuration: No such file or directory
proc-sys.mount: Failed to load configuration: No such file or directory
proc-sys-fs.mount: Failed to load configuration: No such file or directory
var.mount: Failed to load configuration: No such file or directory
var-log.mount: Failed to load configuration: No such file or directory
var-log-wtmp.mount: Failed to load configuration: No such file or directory
auditd.service: Failed to load configuration: No such file or directory
sys-fs.mount: Failed to load configuration: No such file or directory
sys-fs-fuse.mount: Failed to load configuration: No such file or directory
var-log-journal.mount: Failed to load configuration: No such file or directory
var-tmp.mount: Failed to load configuration: No such file or directory
fedora-autorelabel-mark.service: Failed to load configuration: No such file or directory
fedora-autorelabel.service: Failed to load configuration: No such file or directory
run-systemd-ask\x2dpassword.mount: Failed to load configuration: No such file or directory
plymouth-start.service: Failed to load configuration: No such file or directory
dev-zvol.mount: Failed to load configuration: No such file or directory
dev-zvol-seed_staging_25_source.mount: Failed to load configuration: No such file or directory
dev-zvol-seed_staging_25_source-swap.mount: Failed to load configuration: No such file or directory
run-systemd-journal-syslog.mount: Failed to load configuration: No such file or directory
syslog.service: Failed to load configuration: No such file or directory
run-systemd-journal-dev\x2dlog.mount: Failed to load configuration: No such file or directory
run-systemd-initctl.mount: Failed to load configuration: No such file or directory
run-systemd-initctl-fifo.mount: Failed to load configuration: No such file or directory
run-dbus.mount: Failed to load configuration: No such file or directory
run-dbus-system_bus_socket.mount: Failed to load configuration: No such file or directory
run-systemd-coredump.mount: Failed to load configuration: No such file or directory
var-lib.mount: Failed to load configuration: No such file or directory
var-lib-systemd.mount: Failed to load configuration: No such file or directory
var-lib-systemd-random\x2dseed.mount: Failed to load configuration: No such file or directory
root.mount: Failed to load configuration: No such file or directory
dev-disk.mount: Failed to load configuration: No such file or directory
dev-disk-by\x2duuid.mount: Failed to load configuration: No such file or directory
dev-disk-by\x2duuid-995ec386\x2dacbf\x2d470d\x2d8e9e\x2d7b7a97e6e4aa.mount: Failed to load configuration: No such file or directory
Deserializing state...
sysroot.mount: Failed to load configuration: No such file or directory
Failed to connect to system bus, retrying later...
Failed to connect to API bus, retrying later...
Successfully created private D-Bus server.
sysroot.mount: Changed dead -> mounted
initrd-fs.target changed dead -> active
initrd-switch-root.service: Changed dead -> start
system-systemd\x2dcryptsetup.slice changed dead -> active
-.mount: Changed dead -> mounted
sys-kernel-config.mount: Changed dead -> mounted
systemd-journald-dev-log.socket: Changed dead -> running
systemd-journald.socket: Changed dead -> running
init.scope changed dead -> running
systemd-journald.service: Changed dead -> running
-.slice changed dead -> active
systemd-cryptsetup@luks\x2d92594f3c\x2daf52\x2d4cd7\x2d8af7\x2dbade7639bdde.service: Changed dead -> exited
systemd-journald-audit.socket: Changed dead -> running
initrd-switch-root.target changed dead -> active
system.slice changed dead -> active
initrd-root-fs.target changed dead -> active
Closing left-over fd 31
Activating default unit: emergency.target
emergency.target: Trying to enqueue job emergency.target/start/isolate
initrd-root-fs.target: Installed new job initrd-root-fs.target/stop as 158
initrd-switch-root.service: Installed new job initrd-switch-root.service/stop as 153
systemd-journald.service: Installed new job systemd-journald.service/stop as 155
systemd-journald-audit.socket: Installed new job systemd-journald-audit.socket/stop as 157
emergency.target: Installed new job emergency.target/start as 135
initrd-fs.target: Installed new job initrd-fs.target/stop as 152
emergency.service: Installed new job emergency.service/start as 136
initrd-switch-root.target: Installed new job initrd-switch-root.target/stop as 154
emergency.target: Enqueued job emergency.target/start as 135
Loaded units and determined initial transaction in 2.3s.
Child 143 (systemd-journal) died (code=exited, status=0/SUCCESS)
systemd-journald.service: Child 143 belongs to systemd-journald.service
systemd-journald.service: Main process exited, code=exited, status=0/SUCCESS
systemd-journald.service: Changed running -> dead
systemd-journald.service: Job systemd-journald.service/stop finished, result=done
[  OK  ] Stopped Journal Service.
systemd-journald.socket: Changed running -> listening
systemd-journald-audit.socket: Changed running -> listening
systemd-journald-dev-log.socket: Changed running -> listening
[  106.214723] audit: type=1130 audit(1476652564.731:60): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  106.223581] audit: type=1131 audit(1476652564.742:61): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
systemd-journald.service: Changed dead -> auto-restart
systemd-journald.service: cgroup is empty
Child 621 (systemctl) died (code=exited, status=0/SUCCESS)
initrd-switch-root.service: Child 621 belongs to initrd-switch-root.service
initrd-switch-root.service: Main process exited, code=exited, status=0/SUCCESS
initrd-switch-root.service: Changed start -> dead
initrd-switch-root.service: Job initrd-switch-root.service/stop finished, result=done
[  OK  ] Stopped Switch Root.
[  106.254558] audit: type=1130 audit(1476652564.773:62): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=initrd-switch-root comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  106.255693] audit: type=1131 audit(1476652564.774:63): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=initrd-switch-root comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
initrd-switch-root.service: cgroup is empty
dev-disk-by\x2dpath-pci\x2d0000:00:01.1\x2data\x2d1\x2dpart2.device: Collecting.
dev-ttyS17.device: Collecting.
dev-ttyS19.device: Collecting.
dev-ttyS30.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS25.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS2.device: Collecting.
dev-ttyS8.device: Collecting.
dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2d92594f3caf524cd78af7bade7639bdde\x2dluks\x2d92594f3c\x2daf52\x2d4cd7\x2d8af7\x2dbade7639bdde.device: Collecting.
dev-ttyS10.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS10.device: Collecting.
sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:1-0:0:1:0-block-sda-sda2.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS19.device: Collecting.
dev-ttyS23.device: Collecting.
dev-ttyS22.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS3.device: Collecting.
dev-ttyS31.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS6.device: Collecting.
dev-disk-by\x2dpath-pci\x2d0000:00:01.1\x2data\x2d1\x2dpart1.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS21.device: Collecting.
dev-disk-by\x2dpath-pci\x2d0000:00:01.1\x2data\x2d1.device: Collecting.
dev-ttyS26.device: Collecting.
dev-disk-by\x2did-dm\x2dname\x2dluks\x2d92594f3c\x2daf52\x2d4cd7\x2d8af7\x2dbade7639bdde.device: Collecting.
dev-ttyS11.device: Collecting.
dev-ttyS12.device: Collecting.
dev-ttyS9.device: Collecting.
dev-ttyS2.device: Collecting.
dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00002\x2dpart1.device: Collecting.
dev-ttyS24.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS31.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS14.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS16.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS26.device: Collecting.
dev-sda.device: Collecting.
dev-sda2.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS27.device: Collecting.
dev-ttyS3.device: Collecting.
sys-devices-virtual-block-zd0.device: Collecting.
dev-ttyS20.device: Collecting.
dev-ttyS21.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS24.device: Collecting.
sys-module-configfs.device: Collecting.
dev-ttyS27.device: Collecting.
dev-ttyS15.device: Collecting.
sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:1-0:0:1:0-block-sda.device: Collecting.
dev-ttyS7.device: Collecting.
dev-disk-by\x2dpartuuid-43d296c2\x2d02.device: Collecting.
dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00002.device: Collecting.
dev-ttyS6.device: Collecting.
zfs-import-scan.service: Collecting.
dev-ttyS16.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS12.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS17.device: Collecting.
dev-dm\x2d0.device: Collecting.
dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00002\x2dpart2.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS8.device: Collecting.
dev-ttyS0.device: Collecting.
sys-devices-pnp0-00:05-tty-ttyS0.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS15.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS4.device: Collecting.
dev-ttyS1.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS13.device: Collecting.
dev-seed_staging_25_source-swap.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS20.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS11.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS22.device: Collecting.
dev-ttyS5.device: Collecting.
dev-ttyS25.device: Collecting.
dev-disk-by\x2dlabel-boot_seed_stagin.device: Collecting.
dev-ttyS4.device: Collecting.
dev-zd0.device: Collecting.
dev-ttyS28.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS18.device: Collecting.
dev-disk-by\x2duuid-1563135430150031961.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS1.device: Collecting.
dev-sda1.device: Collecting.
dev-ttyS29.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS5.device: Collecting.
dev-ttyS18.device: Collecting.
dev-ttyS14.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS23.device: Collecting.
systemd-udev-settle.service: Collecting.
zfs-import-cache.service: Collecting.
sys-devices-platform-serial8250-tty-ttyS7.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS9.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS28.device: Collecting.
sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:1-0:0:1:0-block-sda-sda1.device: Collecting.
dev-disk-by\x2dpartuuid-43d296c2\x2d01.device: Collecting.
dracut-pre-mount.service: Collecting.
dracut-initqueue.service: Collecting.
dracut-mount.service: Collecting.
sys-devices-platform-serial8250-tty-ttyS29.device: Collecting.
dev-ttyS13.device: Collecting.
dev-disk-by\x2dlabel-seed_staging_25_source.device: Collecting.
sys-devices-virtual-block-dm\x2d0.device: Collecting.
sys-devices-platform-serial8250-tty-ttyS30.device: Collecting.
dev-disk.mount: Collecting.
dev-disk-by\x2duuid.mount: Collecting.
dev-disk-by\x2duuid-995ec386\x2dacbf\x2d470d\x2d8e9e\x2d7b7a97e6e4aa.mount: Collecting.
root.mount: Collecting.
var-lib.mount: Collecting.
var-lib-systemd.mount: Collecting.
var-lib-systemd-random\x2dseed.mount: Collecting.
run-systemd-coredump.mount: Collecting.
run-dbus.mount: Collecting.
run-dbus-system_bus_socket.mount: Collecting.
run-systemd-initctl.mount: Collecting.
run-systemd-initctl-fifo.mount: Collecting.
run-systemd-journal-dev\x2dlog.mount: Collecting.
run-systemd-journal-syslog.mount: Collecting.
dev-zvol.mount: Collecting.
dev-zvol-seed_staging_25_source.mount: Collecting.
dev-zvol-seed_staging_25_source-swap.mount: Collecting.
run-systemd-ask\x2dpassword.mount: Collecting.
var-tmp.mount: Collecting.
var-log-journal.mount: Collecting.
sys-fs.mount: Collecting.
sys-fs-fuse.mount: Collecting.
var.mount: Collecting.
var-log.mount: Collecting.
var-log-wtmp.mount: Collecting.
proc.mount: Collecting.
proc-sys.mount: Collecting.
proc-sys-fs.mount: Collecting.
sys.mount: Collecting.
sys-kernel.mount: Collecting.
dev.mount: Collecting.
run-udev.mount: Collecting.
run-udev-control.mount: Collecting.
run-systemd-journal-socket.mount: Collecting.
run.mount: Collecting.
run-systemd.mount: Collecting.
run-systemd-journal.mount: Collecting.
run-systemd-journal-stdout.mount: Collecting.
Received SIGCHLD from PID 624 (n/a).
Got cgroup empty notification for: /system.slice/systemd-journald.service
Got cgroup empty notification for: /system.slice
systemd-journald.service: Service has no hold-off time, scheduling restart.
systemd-journald.service: Trying to enqueue job systemd-journald.service/restart/fail
systemd-journald-audit.socket: systemd-journald-audit.socket/start would change existing job.
systemd-journald-audit.socket: Deleting systemd-journald-audit.socket/start to minimize impact.
systemd-journald.service: Installed new job systemd-journald.service/restart as 160
systemd-journald.service: Enqueued job systemd-journald.service/restart as 160
systemd-journald.service: Scheduled restart job.
systemd-journald-audit.socket: Incoming traffic
systemd-journald-audit.socket: Suppressing connection request since unit stop is scheduled.
systemd-journald-audit.socket: Incoming traffic
systemd-journald-audit.socket: Suppressing connection request since unit stop is scheduled.
systemd-journald-audit.socket: Incoming traffic
systemd-journald-audit.socket: Suppressing connection request since unit stop is scheduled.
systemd-journald-audit.socket: Incoming traffic
systemd-journald-audit.socket: Suppressing connection request since unit stop is scheduled.
systemd-journald-audit.socket: Incoming traffic
systemd-journald-audit.socket: Suppressing connection request since unit stop is scheduled.
systemd-journald-audit.socket: Incoming traffic
systemd-journald-audit.socket: Suppressing connection request since unit stop is scheduled.
[...same thing FOREVER...]

Comment 1 Fedora End Of Life 2017-11-16 19:05:53 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2017-12-12 10:55:40 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.