Package: aide Version: 0.18-2 Severity: serious Hi!
Just upgraded a server to Debian bookworm, and noticed that aideinit was not working anymore, giving the following error: ,--- # aideinit --yes --force Running aide --init... User [_aide] not known AIDE --init return code 1 `--- This specific system is using sysvinit. Checking the postinst I notice it is conditionally using systemd-sysusers if available, but then unconditionally tries to chown files and does not fail if it cannot perform the operation. So ideally this would get adduser support, and depend on either that or systemd-standalone-sysusers. After having manually created the user with adduser, then aideinit still failed with: ,--- # aideinit --force --yes Running aide --init... /bin/bash: line 1: /var/log/aide/aideinit.log: Permission denied AIDE --init return code 1 `--- Checking «/var/log/aide/» I saw that at least aideinit.log and aideinit.errors were indeed still owned by root:adm, fixing the ownership for those files made aideinit work again. So I guess this is also missing in the postinst handling. Thanks, Guillem