LVM and general update (#68)
* Small fixes * General update * Add LVM * Various small fixes * Add profile * Typo * sbin to regex * Date and time to extends * Read cmdline * Remove grep duplicate * Small fixes * Typo * Permissions for warning scripts * Add net_admin for multipath
This commit is contained in:
parent
1649b427f8
commit
9818daba5f
19 changed files with 237 additions and 49 deletions
22
apparmor.d/profiles-g-l/lvmpolld
Normal file
22
apparmor.d/profiles-g-l/lvmpolld
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2022 Jeroen Rijken
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{s,}bin/lvmpolld
|
||||
profile lvmpolld @{exec_path} flags=(complain) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} rm,
|
||||
/{usr/,}bin/grep rix,
|
||||
/{usr/,}bin/umount rPx,
|
||||
|
||||
@{run}/lvmpolld.pid rwk,
|
||||
|
||||
include if exists <local/lvmpolld>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue