profiles: add keep-hostname to profile.template

Put it together with the other `keep-` commands.

And move it to the allow section in libreoffice.profile.

Related commits:

* cc8b019b5 ("--keep-hostname part 1 (#7048)", 2026-02-03)
* fbc94070e ("adding keep-hostname to libreoffice.profile", 2026-02-11).

Relates to #7048.
This commit is contained in:
Kelvin M. Klann 2026-02-11 16:03:23 -03:00
parent fbc94070ef
commit e31d872a51
2 changed files with 3 additions and 1 deletions

View file

@ -44,9 +44,10 @@ include whitelist-var-common.inc
#ignore seccomp
#ignore tracelog
keep-hostname
apparmor
caps.drop all
keep-hostname
netfilter
nodvd
nogroups

View file

@ -168,6 +168,7 @@ include globals.local
##keep-dev-shm
##keep-dev-tpm
##keep-fd all
##keep-hostname
##keep-shell-rc
##keep-var-tmp
##writable-etc