[oS-en] Suggest modification for /etc/apparmor.d/usr.bin.locate
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In all my 15.5 machines I have to run aa-logrpof and it complains about locate. View differences shows this: - --- /etc/apparmor.d/usr.bin.locate 2023-09-18 09:45:52.000000000 +0200 +++ /tmp/tmph0vxaiea 2024-04-18 15:52:34.222642456 +0200 @@ -1,9 +1,11 @@ - -# Last Modified: Fri Apr 13 22:23:29 2018 - -#include <tunables/global> +# Last Modified: Thu Apr 18 15:52:34 2024 +include <tunables/global> /usr/bin/locate { - - #include <abstractions/base> - - #include <abstractions/nameservice> + include <abstractions/base> + include <abstractions/nameservice> + + capability setgid, /usr/bin/locate mr, /var/lib/mlocate/mlocate.db r, /tmp/tmp9pj2y0n_ lines 1-18/18 (END) HTH - -- Cheers Carlos E. R. (from 15.4 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZiEmThwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVkaEAoJEPBSO4ZKRHWxLnqOgl Z1meQ+25AKCKV/MbjQ3/LOcICVqn8hrRNgSbDg== =8YqA -----END PGP SIGNATURE-----
participants (1)
-
Carlos E. R.