motd fixes

This commit is contained in:
Jeroen Rijken 2022-08-13 16:48:16 +02:00 committed by Alex
parent cf63b97c9b
commit 689f48b217
2 changed files with 3 additions and 0 deletions

View file

@ -83,6 +83,7 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
owner @{HOME}/@{XDG_SSH_DIR}/authorized_keys{,.*} r,
owner @{run}/sshd{,.init}.pid wl,
@{run}/motd.d/{,*} r,
@{run}/motd.dynamic rw,
@{run}/motd.dynamic.new rw,
@{run}/resolvconf/resolv.conf r,

View file

@ -138,6 +138,8 @@ profile run-parts @{exec_path} {
/var/lib/update-notifier/updates-available r,
@{run}/motd.d/{,*} r,
}
profile kernel {