General updates
This commit is contained in:
parent
33da7af6e8
commit
465a31c638
9 changed files with 78 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2018-2021 Mikhail Morfikov
|
||||
# Copyright (C) 2022 Jeroen Rijken
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
|
@ -17,6 +18,7 @@ profile smartd @{exec_path} {
|
|||
# Unable to register SCSI device /dev/disk/by-id/ata-* at line * of file /etc/smartd.conf
|
||||
# Device: /dev/disk/by-id/ata-*, not available
|
||||
capability sys_rawio,
|
||||
capability sys_admin,
|
||||
|
||||
# Needed?
|
||||
deny capability net_admin,
|
||||
|
|
@ -39,5 +41,7 @@ profile smartd @{exec_path} {
|
|||
/dev/ r,
|
||||
@{PROC}/devices r,
|
||||
|
||||
/run/systemd/notify rw,
|
||||
|
||||
include if exists <local/smartd>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue