Bug#1036399: piuparts: false positives for unowned files left after purge

2023-05-20 Thread David Bremner
David Bremner  writes:

> David Bremner  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.



Bug#1036399: piuparts: false positives for unowned files left after purge

2023-05-20 Thread Patrice Duroux
Hi David,

My two cents as I am just a user, but I would like to say to not worry
too much about those messages.
Looking here: https://piuparts.debian.org/bookworm/, you will see that:

successfully-tested
[...]
- but logfile contains unowned files after purge: 4511 passed
[...]

failed-testing
[...]
- due to unowned files after purge: 1 failed
[...]

If you look at most of the 'successfully-tested' cases and the
'failed-testing' case, you will observe the same INFO messages.
This confirms that it is due to a dependency of the emacs package and
not from the package it-self.

Regards,
Patrice



Bug#1036399: piuparts: false positives for unowned files left after purge

2023-05-20 Thread David Bremner
David Bremner  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.



Bug#1036399: piuparts: false positives for unowned files left after purge

2023-05-20 Thread David Bremner
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


- -- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing-debug'), (500, 
'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages piuparts depends on:
ii  debootstrap  1.0.128+nmu2
ii  debsums  3.0.2
ii  libjs-sphinxdoc  5.3.0-4
ii  lsb-release  12.0-1
ii  lsof 4.95.0-1
ii  mount2.38.1-5+b1
ii  piuparts-common  1.1.7
ii  python3  3.11.2-1+b1
ii  python3-debian   0.1.49

Versions of packages piuparts recommends:
ii  adequate  0.15.7

Versions of packages piuparts suggests:
pn  docker.io  
ii  schroot1.6.13-3+b2

- -- no debconf information

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEkiyHYXwaY0SiY6fqA0U5G1WqFSEFAmRouNgACgkQA0U5G1Wq
FSHw/g//YwVnH0E80KXR/8+Jd0wxln+7uV0RL4+37tTVUnDEW1zpRATFJ/fPvzaO
Oih497KyhqQMGyAmXHyBE1dAuzkdH5c5njOwx+5xJwNEs13GKf1AIo6g25g2vBWp
2205rcaguq47+IMBp0TvkvqO5rMKblzkKoV1v4yik4qNmxZXLHW/asFEeWkyy3aV
vrOcfHpt+znmwsx68AoXLyWGdYeK3Gvkm4i7fNssVOD3Ybfw/7Mr0Md2aexrcKB0
n4BpchI1zamvo5awgyqY8yhXAJWsZfeEkOhcyQ6d1+vr3+Kw9VFqCDkfPwN1nUb7
+EM/cVyHOM4WF2yaiSn4VQgHgpt4aec2hKJ9Fi0hXyTwFOpjMett0zB22LthR5aF
MgEYIzY2T4WiwsbdfO6v239qTc4KSDWrXNqO4dpND1tpun5XNXO4HKQJnwmglVhy
HMj0xhsH3TcEnf9aWgRW4uSOijAQ3zPMA0oHCzc53CFeBI8JQqegJNjLtJJ0djGs
Cc1iVc6lvW4nk7m5u8ZWkss2ywtjmEiHCJwA5qCY7R9hiCpfp1bSOpAuYsTL24j2
EkbUXM/AX7CRBD9YsGSK7yVRjygP7RN/3bgG+cac86mSrUPHs+51PpipqLaqcVur
XEqOUTDM/baxLIAPpqSYjeTPnVCKJI6X/YJ7nxlNpJX4t1ktSYc=
=rY+H
-END PGP SIGNATURE-