Your message dated Wed, 03 Sep 2025 20:35:00 +0000
with message-id <[email protected]>
and subject line Bug#1023810: fixed in acct 6.6.4-9
has caused the Debian Bug report #1023810,
regarding acct: Initscript complains about non-existant /var/lock/subsys/
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.)
--
1023810: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023810
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: acct
Version: 6.6.4-4
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
* What led up to the situation?
A mail from Anacron containing:
/etc/cron.daily/acct:
touch: cannot touch '/var/lock/subsys/acct': No such file or directory
Running the initscript manually gives the same error.
(Accounting needs to be enabled in /etc/default/acct or the error will
not occur)
* What exactly did you do (or not do) that was effective (or
ineffective)?
/var/lock/subsys/ does not exist on my sysvinit-based systems:
# namei -l '/var/lock/subsys/acct'
f: /var/lock/subsys/acct
drwxr-xr-x root root /
drwxr-xr-x root root var
lrwxrwxrwx root root lock -> /run/lock
drwxr-xr-x root root /
drwxr-xr-x root root run
drwxrwxrwt root root lock
subsys - No such file or directory
AFAIU this directory is created on systemd-based systems but does not
seem to get created on sysvinit-based systems.
Since it’s on a tmpfs, creating it manually would not help permanently:
# df -h /var/lock/
Filesystem Size Used Avail Use% Mounted on
tmpfs 5.0M 0 5.0M 0% /run/lock
I don’t know where this directory is supposed to be coming from on
sysvinit-based systems.
Maybe the acct initscript should check whether it exists and create it
if needed?
Thanks
Hendrik
-- System Information:
Debian Release: 11.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable'), (1, 'unstable'), (1, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-15-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages acct depends on:
ii init-system-helpers 1.60
ii libc6 2.31-13+deb11u3
ii lsb-base 11.1.0
acct recommends no packages.
acct suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: acct
Source-Version: 6.6.4-9
Done: Andrew Bower <[email protected]>
We believe that the bug you reported is fixed in the latest version of
acct, 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 acct 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: Wed, 03 Sep 2025 18:41:32 +0100
Source: acct
Architecture: source
Version: 6.6.4-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <[email protected]>
Changed-By: Andrew Bower <[email protected]>
Closes: 922533 1023810 1043617 1096275
Changes:
acct (6.6.4-9) unstable; urgency=medium
.
* Fix FTBFS with C23 (Closes: #1096275)
- use t64 with utmp(5)'s newly unsigned seconds field
* Use logrotate for daily process accounting log rotation
- avoid hand-crafted duplication of logrotate smarts
- drop daily cron job, avoiding needing an equivalent timer
- provide /usr/share/acct/hooks.d (Closes: #922533)
* Enable 'build twice' by removing upstream files
Thanks: Phil Wyett. (Closes: #1043617)
* Rework init script with init-d-script(5)
- move lock file to /run. (Closes: #1023810)
- fix status and one shot properties
- stop overriding dh_installinit and requiring syslog facility
- stop using /etc/default/acct (policy 9.3.3.1); document in NEWS
* Improve systemd integration
- provide timer for monthly report
- use tmpfiles.d, enabling removal of d/acct.postinst
- add documentation
* Add service hardening
* d/copyright:
- swap FSF postal address for URL
- add myself
- expand oversimplifications, including autotools/m4 content
* d/patches:
- lift maintainer-supplied man page from replace-all patch
- fix files listing layout in lastcomm.1
- re-apply info typo fixes to the texi source
- drop ineffective html unsplitting doc patch to generated Makefile
- refresh all patches with preferred DEP-3 dialect
* d/control:
- update to standards version 4.7.2
- drop obsolete depends on lsb-base
- recommend logrotate
- add myself to Uploaders
* d/rules:
- do not set DH_VERBOSE in debian/rules
- prefer execute_after_dh-style rules
* d/acct.postrm: make purge resilient to no logs
* Make various mechanical formatting changes to canonicalize debian/
Checksums-Sha1:
c66d42bb4af4b7408fd00ebf86c4fef9cc0d2c83 2237 acct_6.6.4-9.dsc
de20bf04a933bf45e0a2919f6dd5ea81d5e549b4 28044 acct_6.6.4-9.debian.tar.xz
f6480c32afff8be92869c51e2f16d1a82a5aad02 6258 acct_6.6.4-9_amd64.buildinfo
Checksums-Sha256:
1f7a20a9a175ddfaf6dc561cb72ebe50ba458916972e356bf0c934ab52d91d2d 2237
acct_6.6.4-9.dsc
b53ab0a9250629393ad31510ec8a82f51c5425c9d487774f213891da4cc7f57d 28044
acct_6.6.4-9.debian.tar.xz
e6db2ceff803380e362959843b19f6cb6d59e1bdc6c42952f06860f3bfdb0092 6258
acct_6.6.4-9_amd64.buildinfo
Files:
7832a0fe5c2fc86be12653e43fc5f82a 2237 admin optional acct_6.6.4-9.dsc
2d5339c972d8e5a1edd1ea55d9a23fe8 28044 admin optional
acct_6.6.4-9.debian.tar.xz
ba0e93980558e18d905e910517e4e6d7 6258 admin optional
acct_6.6.4-9_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEPfXoqkP8n9/QhvGVrfUO2vit1YUFAmi4nxEPHHNnZUBkZWJp
YW4ub3JnAAoJEK31Dtr4rdWFXOAQAKknt2vif5UqgWGDVLK2g8MGLpsbaVER2YNw
JcrvJMLcUgAY37gBMUCo0aS89y+jG9UODKQtrGyXCqOlaFAnM8W9vEtsboAby/wt
PoOCEFntK1ptCHiKgrvj1L9lA1PMvCbhFa7RzDTxm5PDHVzaz5Ikf4X0rPXIL/0R
pbF9psHBb57teJhFgl7/w6PuzATRN7sCIFnp4gntzDOdi609i5XORiAmKDJPGwn8
jgA6g++FVxjxwkQfBUPfKWi/vZLlN4RdKcQuPCPZzeYBbNEXPb92FUW5AbKyW7Sf
co5tMJHZxUjCKFjY3rZovEu4jEQNhVYPjjIXGosmDPn2Ik0lVJecYF2X4YGtciYb
0yWg4WD8R9tzxC7INTO0T7BUmP18v32AQhRkb3L+FadcurvNiQHy/IORxW3dehbK
ogAagEeCxzmbFIPfygESi54vo2o6Xw9hsFW3xSNJBkG40T0ajpv0ggkTelyio1R2
/O2qbaVZcK2CFuHNTY3wTUTXZsALhx07TUxsS4PpecYdZnh2/mv7Fs6EcIaM2T2j
EO5K3xrBtDkF/B6vwA9dmwUEypgHcmNH4daUX/auPXaNvMQkGTRhGjCMoKGzk3+A
wuh5vP98LRSiDOwLL0qeaGRlu5PHG7ZlTAPhMSDr9C0m/Ze+f/m/Rg1rDYbdZ8Fq
j+EqhlqN
=uRW9
-----END PGP SIGNATURE-----
pgpKDn43QkBai.pgp
Description: PGP signature
--- End Message ---