feat: update profiles.
This commit is contained in:
parent
84dc85b82d
commit
e845a172c2
28 changed files with 84 additions and 96 deletions
|
|
@ -14,6 +14,7 @@ profile atd @{exec_path} {
|
|||
|
||||
capability audit_write,
|
||||
capability chown,
|
||||
capability dac_override,
|
||||
capability dac_read_search,
|
||||
capability setgid,
|
||||
capability setuid,
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
|||
@{exec_path} = /{usr/,}bin/etckeeper
|
||||
profile etckeeper @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
capability dac_read_search,
|
||||
|
|
@ -20,20 +21,23 @@ profile etckeeper @{exec_path} {
|
|||
/{usr/,}bin/{,e}grep rix,
|
||||
/{usr/,}bin/chmod rix,
|
||||
/{usr/,}bin/cut rix,
|
||||
/{usr/,}bin/dpkg-query rpx,
|
||||
/{usr/,}bin/find rix,
|
||||
/{usr/,}bin/getent rix,
|
||||
/{usr/,}bin/git* rix,
|
||||
/{usr/,}lib/git-core/git* rix,
|
||||
/{usr/,}bin/gpg rCx -> gpg,
|
||||
/{usr/,}bin/hostname rix,
|
||||
/{usr/,}bin/mkdir rix,
|
||||
/{usr/,}bin/mktemp rix,
|
||||
/{usr/,}bin/perl rix,
|
||||
/{usr/,}bin/ps rPx,
|
||||
/{usr/,}bin/rm rix,
|
||||
/{usr/,}bin/sed rix,
|
||||
/{usr/,}bin/sort rix,
|
||||
/{usr/,}bin/tty rix,
|
||||
/{usr/,}bin/uniq rix,
|
||||
/{usr/,}bin/whoami rix,
|
||||
/{usr/,}lib/git-core/git* rix,
|
||||
|
||||
/etc/.git/hooks/* rix,
|
||||
/etc/etckeeper/*.d/* rix,
|
||||
|
|
@ -42,6 +46,8 @@ profile etckeeper @{exec_path} {
|
|||
/etc/ rw,
|
||||
/etc/** rwkl -> /etc/**,
|
||||
|
||||
/var/cache/etckeeper/{,**} rw,
|
||||
|
||||
owner @{HOME}/.gitconfig* r,
|
||||
owner @{HOME}/.netrc r,
|
||||
owner @{user_config_dirs}/git/{,*} rw,
|
||||
|
|
@ -61,11 +67,7 @@ profile etckeeper @{exec_path} {
|
|||
owner @{HOME}/@{XDG_GPG_DIR}/** rwkl -> @{HOME}/@{XDG_GPG_DIR}/**,
|
||||
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
owner @{user_config_dirs}/dotfiles/@{XDG_GPG_DIR}/** rwkl, # to remove, to depracate
|
||||
|
||||
# owner /tmp/.git_vtag_tmp* r,
|
||||
|
||||
# deny @{user_share_dirs}/gvfs-metadata/* r,
|
||||
}
|
||||
|
||||
include if exists <local/etckeeper>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue