Version: 6.6.4-5+b2 Control: tags 1023810 + patch Hi, The attached patch, "acct.init.d.patch" resolves the issue by creating the missing subdirectory inside /var/lock.
I also include for consideration a second version of the patch, "acct.init.d-v2.patch", which creates the proper subdirectory even if a non-default value is entered by the system administrator in the LOCKFILE variable at /etc/default/acct. Cheers, Georgios
--- debian/acct.init.d 2022-05-15 14:55:10.000000000 +0300 +++ /etc/init.d/acct 2024-08-09 22:23:17.234069221 +0300 @@ -33,6 +33,10 @@ set -e +if [ ! -d /var/lock/subsys ] ; then + mkdir -p /var/lock/subsys +fi + case "$1" in start) if [ "${ACCT_ENABLE}" = "1" ]
--- debian/acct.init.d 2022-05-15 14:55:10.000000000 +0300 +++ /etc/init.d/acct 2024-08-11 12:07:30.138366828 +0300 @@ -33,6 +33,11 @@ set -e +LOCKDIR=$(dirname $LOCKFILE) +if [ ! -d $LOCKDIR ] ; then + mkdir -p $LOCKDIR +fi + case "$1" in start) if [ "${ACCT_ENABLE}" = "1" ]