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

@ -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,