fix(profile): integration tests.
This commit is contained in:
parent
9ef8db9cbc
commit
1751a9997c
5 changed files with 12 additions and 1 deletions
|
|
@ -34,6 +34,7 @@ profile grub-probe @{exec_path} {
|
|||
@{PROC}/devices r,
|
||||
|
||||
/dev/**/ r,
|
||||
/dev/mapper/control w,
|
||||
|
||||
include if exists <local/grub-probe>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,6 +39,9 @@ profile snap-update-ns @{exec_path} {
|
|||
|
||||
/ r,
|
||||
/tmp/ r,
|
||||
/usr/ r,
|
||||
/usr/local/ r,
|
||||
/usr/local/share/ r,
|
||||
|
||||
owner /snap/{,**} rw,
|
||||
|
||||
|
|
|
|||
|
|
@ -21,12 +21,15 @@ profile landscape-sysinfo @{exec_path} {
|
|||
network inet6 dgram,
|
||||
network netlink raw,
|
||||
|
||||
ptrace (read),
|
||||
ptrace read,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/who rix,
|
||||
|
||||
@{lib}/@{python_name}/landscape/{,**/}__pycache__/ w,
|
||||
@{lib}/@{python_name}/landscape/{,**/}__pycache__/**.pyc.@{u64} w,
|
||||
|
||||
/var/log/landscape/{,**} rw,
|
||||
|
||||
@{run}/utmp rwk,
|
||||
|
|
|
|||
|
|
@ -21,10 +21,13 @@ profile sysstat-sadc @{exec_path} {
|
|||
/var/log/sysstat/{,**} rwk,
|
||||
|
||||
@{sys}/bus/i2c/devices/ r,
|
||||
@{sys}/class/fc_host/ r,
|
||||
@{sys}/class/hwmon/ r,
|
||||
@{sys}/class/i2c-adapter/ r,
|
||||
@{sys}/devices/@{pci}/i2c-@{int}/name r,
|
||||
@{sys}/devices/@{pci}/net/*/duplex r,
|
||||
@{sys}/devices/**/net/*/duplex r,
|
||||
@{sys}/devices/**/net/*/speed r,
|
||||
@{sys}/devices/virtual/net/*/duplex r,
|
||||
@{sys}/devices/virtual/net/*/speed r,
|
||||
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ profile tlp @{exec_path} flags=(attach_disconnected) {
|
|||
@{run}/udev/data/+platform:* r,
|
||||
|
||||
@{sys}/bus/pci/devices/ r,
|
||||
@{sys}/class/drm/ r,
|
||||
@{sys}/class/net/ r,
|
||||
@{sys}/class/power_supply/ r,
|
||||
@{sys}/devices/@{pci}/ r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue