Bug#950684: systemd: upgrade fails in a chroot where /var/log/ owner is not root:root

Michael Biebl biebl at debian.org
Wed Feb 5 08:34:07 GMT 2020


Am 05.02.20 um 09:28 schrieb Andrey Rahmatullin:
> On Wed, Feb 05, 2020 at 04:44:04AM +0100, Michael Biebl wrote:
>>> Following #950533, I also had a problem upgrading systemd in a chroot, where 
>>> files in /, /var, /var/log are all owned by sbuild:sbuild. The upgrading script 
>>
>> Why would you make all files owned by sbuild:sbuild?
> I have this problem too.
> I don't know why those dirs are owned by sbuild:sbuild there.
> 
>>> tried to create a dir /var/log/journal/, owned by root:root, and then failed 
>>> without a lot of clues...
>>
>> Can you run
>> SYSTEMD_LOG_LEVEL=debug systemd-tmpfiles --create --prefix /var/log/journal
>> echo $?
> bash: systemd-tmpfiles: command not found
> The chroot has sysvinit-core installed, it's too old to have systemd
> installed. systemd is getting installed when installing build-deps.

Can you provide steps how this problem can be reproduced?
Ideal would be a chroot that can easily be created via debootstrap.

-------------- 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/20200205/63a47d9d/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list