feat(profile): use @{sbin} for all program inside /usr/sbin.
This commit is contained in:
parent
b8f2f38c72
commit
fd17a77b17
270 changed files with 475 additions and 475 deletions
|
|
@ -6,7 +6,7 @@ abi <abi/4.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/anacron
|
||||
@{exec_path} = @{sbin}/anacron
|
||||
profile anacron @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/4.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/cron
|
||||
@{exec_path} = @{sbin}/cron
|
||||
profile cron @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app-launcher-root>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ profile cron-anacron @{exec_path} {
|
|||
|
||||
@{exec_path} r,
|
||||
|
||||
@{bin}/anacron rPx,
|
||||
@{sbin}/anacron rPx,
|
||||
@{sh_path} rix,
|
||||
@{bin}/cat rix,
|
||||
@{bin}/date rix,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/4.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/cron-apt
|
||||
@{exec_path} = @{sbin}/cron-apt
|
||||
profile cron-apt @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ profile cron-apt-compat @{exec_path} {
|
|||
@{exec_path} r,
|
||||
@{sh_path} rix,
|
||||
|
||||
@{bin}/on_ac_power rPx,
|
||||
@{sbin}/on_ac_power rPx,
|
||||
|
||||
@{bin}/apt-config rPx,
|
||||
@{lib}/apt/apt.systemd.daily rPx,
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ profile cron-apt-xapian-index @{exec_path} {
|
|||
|
||||
@{bin}/ r,
|
||||
@{bin}/update-apt-xapian-index rPx,
|
||||
@{bin}/on_ac_power rPx,
|
||||
@{sbin}/on_ac_power rPx,
|
||||
|
||||
# For shell pwd
|
||||
/ r,
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ profile cron-cracklib @{exec_path} {
|
|||
|
||||
@{sh_path} rix,
|
||||
@{bin}/logger rix,
|
||||
@{bin}/update-cracklib rPx,
|
||||
@{sbin}/update-cracklib rPx,
|
||||
|
||||
/etc/cracklib/cracklib.conf r,
|
||||
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@ profile cron-exim4-base @{exec_path} {
|
|||
@{bin}/exim4 rPx,
|
||||
@{bin}/exim_tidydb rix,
|
||||
|
||||
@{bin}/start-stop-daemon rix,
|
||||
@{bin}/runuser rix,
|
||||
@{sbin}/start-stop-daemon rix,
|
||||
@{sbin}/runuser rix,
|
||||
|
||||
/etc/default/exim4 r,
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ profile cron-ipset-autoban-save @{exec_path} {
|
|||
@{exec_path} r,
|
||||
@{sh_path} rix,
|
||||
|
||||
@{bin}/ipset rix,
|
||||
@{sbin}/ipset rix,
|
||||
|
||||
/etc/peerblock/autoban rw,
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ profile cron-logrotate @{exec_path} {
|
|||
@{exec_path} r,
|
||||
@{sh_path} rix,
|
||||
|
||||
@{bin}/logrotate rPx,
|
||||
@{sbin}/logrotate rPx,
|
||||
|
||||
@{bin}/logger rix,
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ profile cron-man-db @{exec_path} {
|
|||
@{sh_path} rix,
|
||||
|
||||
@{bin}/{,e}grep rix,
|
||||
@{bin}/start-stop-daemon rix,
|
||||
@{sbin}/start-stop-daemon rix,
|
||||
@{bin}/xargs rix,
|
||||
@{bin}/find rix,
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ profile cron-mlocate @{exec_path} {
|
|||
@{bin}/nice rix,
|
||||
|
||||
@{bin}/updatedb.mlocate rPx,
|
||||
@{bin}/on_ac_power rPx,
|
||||
@{sbin}/on_ac_power rPx,
|
||||
|
||||
@{run}/mlocate.daily.lock rwk,
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ profile cron-plocate @{exec_path} {
|
|||
@{bin}/nice rix,
|
||||
|
||||
@{bin}/updatedb.plocate rPx,
|
||||
@{bin}/on_ac_power rPx,
|
||||
@{sbin}/on_ac_power rPx,
|
||||
|
||||
@{run}/plocate.daily.lock rwk,
|
||||
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ profile cron-popularity-contest @{exec_path} {
|
|||
# To send reports via TOR
|
||||
@{bin}/torify rix,
|
||||
@{bin}/torsocks rix,
|
||||
@{bin}/getcap rix,
|
||||
@{sbin}/getcap rix,
|
||||
|
||||
/usr/share/popularity-contest/popcon-upload rCx -> popcon-upload,
|
||||
@{bin}/gpg{,2} rCx -> gpg,
|
||||
@{bin}/runuser rCx -> runuser,
|
||||
@{sbin}/runuser rCx -> runuser,
|
||||
@{bin}/savelog rCx -> savelog,
|
||||
|
||||
/usr/share/popularity-contest/ r,
|
||||
|
|
@ -93,7 +93,7 @@ profile cron-popularity-contest @{exec_path} {
|
|||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/authentication>
|
||||
|
||||
@{bin}/runuser mr,
|
||||
@{sbin}/runuser mr,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/popularity-contest rPx,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/4.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/crontab
|
||||
@{exec_path} = @{sbin}/crontab
|
||||
profile crontab @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/authentication>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue