Bug#778581: systemd install breaks chroot jail and compromises guest system

Michael Biebl biebl at debian.org
Tue Feb 17 17:42:11 GMT 2015


control: tags -1 moreinfo unreproducible

Am 17.02.2015 um 10:39 schrieb Michael Biebl:
> Am 17.02.2015 um 01:13 schrieb Wolfgang Rosner:
>> Package: systemd
>> Version: 215-8
>> Severity: normal
>>
>> Dear Maintainer,
>>
>>
>> I'm trying to configure nfsroot installation for diskless clients.
>> - <server$> debootstrap .... /path/to/client-root
>> - <server$> chroot /path/to/client-root /bin/bash
>> - CHR#>  apt-get install <lots of stuff w/o problems>
>> - CHR#>  apt-get install systemd
>>
>> The last command leads to some error message (I can't remember)
>> Then, after googling, I run something like dpkg -a (still in the chrooted shell)
>> This made my server completely frozen.
>>
>> After forceful reboot, It seems that I got parts of systemd installed on the server, too, not only on the chrooted client-root.
> 
> 
>>
>> root at cruncher:/cluster/tftp/active/pxelinux.cfg# dpkg --list | grep systemd
>> ii  libpam-systemd:amd64                  215-8                                  amd64        system and service manager - PAM module
>> ii  libsystemd-login0:amd64               44-11+deb7u4                           amd64        systemd login utility library
>> ii  libsystemd0:amd64                     215-8                                  amd64        systemd utility library
>> ii  systemd                               215-8                                  amd64        system and service manager
>> ii  systemd-shim                          9-1                                    amd64        shim for systemd
>>
>> root at cruncher:/cluster/tftp/active/pxelinux.cfg# grep systemd /var/log/apt/history.log
>>
>> ..... is EMPTY ....
>>
>> So I think systemd got installed accidentially by breaking the chroot.
> 
> What you describe sounds highly unlikely. Merely installing systemd in a
> chroot will not "break the chroot".
> 
> To me it looks like you accidentally installed systemd on the host
> system yourself, or it was already installed.

Since the given information is not sufficient to diagnose your issue, it
would be great if you can provide step-by-step instructions how to
reproduce the problem and a more detail log of the events that happened.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150217/87837874/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list