refractor: use @{python_path} in all profiles.
This commit is contained in:
parent
5870e1ee40
commit
af85db9148
77 changed files with 92 additions and 92 deletions
|
|
@ -17,7 +17,7 @@ profile apt-listchanges @{exec_path} {
|
|||
#capability sys_tty_config,
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
@{bin}/ r,
|
||||
@{sh_path} rix,
|
||||
|
|
|
|||
|
|
@ -18,12 +18,12 @@ profile command-not-found @{exec_path} {
|
|||
include <abstractions/python>
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
@{bin}/lsb_release rPx -> lsb_release,
|
||||
@{bin}/snap rPUx,
|
||||
|
||||
@{lib}/python3/dist-packages/CommandNotFound/**/__pycache__/*.cpython-@{int}.pyc.@{int} w,
|
||||
@{lib}/@{python_name}/dist-packages/CommandNotFound/**/__pycache__/*.cpython-@{int}.pyc.@{int} w,
|
||||
|
||||
@{lib}/ r,
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ profile debsecan @{exec_path} {
|
|||
network inet6 stream,
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
@{bin}/ r,
|
||||
@{sh_path} rix,
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ profile debtags @{exec_path} {
|
|||
#capability sys_tty_config,
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
@{bin}/ r,
|
||||
@{bin}/dpkg rPx -> child-dpkg,
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ profile querybts @{exec_path} {
|
|||
network netlink raw,
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
@{bin}/ r,
|
||||
@{sh_path} rix,
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ profile reportbug @{exec_path} {
|
|||
@{exec_path} r,
|
||||
|
||||
@{bin}/ r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
@{bin}/ldconfig rix,
|
||||
@{bin}/selinuxenabled rix,
|
||||
|
|
@ -57,7 +57,7 @@ profile reportbug @{exec_path} {
|
|||
@{bin}/run-parts rCx -> run-parts,
|
||||
@{open_path} rPx -> child-open,
|
||||
|
||||
@{lib}/python3/dist-packages/pylocales/locales.db rk,
|
||||
@{lib}/@{python_name}/dist-packages/pylocales/locales.db rk,
|
||||
|
||||
/usr/share/bug/*/{control,presubj} r,
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ profile unattended-upgrade @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/echo rix,
|
||||
@{bin}/gdbus rix,
|
||||
@{bin}/ischroot rix,
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{python_path} rix,
|
||||
@{bin}/test rix,
|
||||
@{bin}/touch rix,
|
||||
@{bin}/uname rix,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ profile update-apt-xapian-index @{exec_path} {
|
|||
include <abstractions/python>
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
@{bin}/ r,
|
||||
@{bin}/dpkg rPx -> child-dpkg,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ profile ibus-engine-table @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{python_path} rix,
|
||||
|
||||
/usr/share/ibus-table/engine/{,**} r,
|
||||
/usr/share/ibus-table/tables/ r,
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ profile cupsd @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/ippfind rix,
|
||||
@{bin}/mktemp rix,
|
||||
@{bin}/printenv rix,
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{python_path} rix,
|
||||
@{bin}/rm rix,
|
||||
@{bin}/sed rix,
|
||||
@{bin}/smbspool rPx,
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ profile udiskie @{exec_path} {
|
|||
include <abstractions/dri-enumerate>
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
@{bin}/ r,
|
||||
@{open_path} rPx -> child-open,
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ profile udiskie-info @{exec_path} {
|
|||
include <abstractions/python>
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
/usr/bin/ r,
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ profile udiskie-mount @{exec_path} {
|
|||
include <abstractions/python>
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
/usr/bin/ r,
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ profile udiskie-umount @{exec_path} {
|
|||
include <abstractions/python>
|
||||
|
||||
@{exec_path} r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
/usr/bin/ r,
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ profile firewall-applet @{exec_path} flags=(attach_disconnected) {
|
|||
@{exec_path} mr,
|
||||
|
||||
@{bin}/ r,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
owner @{PROC}/@{pid}/cmdline r,
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ profile firewalld @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/xtables-legacy-multi rix,
|
||||
@{bin}/xtables-nft-multi rix,
|
||||
|
||||
/usr/local/lib/python3.@{int}/dist-packages/ r,
|
||||
/usr/local/lib/@{python_name}/dist-packages/ r,
|
||||
|
||||
/usr/share/iproute2/{,**} r,
|
||||
/usr/share/libalternatives/{,**} r,
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ profile ufw @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/ r,
|
||||
@{bin}/cat ix,
|
||||
@{bin}/env r,
|
||||
@{bin}/python3.@{int} ix,
|
||||
@{python_path} ix,
|
||||
@{bin}/sysctl ix,
|
||||
@{bin}/xtables-legacy-multi ix,
|
||||
@{bin}/xtables-nft-multi ix,
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@ profile gnome-browser-connector-host @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
@{bin}/env rix,
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{python_path} rix,
|
||||
|
||||
@{lib}/python3.@{int}/site-packages/gnome_browser_connector/__pycache__/{,**} rw,
|
||||
@{lib}/@{python_name}/site-packages/gnome_browser_connector/__pycache__/{,**} rw,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@ profile gnome-music @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{bin}/ r,
|
||||
@{bin}/env r,
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{lib}/python3.@{int}/site-packages/gnomemusic/__pycache__/{,**} rw,
|
||||
@{python_path} rix,
|
||||
@{lib}/@{python_name}/site-packages/gnomemusic/__pycache__/{,**} rw,
|
||||
|
||||
/usr/share/grilo-plugins/grl-lua-factory/{,*} r,
|
||||
/usr/share/org.gnome.Music/{,**} r,
|
||||
|
|
|
|||
|
|
@ -21,11 +21,11 @@ profile gnome-tweaks @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/ r,
|
||||
@{bin}/env r,
|
||||
@{bin}/ps rPx,
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{python_path} rix,
|
||||
|
||||
@{open_path} rPx -> child-open-help,
|
||||
|
||||
@{lib}/python3.@{int}/site-packages/gtweak/{,*/,**/}__pycache__/*pyc* w,
|
||||
@{lib}/@{python_name}/site-packages/gtweak/{,*/,**/}__pycache__/*pyc* w,
|
||||
|
||||
/etc/xdg/autostart/{,**} r,
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ profile kconf_update @{exec_path} {
|
|||
|
||||
@{sh_path} rix,
|
||||
@{bin}/{,p}grep rix,
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{python_path} rix,
|
||||
@{bin}/qtpaths rix,
|
||||
@{bin}/sed rix,
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ profile kded @{exec_path} {
|
|||
@{bin}/kcminit rPx,
|
||||
@{bin}/pgrep rCx -> pgrep,
|
||||
@{bin}/plasma-welcome rPUx,
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{python_path} rix,
|
||||
@{bin}/setxkbmap rix,
|
||||
@{bin}/xmodmap rPUx,
|
||||
@{bin}/xrdb rPx,
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ profile nm-dispatcher @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/mktemp rix,
|
||||
@{bin}/netconfig rPUx,
|
||||
@{bin}/nmcli rix,
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{python_path} rix,
|
||||
@{bin}/readlink rix,
|
||||
@{bin}/rm rix,
|
||||
@{bin}/run-parts rCx -> run-parts,
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ profile pacman-hook-code @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
@{bin}/env r,
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{python_path} rix,
|
||||
|
||||
@{lib}/code/product.json rw,
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ profile steam-game-proton @{exec_path} flags=(attach_disconnected,complain) {
|
|||
@{bin}/gzip rix,
|
||||
@{bin}/ldconfig rix,
|
||||
@{bin}/localedef rix,
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{python_path} rix,
|
||||
@{bin}/readlink rix,
|
||||
@{bin}/steam-runtime-launcher-interface-@{int} rix,
|
||||
@{bin}/steam-runtime-system-info rix,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ profile apport-checkreports @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
/usr/share/dpkg/cputable r,
|
||||
/usr/share/dpkg/tupletable r,
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ profile check-new-release-gtk @{exec_path} {
|
|||
@{bin}/ischroot rix,
|
||||
@{bin}/lsb_release rPx -> lsb_release,
|
||||
|
||||
@{lib}/python3/dist-packages/UpdateManager/**/__pycache__/*.cpython-@{int}.pyc.@{int} w,
|
||||
@{lib}/python3/dist-packages/gi/**/__pycache__/*.cpython-@{int}.pyc.@{int} w,
|
||||
@{lib}/@{python_name}/dist-packages/UpdateManager/**/__pycache__/*.cpython-@{int}.pyc.@{int} w,
|
||||
@{lib}/@{python_name}/dist-packages/gi/**/__pycache__/*.cpython-@{int}.pyc.@{int} w,
|
||||
|
||||
/usr/share/distro-info/{,**} r,
|
||||
/usr/share/ubuntu-release-upgrader/{,**} r,
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ profile list-oem-metapackages @{exec_path} {
|
|||
@{bin}/dpkg rPx -> child-dpkg,
|
||||
@{bin}/ischroot rix,
|
||||
|
||||
@{lib}/python3/dist-packages/UbuntuDrivers/__pycache__/*.cpython-@{int}.pyc.@{int} rw,
|
||||
@{lib}/@{python_name}/dist-packages/UbuntuDrivers/__pycache__/*.cpython-@{int}.pyc.@{int} rw,
|
||||
|
||||
/etc/machine-id r,
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ profile software-properties-dbus @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/python3.@{int} rix,
|
||||
@{python_path} rix,
|
||||
@{bin}/env rix,
|
||||
@{bin}/apt-key rPx, # Changing trusted keys
|
||||
@{bin}/lsb_release rPx -> lsb_release,
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ profile software-properties-gtk @{exec_path} {
|
|||
@{bin}/ r,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
@{bin}/aplay rPx,
|
||||
@{bin}/apt-key rPx,
|
||||
@{bin}/dpkg rPx -> child-dpkg,
|
||||
|
|
|
|||
|
|
@ -51,9 +51,9 @@ profile update-manager @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/uname rix,
|
||||
@{lib}/apt/methods/http{,s} rPx,
|
||||
|
||||
@{lib}/python3/dist-packages/UpdateManager/{,**/}__pycache__/*.cpython-@{int}.pyc.@{int} rw,
|
||||
@{lib}/python3/dist-packages/gi/{,**/}__pycache__/*.cpython-@{int}.pyc.@{int} rw,
|
||||
@{lib}/python3/dist-packages/uaclient/{,**/}__pycache__/*.cpython-@{int}.pyc.@{int} rw,
|
||||
@{lib}/@{python_name}/dist-packages/UpdateManager/{,**/}__pycache__/*.cpython-@{int}.pyc.@{int} rw,
|
||||
@{lib}/@{python_name}/dist-packages/gi/{,**/}__pycache__/*.cpython-@{int}.pyc.@{int} rw,
|
||||
@{lib}/@{python_name}/dist-packages/uaclient/{,**/}__pycache__/*.cpython-@{int}.pyc.@{int} rw,
|
||||
|
||||
/usr/share/distro-info/{,**} r,
|
||||
/usr/share/ubuntu-release-upgrader/{,**} r,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ profile update-motd-updates-available @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/python3.@{int} r,
|
||||
@{python_path} r,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/apt-config rPx,
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ profile update-notifier @{exec_path} {
|
|||
/usr/share/apport/apport-checkreports rPx,
|
||||
/usr/share/apport/apport-gtk rPx,
|
||||
|
||||
@{lib}/python3.@{int}/dist-packages/{apt,gi}/**/__pycache__/{,**} rw,
|
||||
@{lib}/@{python_name}/dist-packages/{apt,gi}/**/__pycache__/{,**} rw,
|
||||
|
||||
/usr/share/dpkg/cputable r,
|
||||
/usr/share/dpkg/tupletable r,
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ profile cockpit-bridge @{exec_path} {
|
|||
@{bin}/date ix,
|
||||
@{bin}/find ix,
|
||||
@{bin}/ip ix,
|
||||
@{bin}/python3.@{int} ix,
|
||||
@{python_path} ix,
|
||||
@{bin}/test ix,
|
||||
@{bin}/file ix,
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ profile sdwdate-gui @{exec_path} {
|
|||
@{lib}/sdwdate-gui/log-viewer rix,
|
||||
@{lib}/helper-scripts/* rix,
|
||||
|
||||
@{lib}/python3/dist-packages/sdwdate_gui/__pycache__/ rw,
|
||||
@{lib}/@{python_name}/dist-packages/sdwdate_gui/__pycache__/ rw,
|
||||
|
||||
@{lib}/sdwdate-gui/ r,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue