Hi,
My permission hardener is broken. Whatever package I install it tells me these info when I reinstall a package:
Processing triggers for security-misc (3:37.5-1) ...
INFO: triggered security-misc: 'security-misc' security-misc DPKG_MAINTSCRIPT_NAME: 'postinst' $\@: 'triggered /usr' 2: '/usr'
/usr/libexec/security-misc/mmap-rnd-bits: INFO: Successfully written ASLR map config file:
/etc/sysctl.d/30_security-misc_aslr-mmap.conf
Running SUID Disabler and Permission Hardener... See also:
https://www.kicksecure.com/wiki/SUID_Disabler_and_Permission_Hardener
/var/lib/dpkg/info/security-misc.postinst: INFO: running: permission-hardener enable
INFO: fso_to_process: '/opt/' | counter_actual : '1'
INFO: fso_to_process: '/opt/' | should_be_counter: ''
ERROR: counter does not check out.
INFO: fso_to_process: '/usr/bin/' | counter_actual : '4'
INFO: fso_to_process: '/usr/bin/' | should_be_counter: ''
ERROR: counter does not check out.
INFO: fso_to_process: '/usr/lib64/' | counter_actual : '0'
INFO: fso_to_process: '/usr/lib64/' | should_be_counter: ''
ERROR: counter does not check out.
INFO: fso_to_process: '/usr/lib/' | counter_actual : '4'
INFO: fso_to_process: '/usr/lib/' | should_be_counter: ''
ERROR: counter does not check out.
INFO: fso_to_process: '/usr/local/bin/' | counter_actual : '0'
INFO: fso_to_process: '/usr/local/bin/' | should_be_counter: ''
ERROR: counter does not check out.
INFO: fso_to_process: '/usr/local/lib/' | counter_actual : '0'
INFO: fso_to_process: '/usr/local/lib/' | should_be_counter: ''
ERROR: counter does not check out.
INFO: fso_to_process: '/usr/local/sbin/' | counter_actual : '0'
INFO: fso_to_process: '/usr/local/sbin/' | should_be_counter: ''
ERROR: counter does not check out.
INFO: fso_to_process: '/usr/sbin/' | counter_actual : '1'
INFO: fso_to_process: '/usr/sbin/' | should_be_counter: ''
ERROR: counter does not check out.
INFO: To compare the current and previous permission modes:
Install 'meld' (or preferred diff tool) for comparison of file mode changes:
sudo apt install --no-install-recommends meld
Use 'meld' or another diff tool to view the differences:
meld /var/lib/permission-hardener/existing_mode/statoverride /var/lib/permission-hardener/new_mode/statoverride
ERROR: Exiting with non-zero exit code: '202'
/var/lib/dpkg/info/security-misc.postinst: ERROR: Permission hardening failed.
Processing triggers for man-db (2.11.2-2) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Please help me to fix! Thanks!