mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-20 08:55:34 +01:00
systemd: update related profiles.
This commit is contained in:
parent
b2c0ead2de
commit
547076dda3
2 changed files with 8 additions and 2 deletions
|
@ -23,14 +23,18 @@ profile systemd-sysusers @{exec_path} {
|
|||
/run/{,**} rw,
|
||||
|
||||
/etc/ r,
|
||||
/etc/nsswitch.conf r,
|
||||
/etc/passwd r,
|
||||
/etc/group r,
|
||||
/etc/gshadow r,
|
||||
/etc/group rw,
|
||||
/etc/group- rw,
|
||||
/etc/gshadow rw,
|
||||
/etc/gshadow- rw,
|
||||
/etc/.#group* rw,
|
||||
/etc/.#gshadow* rw,
|
||||
/etc/.pwd.lock rwk,
|
||||
|
||||
owner @{PROC}/@{pid}/stat r,
|
||||
@{PROC}/sys/kernel/random/boot_id r,
|
||||
|
||||
include if exists <local/systemd-sysusers>
|
||||
}
|
||||
|
|
|
@ -52,6 +52,8 @@ profile systemd-udevd @{exec_path} flags=(attach_disconnected complain) {
|
|||
|
||||
/etc/console-setup/*.sh rPUx,
|
||||
|
||||
/etc/machine-id r,
|
||||
|
||||
/etc/default/* r,
|
||||
|
||||
/etc/udev/ r,
|
||||
|
|
Loading…
Add table
Reference in a new issue