Bug#813879: systemd: Assertion 's->exec_command[SERVICE_EXEC_START]' failed service_enter_start()

Sebastien Koechlin seb.debianpkg at koocotte.org
Sat Feb 6 09:56:40 GMT 2016


Package: systemd
Version: 215-17+deb8u3
Severity: important

Dear Maintainer,

systemd crash badly while removing systemd-cron and installing cron. It does
not respond anymore and reboot is not working.

Installing systemd-cron

Feb 05 20:45:48 debir systemd[1]: Reloading.
Feb 05 20:45:49 debir systemd[1]: Reloading.
Feb 05 20:45:49 debir systemd[1]: Starting [Cron] "0 * * * * root if [ -x /usr/sbin/backupninja ]; then /usr/sbin/backupninja; fi".
Feb 05 20:45:49 debir systemd[1]: Started [Cron] "0 * * * * root if [ -x /usr/sbin/backupninja ]; then /usr/sbin/backupninja; fi".
Feb 05 20:45:49 debir systemd[1]: Starting [Cron] "14 04 * * * root /usr/local/sbin/skcbackup 4".
Feb 05 20:45:49 debir systemd[1]: Started [Cron] "14 04 * * * root /usr/local/sbin/skcbackup 4".
Feb 05 20:45:49 debir systemd[1]: Starting systemd-cron path monitor.
Feb 05 20:45:49 debir systemd[1]: Started systemd-cron path monitor.
Feb 05 20:45:49 debir systemd[1]: Starting systemd-cron monthly timer.
Feb 05 20:45:49 debir systemd[1]: Started systemd-cron monthly timer.
Feb 05 20:45:49 debir systemd[1]: Starting systemd-cron weekly timer.
Feb 05 20:45:49 debir systemd[1]: Started systemd-cron weekly timer.
Feb 05 20:45:49 debir systemd[1]: Starting systemd-cron daily timer.
Feb 05 20:45:49 debir systemd[1]: Started systemd-cron daily timer.
Feb 05 20:45:49 debir systemd[1]: Starting systemd-cron hourly timer.
Feb 05 20:45:49 debir systemd[1]: Started systemd-cron hourly timer.
Feb 05 20:45:49 debir systemd[1]: Starting systemd-cron.
Feb 05 20:45:49 debir systemd[1]: Reached target systemd-cron.

Removing systemd-cron, installing cron

Feb 05 20:51:02 debir systemd[1]: Stopping systemd-cron.
Feb 05 20:51:02 debir systemd[1]: Stopped target systemd-cron.
Feb 05 20:51:02 debir systemd[1]: Stopping systemd-cron hourly timer.
Feb 05 20:51:02 debir systemd[1]: Stopped systemd-cron hourly timer.
Feb 05 20:51:02 debir systemd[1]: Stopping systemd-cron daily timer.
Feb 05 20:51:02 debir systemd[1]: Stopped systemd-cron daily timer.
Feb 05 20:51:02 debir systemd[1]: Stopping systemd-cron weekly timer.
Feb 05 20:51:02 debir systemd[1]: Stopped systemd-cron weekly timer.
Feb 05 20:51:02 debir systemd[1]: Stopping systemd-cron monthly timer.
Feb 05 20:51:02 debir systemd[1]: Stopped systemd-cron monthly timer.
Feb 05 20:51:02 debir systemd[1]: Stopping [Cron] "14 04 * * * root /usr/local/sbin/skcbackup 4".
Feb 05 20:51:02 debir systemd[1]: Stopped [Cron] "14 04 * * * root /usr/local/sbin/skcbackup 4".
Feb 05 20:51:03 debir systemd[1]: Starting systemd-cron update units...
Feb 05 20:51:03 debir systemd[1]: Reloading.
Feb 05 20:51:03 debir systemd[1]: Assertion 's->exec_command[SERVICE_EXEC_START]' failed at ../src/core/service.c:1312, function service_enter_start(). Aborting.
Feb 05 20:51:03 debir systemd[1]: Caught <ABRT>, dumped core as pid 30693.
Feb 05 20:51:03 debir systemd[1]: Freezing execution.
Feb 05 20:51:29 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:51:54 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:52:20 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:52:45 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:53:10 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:53:35 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:54:07 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:54:40 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:55:05 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:55:30 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:55:55 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:56:20 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:56:45 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:57:10 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:57:12 debir groupadd[31574]: group added to /etc/group: name=crontab, GID=114
Feb 05 20:57:12 debir groupadd[31574]: group added to /etc/gshadow: name=crontab
Feb 05 20:57:13 debir groupadd[31574]: new group: name=crontab, GID=114
Feb 05 20:57:38 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:58:04 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:58:29 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:58:54 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:59:19 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Feb 05 20:59:44 debir dbus[229]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out

Installation failed:

root at debir:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up cron (3.0pl1-127+deb8u1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to execute operation: Activation of org.freedesktop.systemd1 timed out
Failed to execute operation: Activation of org.freedesktop.systemd1 timed out
Failed to start cron.service: Activation of org.freedesktop.systemd1 timed out
invoke-rc.d: initscript cron, action "start" failed.
dpkg: error processing package cron (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apticron:
 apticron depends on cron | cron-daemon; however:
  Package cron is not configured yet.
  Package cron-daemon is not installed.
  Package cron which provides cron-daemon is not configured yet.

dpkg: error processing package apticron (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 cron
 apticron
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at debir:~#

Can not reboot the system anymore:

root at debir:~# reboot
Failed to start reboot.target: Connection timed out
Failed to open initctl FIFO: No such device or address
Failed to talk to init daemon.
root at debir:~#

root at debir:~# systemd-analyze dump
Failed issue method call: Activation of org.freedesktop.systemd1 timed out
root at debir:~# systemd-delta
0 overridden configuration files found.



-- Package-specific info:

-- System Information:
Debian Release: 8.3
  APT prefers stable
  APT policy: (700, 'stable'), (10, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  acl             2.2.52-2
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-59
ii  libacl1         2.2.52-2
ii  libaudit1       1:2.4-1+b1
ii  libblkid1       2.25.2-6
ii  libc6           2.19-18+deb8u2
ii  libcap2         1:2.24-8
ii  libcap2-bin     1:2.24-8
ii  libcryptsetup4  2:1.6.6-5
ii  libgcrypt20     1.6.3-2
ii  libkmod2        18-3
ii  liblzma5        5.1.1alpha+20120614-2+b3
ii  libpam0g        1.1.8-3.1+deb8u1
ii  libselinux1     2.3-2
ii  libsystemd0     215-17+deb8u3
ii  mount           2.25.2-6
ii  sysv-rc         2.88dsf-59
ii  udev            215-17+deb8u3
ii  util-linux      2.25.2-6

Versions of packages systemd recommends:
ii  dbus            1.8.20-0+deb8u1
pn  libpam-systemd  <none>

Versions of packages systemd suggests:
pn  systemd-ui  <none>

-- no debconf information
-------------- next part --------------
0 overridden configuration files found.
-------------- next part --------------
==> /var/lib/systemd/deb-systemd-helper-enabled/puppet.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/puppet.service

==> /var/lib/systemd/deb-systemd-helper-enabled/sshd.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/ssh.service
/etc/systemd/system/sshd.service

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/cron.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ssh.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/puppetmaster.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/puppet.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/puppetmaster.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/puppetmaster.service

==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/ssh.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/cron.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/cron.service
-------------- next part --------------
# HEADER: This file was autogenerated at 2015-12-04 15:44:46 +0100
# HEADER: by puppet.  While it can still be managed manually, it
# HEADER: is definitely not recommended.
# <file system>                         <mount point>           <type>  <options>       <dump>  <pass>
proc	/proc	proc	nodev,noexec,nosuid	0	0
/dev/xvda	/	ext4	errors=remount-ro	0	1
ramoth.intra.lagerbe.org:/nfs/share	/usr/local	nfs	noatime	0	0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: core.bz2
Type: application/x-bzip2
Size: 188035 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160206/9f63c782/attachment-0001.bin>


More information about the Pkg-systemd-maintainers mailing list