Replace shells with new sh_path variable

Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
This commit is contained in:
Jeroen Rijken 2024-02-11 15:34:46 +01:00 committed by Alex
parent 3b1b187d13
commit 40b171ee94
315 changed files with 415 additions and 369 deletions

View file

@ -28,7 +28,7 @@ profile cron @{exec_path} flags=(attach_disconnected) {
@{exec_path} mr,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/nice rix,
@{bin}/ionice rix,
@{bin}/exim4 rPx,

View file

@ -13,7 +13,7 @@ profile cron-anacron @{exec_path} {
@{exec_path} r,
@{bin}/anacron rPx,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/cat rix,
@{bin}/date rix,

View file

@ -12,7 +12,7 @@ profile cron-apport @{exec_path} {
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/find rix,
@{bin}/rm rix,

View file

@ -17,7 +17,7 @@ profile cron-apt @{exec_path} {
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/dotlockfile rix,
@{bin}/sed rix,
@{bin}/mktemp rix,

View file

@ -12,7 +12,7 @@ profile cron-apt-compat @{exec_path} {
include <abstractions/base>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/on_ac_power rPx,

View file

@ -12,7 +12,7 @@ profile cron-apt-listbugs @{exec_path} {
include <abstractions/base>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{lib}/ruby/vendor_ruby/aptlistbugs/prefclean rCx -> prefclean,
@ -24,7 +24,7 @@ profile cron-apt-listbugs @{exec_path} {
@{lib}/ruby/vendor_ruby/aptlistbugs/prefclean mr,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/mktemp rix,
@{bin}/rm rix,
@{bin}/cp rix,

View file

@ -12,7 +12,7 @@ profile cron-apt-show-versions @{exec_path} {
include <abstractions/base>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/apt-show-versions rPx,

View file

@ -12,7 +12,7 @@ profile cron-apt-xapian-index @{exec_path} {
include <abstractions/base>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/which{,.debianutils} rix,
@{bin}/{,e}grep rix,

View file

@ -12,7 +12,7 @@ profile cron-aptitude @{exec_path} {
include <abstractions/base>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/cp rix,
@{bin}/date rix,

View file

@ -13,7 +13,7 @@ profile cron-cracklib @{exec_path} {
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/logger rix,
@{bin}/update-cracklib rPx,

View file

@ -13,7 +13,7 @@ profile cron-debsums @{exec_path} {
@{exec_path} mr,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/true rix,
@{bin}/logger rix,
@{bin}/sed rix,

View file

@ -12,7 +12,7 @@ profile cron-debtags @{exec_path} {
include <abstractions/base>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
/usr/bin/debtags rPx,

View file

@ -12,7 +12,7 @@ profile cron-dlocate @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/update-dlocatedb rPx,

View file

@ -13,7 +13,7 @@ profile cron-etckeeper @{exec_path} {
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/rm rix,
@{bin}/find rix,
@{bin}/etckeeper rPx,

View file

@ -25,7 +25,7 @@ profile cron-exim4-base @{exec_path} {
network netlink raw,
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/sed rix,
@{bin}/{,e}grep rix,

View file

@ -13,7 +13,7 @@ profile cron-ipset-autoban-save @{exec_path} {
include <abstractions/consoles>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/ipset rix,

View file

@ -12,7 +12,7 @@ profile cron-logrotate @{exec_path} {
include <abstractions/base>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/logrotate rPx,

View file

@ -17,7 +17,7 @@ profile cron-man-db @{exec_path} {
capability setuid,
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/{,e}grep rix,
@{bin}/start-stop-daemon rix,

View file

@ -13,7 +13,7 @@ profile cron-mlocate @{exec_path} {
include <abstractions/consoles>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/which{,.debianutils} rix,
@{bin}/true rix,

View file

@ -13,7 +13,7 @@ profile cron-plocate @{exec_path} {
include <abstractions/consoles>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/which{,.debianutils} rix,
@{bin}/true rix,

View file

@ -12,23 +12,24 @@ profile cron-popularity-contest @{exec_path} {
include <abstractions/base>
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/popularity-contest rPx,
@{bin}/logger rix,
@{bin}/date rix,
@{bin}/mktemp rix,
@{bin}/mkdir rix,
@{bin}/rm rix,
@{bin}/mv rix,
@{bin}/cat rix,
@{bin}/date rix,
@{bin}/grep rix,
@{bin}/logger rix,
@{bin}/mkdir rix,
@{bin}/mktemp rix,
@{bin}/mv rix,
@{bin}/rm rix,
@{bin}/setsid rix,
# To send reports via TOR
@{bin}/torify rix,
@{bin}/torsocks rix,
@{bin}/getcap rix,
@{bin}/getcap rix,
/usr/share/popularity-contest/popcon-upload rCx -> popcon-upload,
@{bin}/gpg{,2} rCx -> gpg,
@ -74,7 +75,7 @@ profile cron-popularity-contest @{exec_path} {
@{bin}/touch rix,
@{bin}/gzip rix,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
/var/log/ r,
/var/log/popularity-contest.[0-9]*.gz rw,
@ -94,7 +95,7 @@ profile cron-popularity-contest @{exec_path} {
@{bin}/runuser mr,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/popularity-contest rPx,

View file

@ -13,7 +13,7 @@ profile cron-sysstat @{exec_path} {
@{exec_path} r,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{lib}/sysstat/sa2 rPx,
/etc/default/sysstat r,

View file

@ -18,7 +18,7 @@ profile crontab @{exec_path} {
@{exec_path} mr,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
# When editing the crontab file
@{bin}/sensible-editor rCx -> editor,
@ -42,7 +42,7 @@ profile crontab @{exec_path} {
@{bin}/sensible-editor mr,
@{bin}/vim.* mrix,
@{bin}/{,ba,da}sh rix,
@{sh_path} rix,
@{bin}/which{,.debianutils} rix,
owner @{HOME}/.selected_editor r,