[Piuparts-devel] Bug#1036399: piuparts: false positives for unowned files left after purge

David Bremner david at tethera.net
Sat May 20 18:34:18 BST 2023


David Bremner <david at tethera.net> writes:

> David Bremner <bremner at debian.org> writes:
>
>> Package: piuparts
>> Version: 1.1.7
>> Severity: normal
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> The following output from "piuparts -t /var/tmp --apt emacs" (also on piuparts.debian.org) looks suss to me:
>>
>> 0m43.8s INFO: Warning: Package purging left files on system:
>>   /root/.ssh/	 not owned
>>   /var/cache/private/	 not owned
>>   /var/lib/private/	 not owned
>>   /var/lib/systemd/coredump/	 not owned
>>   /var/lib/systemd/pstore/	 not owned
>>   /var/log/private/	 not owned
>
> I just verified that something creates /root/.ssh when I run "apt
> install --no-install-recommends systemd" in a clean chroot.  So that
> part is a bug in some other package (presumably systemd or a
> dependency), not piuparts.

All of these directories are created by configuration in
/usr/lib/tmpfiles.d; in this case by systemd-tmpfiles.



More information about the Piuparts-devel mailing list