[Piuparts-devel] Bug#1080295: piuparts should ignore missing /etc/localtime after purging tzdata
Jonathan Kamens
jik at kamens.us
Sun Sep 1 16:27:08 BST 2024
Package: piuparts
Version: 1.4.3
Severity: normal
When sbuild-createchroot runs, it apparently creates /etc/localtime
even though tzdata is not installed. (FWIW, the command I am using to
create the chroot is `sudo sbuild-createchroot
--include=auto-apt-proxy --components main unstable
/srv/chroot/unstable-amd64-sbuild http://deb.debian.org/debian`.)
Subsequently, if a package being tested with piuparts causes tzdata to
be installed as a dependency, then when tzdata is subsequently purged,
/etc/localtime is removed. Piuparts then complains about the missing
file:
0m51.2s ERROR: FAIL: After purging files have disappeared:
/etc/localtime -> /usr/share/zoneinfo/UTC not owned
This is not the fault of the package being tested, so I don't think
piuparts should complain about it.
(Maybe the real bug here is that sbuild-createchroot shouldn't create
/etc/localtime?)
Thanks,
jik
-- System Information:
Debian Release: trixie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.10.6-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.137
ii debsums 3.0.2.1
ii libjs-sphinxdoc 7.4.7-3
ii lsb-release 12.1-1
ii lsof 4.95.0-1.1
ii mount 2.40.2-7
ii piuparts-common 1.4.3
ii python3 3.12.5-1
ii python3-debian 0.1.49
Versions of packages piuparts recommends:
ii adequate 0.16.14
Versions of packages piuparts suggests:
ii docker.io 26.1.4+dfsg3-1
ii schroot 1.6.13-4
-- no debconf information
More information about the Piuparts-devel
mailing list