[systemd-devel] systemd v228 errors: "Failed to enqueue exit.target job: Transaction contains conflicting jobs 'start' and 'stop'" ?
PGNet Dev
pgnet.dev at gmail.com
Fri Mar 11 01:53:58 UTC 2016
I'm booting a
systemctl --version
systemd 228
+PAM +AUDIT +SELINUX -IMA +APPARMOR -SMACK +SYSVINIT +UTMP
+LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS
+KMOD -IDN
OS instance. Atm, it's a Xen DomU vm guest.
It's a DIY-build instance of current systemd for a stable distro
release; @ distro has no apparent interest in supporting it. Despite
that, I'm trying to get it working and cleaned up for my own use.
On boot, I see these in logs
dmesg
...
[ 374.429270] systemd[1617]: Failed to enqueue exit.target job:
Transaction contains conflicting jobs 'start' and 'stop' for
shutdown.target. Probably contradicting requirement dependencies configured.
[ 698.686714] systemd[1834]: Failed to enqueue exit.target job:
Transaction contains conflicting jobs 'stop' and 'start' for
exit.target. Probably contradicting requirement dependencies configured.
[ 698.729596] systemd[1848]: Failed to enqueue exit.target job:
Transaction contains conflicting jobs 'stop' and 'start' for
systemd-exit.service. Probably contradicting requirement dependencies
configured.
[ 698.767659] systemd[1861]: Failed to enqueue exit.target job:
Transaction contains conflicting jobs 'stop' and 'start' for
shutdown.target. Probably contradicting requirement dependencies configured.
[ 698.801234] systemd[1871]: Failed to enqueue exit.target job:
Transaction contains conflicting jobs 'stop' and 'start' for
systemd-exit.service. Probably contradicting requirement dependencies
configured.
[ 698.843302] systemd[1884]: Failed to enqueue exit.target job:
Transaction contains conflicting jobs 'stop' and 'start' for
systemd-exit.service. Probably contradicting requirement dependencies
configured.
...
Currently,
locate exit.target shutdown.target systemd-exit.service
/usr/lib/systemd/system/shutdown.target
/usr/lib/systemd/system/shutdown.target.wants
/usr/lib/systemd/system/shutdown.target.wants/dracut-shutdown.service
/usr/lib/systemd/user/exit.target
/usr/lib/systemd/user/shutdown.target
/usr/lib/systemd/user/systemd-exit.service
rpm -q --whatprovides $( locate exit.target shutdown.target
systemd-exit.service )
systemd-228-18.1.x86_64
systemd-228-18.1.x86_64
dracut-037-68.1.x86_64
systemd-228-18.1.x86_64
systemd-228-18.1.x86_64
systemd-228-18.1.x86_64
Where
cat /usr/lib/systemd/user/exit.target
[Unit]
Description=Exit the Session
Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=systemd-exit.service
After=systemd-exit.service
AllowIsolate=yes
cat /usr/lib/systemd/system/shutdown.target
[Unit]
Description=Shutdown
Documentation=man:systemd.special(7)
DefaultDependencies=no
RefuseManualStart=yes
cat /usr/lib/systemd/system/shutdown.target.wants/dracut-shutdown.service
[Unit]
Description=Restore /run/initramfs
Documentation=man:dracut-shutdown.service(8)
After=getty at tty1.service display-manager.service
Before=systemd-reboot.service shutdown.target
DefaultDependencies=no
ConditionPathExists=/run/initramfs/.need_shutdown
ConditionPathExists=!/run/initramfs/bin/sh
[Service]
ExecStart=-/usr/lib/dracut/dracut-initramfs-restore
Type=oneshot
RemainAfterExit=yes
cat /usr/lib/systemd/user/shutdown.target
[Unit]
Description=Shutdown
Documentation=man:systemd.special(7)
DefaultDependencies=no
RefuseManualStart=yes
cat /usr/lib/systemd/user/systemd-exit.service
[Unit]
Description=Exit the Session
Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target multi-user.target
[Service]
Type=oneshot
WorkingDirectory=/
ExecStart=/usr/bin/kill -s SIGRTMIN+24 $MANAGERPID
The deps are a bit convoluted at 1st look.
What in that config's causing the
Transaction contains conflicting jobs 'start' and 'stop'
fails?
More information about the systemd-devel
mailing list