Bug#761899: systemd: crash (free(): invalid pointer) while disabling a service

Paul Harvey csirac2 at gmail.com
Sun Oct 5 13:26:59 BST 2014


I'm not sure if this is related, but I get a "double free or corruption
(fasttop)" error trying to do systemctl disable as non-root user. This is
on a fresh debian sid VM which reports systemd 215-5+b1, with Docker Inc's
official (non-debian) lxc-docker-1.20 package installed:

systemctl disable docker
Synchronizing state for docker.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d docker defaults
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d
line 203.
update-rc.d: error: insserv rejected the script header
*** Error in `systemctl': double free or corruption (fasttop):
0x00007f98cbd58f60 ***
Aborted

However, running sudo systemctl disable docker does actually work:
sudo systemctl disable docker
Synchronizing state for docker.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d docker defaults
insserv: warning: current start runlevel(s) (empty) of script `docker'
overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script
`docker' overrides LSB defaults (0 1 6).
Executing /usr/sbin/update-rc.d docker disable
insserv: warning: current start runlevel(s) (empty) of script `docker'
overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script
`docker' overrides LSB defaults (0 1 6).

Nonetheless, it'd be nice if it died less horribly than this just because I
accidentally ran systemctl as a non-root user... reportbug info below.

ckage: systemd
Version: 215-5+b1
Severity: important
Tags: upstream



-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages systemd depends on:
ii  acl             2.2.52-2
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-53.4
ii  libacl1         2.2.52-2
ii  libaudit1       1:2.4-1
ii  libblkid1       2.20.1-5.11
ii  libc6           2.19-11
ii  libcap2         1:2.24-6
ii  libcap2-bin     1:2.24-6
ii  libcryptsetup4  2:1.6.6-1
ii  libgcrypt20     1.6.2-4
ii  libkmod2        18-3
ii  liblzma5        5.1.1alpha+20120614-2
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2
ii  libsystemd0     215-5+b1
ii  sysv-rc         2.88dsf-53.4
ii  udev            215-5+b1
ii  util-linux      2.20.1-5.11

Versions of packages systemd recommends:
ii  dbus            1.8.8-1+b1
pn  libpam-systemd  <none>

Versions of packages systemd suggests:
pn  systemd-ui  <none>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20141005/390f68ea/attachment.html>


More information about the Pkg-systemd-maintainers mailing list