Bug#890436: systemd-sysv-install uses ROOT variable from environment for chrooting

Michael Biebl biebl at debian.org
Wed Feb 14 19:37:55 GMT 2018


Am 14.02.2018 um 18:32 schrieb Lars Michelsen:
> Package: systemd
> Version: 232-25+deb9u1
> Severity: normal
> 
> systemd-sysv-install uses `ROOT` variable from environment when not set
> via `-r` and tries to execute update-rc.d chrooted to the content of
> this variable.

Both CHROOT and ROOT are set conditionally, but CHROOT is used
uncoditionally later on.

We should unset both CHROOT and ROOT at the beginning of the script (or
set it to an empty string).

Michael


-- 
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: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180214/82ff9602/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list