Your message dated Sat, 04 Oct 2025 13:23:55 +0000
with message-id <[email protected]>
and subject line Bug#1076308: fixed in wtmpdb 0.74.0-2
has caused the Debian Bug report #1076308,
regarding wtmpdb: wtmp.db created with wrong mode with system-wide umask 077
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1076308: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076308
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wtmpdb
Version: 0.12.0-2
Severity: important
X-Debbugs-Cc: [email protected]
Dear Maintainer,
wtmpdb respects the system-wide umask when creating
/var/lib/wtmpdb/wtmp.db. This is inappropriate when the system-wide
umask is 077 or something similarly restrictive, as wtmp.db can no
longer be read by others (e.g., GNU screen). The problem occurs if the
system-wide umask is configured during installation (before wtmp.db is
created) or if wtmp.db is removed at any point after the system-wide
umask has been configured.
One solution would be to create wtmp.db as part of the wtmpdb package
postinst. From my testing, I think just touching an empty file with the
proper permissions would suffice.
Another solution would be for wtmpdb to explicitly set the mode of
wtmp.db to 644 every time the database file is created. I'm not sure
whether it should occur if wtmp.db is an existing empty file.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.9.8-amd64 (SMP w/4 CPU threads; PREEMPT)
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 wtmpdb depends on:
ii libaudit1 1:3.1.2-4
ii libc6 2.38-14
ii libsystemd0 256.2-1
ii libwtmpdb0 0.12.0-2
Versions of packages wtmpdb recommends:
ii libpam-wtmpdb 0.12.0-2
wtmpdb suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: wtmpdb
Source-Version: 0.74.0-2
Done: Andrew Bower <[email protected]>
We believe that the bug you reported is fixed in the latest version of
wtmpdb, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrew Bower <[email protected]> (supplier of updated wtmpdb package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 04 Oct 2025 09:50:10 +0100
Source: wtmpdb
Architecture: source
Version: 0.74.0-2
Distribution: unstable
Urgency: medium
Maintainer: Andrew Bower <[email protected]>
Changed-By: Andrew Bower <[email protected]>
Closes: 1076308 1094965
Changes:
wtmpdb (0.74.0-2) unstable; urgency=medium
.
* Upload to unstable.
* Refresh updated empty file handling patch
* Remove leftover /etc/cron.monthly/wtmpdb
* Improve README.Debian for pre-wtmpdb upgrades
.
wtmpdb (0.74.0-1) experimental; urgency=medium
.
* New upstream version
- drop patch applied upstream
* Rotate logs annually with logrotate (Closes: #1094965)
- apply patch to handle empty database file benignly
- make rotated files receive same permissions (Closes: #1076308)
* Remove database and rotated logs on purge per policy 10.8
* d/control: remove RRR:no key redundant due to new defaults
* d/watch: convert to version 5 using template
Checksums-Sha1:
5717f78bc55c1303b09ab90473d1eda4b8457c48 2548 wtmpdb_0.74.0-2.dsc
2093c9d9e7a331f81c20ffa16587d4716b02b96f 11040 wtmpdb_0.74.0-2.debian.tar.xz
53d782193c749380a79e8b24e90abfc5b418eb0c 136156 wtmpdb_0.74.0-2.git.tar.xz
9a6efbb7402046a7c5708394f8de520d5d3599f0 18218 wtmpdb_0.74.0-2_source.buildinfo
Checksums-Sha256:
c8854c25d35fddcd0132daf88950897303f801d936ab7ca5540ddb5df09273d6 2548
wtmpdb_0.74.0-2.dsc
de3824af37fff072a7e5a0f894ea5c77644dbb3462aff56dec2d7d996f76cf3e 11040
wtmpdb_0.74.0-2.debian.tar.xz
c367ed235e5badf0a69db7aaebefe95ce250e49a03c3f152e355777098ff9496 136156
wtmpdb_0.74.0-2.git.tar.xz
9c90aaa9aecc828ac1541f1ce6f3b7a68085f44c9409463271bfc42904ba09e1 18218
wtmpdb_0.74.0-2_source.buildinfo
Files:
06d55e93c9905bb200a4d746d7fea5f1 2548 admin optional wtmpdb_0.74.0-2.dsc
60325f03fd02fbea760edf36ec1468f6 11040 admin optional
wtmpdb_0.74.0-2.debian.tar.xz
86513a2aed41c7fd3b081275e0083e49 136156 admin optional
wtmpdb_0.74.0-2.git.tar.xz
3ac373d3df742618e066bd842878db8b 18218 admin optional
wtmpdb_0.74.0-2_source.buildinfo
Git-Tag-Info: tag=7de174450de49d56fcbce668a8f37c4bd3ae7b6e
fp=30a6192fa2c8e79967706d75baa80ed96f7887e9
Git-Tag-Tagger: Andrew Bower <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmjhGv0ACgkQYG0ITkaD
wHngChAAxUcCdw/zdoUKu3fCXRbTM+wQfVsPxpvwOurjX2zZmqiFdpUgPvTd9Vyx
fYK+iysrhSJ+larMMy2CLhFLn+vdoSEB3FTQOH6VJh5GrEu4ovlYT0Trvjocc8LS
INMw3OOCTNO3EU7SrfI11t3RbRqnni0+kXN2eGiRG/+x3hTFy388KDkixXuUc6lb
jl3py7lyGrA6e1hGDedonN+xLuXt2ElbEHRWa114Cf2aeqBVaFMVewXPd9/JaSKH
0XxeWOCEc6Wm3F28eSoQztbOwlyVpEqgJie3ttiAHhWhHEdFbYR0vELnMqzaBLml
llW9cTEPveJsgrAJ+nlfpsWaZ7H0lv5QULvkWxnkFo1CHbgvt0X1eevaZ/Hm4AuT
Fk8VB9zHbxPiS69YnNt0Sw1Z0bAoHdHQWJCHIPHDgl4xTDVRxw0BGGChfovF6bkp
gaO9mJ0NvG5CsXMAfbD4Olna4OTkl+c9zn9PaflEGQAFBVcVN/hFuMSZL1/aTQsh
3Jvhz6KegQx6LuF6wNy9/bPklFm3eNJwuBAl9pxNQGWTjS24axe6VAPbaa2qFMPO
rdeHXrdsSd9bs8D6jU51lYwCC2LRFJmGuHK7H/lm4XI17SNGo64UoeqthgwobAQi
5T7vpYMH7gYwmE+5Ve9khBUd9QIgVXBXOTjIgQtgBDN14q8S7xk=
=hRw9
-----END PGP SIGNATURE-----
pgp28wSAGsmbp.pgp
Description: PGP signature
--- End Message ---