Bug#785687: systemd: systemctl double free or corruption when enabling/disabling sysv units if pwd non-readable

Martin Pitt mpitt at debian.org
Tue May 19 09:12:44 BST 2015


Control: reassign -1 insserv 1.14.0-5

Lorenz Hübschle-Schneider [2015-05-19  9:46 +0200]:
> systemctl fails to enable/disable sysv units if the current working directory is
> not readable to the user systemctl is running at (root). In my case, the home
> directory is mounted via nfs and unreadable to root.
> 
> gdb output:
> Synchronizing state for docker.service with sysvinit using update-rc.d...
> Executing /usr/sbin/update-rc.d docker defaults
> insserv: popd() can not change directory /home/lorenzhs: Permission denied
> update-rc.d: error: insserv rejected the script header

This is a bug in insserv, reassigning.

> *** Error in `/bin/systemctl': double free or corruption (fasttop): 0x00005555557da900 ***

This is a bug in systemctl indeed, bug already tracked in
https://bugs.debian.org/764613 (fixed in experimental, not yet fixed
in unstable/jessie).

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150519/cc2bc3cc/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list