Bug#968087: systemd-tmpfiles fails on fchownat() systcall for /var/log/journal with -ENOENT on installation
Michael Biebl
biebl at debian.org
Mon Aug 17 21:04:04 BST 2020
Am 08.08.20 um 12:48 schrieb Vasyl Gello:
> Package: systemd
> Version: 246-2
>
> Dear colleagues,
>
> I am observing strange issue with installation / upgrade of systemd in
> pbuilder chroot. The environment I do use is somewhat not standard
> (it is an nsjail chroot for portable Debian development with pbuilder
> nested chroot working inside the user namespace) but all versions of
> systemd before 245-1 were installed just fine.
Maybe you can run git bisect to find the commit which changed the behaviour?
> As an author and maintainer of the aforementioned tool, I tracked
> down the issue to the following command:
>
> systemd-tmpfiles --create --prefix /var/log/journal
>
> in the systemd.postinst script. Appending this particular line
> as follows:
>
> systemd-tmpfiles --create --prefix /var/log/journal || true
>
> solves the issue for me.
>
Well, this is just hiding the error.
-------------- 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/20200817/443db9de/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list