feat(profile): minor improvements.
This commit is contained in:
parent
da7958a2f9
commit
b623dc4a77
13 changed files with 22 additions and 16 deletions
|
|
@ -33,6 +33,8 @@ profile journalctl @{exec_path} flags=(attach_disconnected) {
|
|||
/var/lib/systemd/catalog/database rw,
|
||||
/var/lib/systemd/catalog/.#database* rw,
|
||||
|
||||
/var/log/dmesg w,
|
||||
|
||||
/{run,var}/log/journal/ r,
|
||||
/{run,var}/log/journal/@{hex32}/ r,
|
||||
/{run,var}/log/journal/@{hex32}/system.journal* r,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/4.0>,
|
|||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/loginctl
|
||||
profile loginctl @{exec_path} {
|
||||
profile loginctl @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/bus-system>
|
||||
|
|
@ -27,6 +27,8 @@ profile loginctl @{exec_path} {
|
|||
@{PROC}/sys/fs/nr_open r,
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
|
||||
/dev/rfkill r,
|
||||
|
||||
include if exists <local/loginctl>
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ profile systemd-networkd @{exec_path} flags=(attach_disconnected) {
|
|||
network packet dgram,
|
||||
network packet raw,
|
||||
|
||||
unix (bind) type=stream addr=@@{udbus}/bus/systemd-network/bus-api-network,
|
||||
unix bind type=stream addr=@@{udbus}/bus/systemd-network/bus-api-network,
|
||||
|
||||
#aa:dbus own bus=system name=org.freedesktop.network1
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ profile systemd-udevd @{exec_path} flags=(attach_disconnected,complain) {
|
|||
@{bin}/*-print-pci-ids rix,
|
||||
@{bin}/alsactl rPUx,
|
||||
@{bin}/ddcutil rPx,
|
||||
@{bin}/dmsetup rPUx,
|
||||
@{bin}/dmsetup rPx,
|
||||
@{bin}/ethtool rix,
|
||||
@{bin}/issue-generator rPx,
|
||||
@{bin}/kmod rPx,
|
||||
|
|
@ -56,7 +56,7 @@ profile systemd-udevd @{exec_path} flags=(attach_disconnected,complain) {
|
|||
@{bin}/perl rix,
|
||||
@{bin}/setfacl rix,
|
||||
@{bin}/sg_inq rix,
|
||||
@{bin}/snap rPUx,
|
||||
@{bin}/snap rPx,
|
||||
@{bin}/systemctl rCx -> systemctl,
|
||||
@{bin}/systemd-run rix,
|
||||
@{bin}/unshare rix,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue