This commit is contained in:
2023-08-25 13:32:28 +02:00
parent 1064d2fbff
commit b86615c88c
2 changed files with 3 additions and 6 deletions

View File

@@ -47,7 +47,8 @@ profile hassio_promtail flags=(attach_disconnected,mediate_deleted) {
# Wants to link /etc/localtime but apparmor sees a random hash so * it is. # Wants to link /etc/localtime but apparmor sees a random hash so * it is.
@{do_etc}/* rw, @{do_etc}/* rw,
@{do_usr}/share/** r, @{do_usr}/share/** r,
/var/cache/debconf/** rw, /var/cache/{,**} rw,
/var/cache/debconf/{,**} rw,
# Bashio # Bashio
/usr/lib/bashio/** ix, /usr/lib/bashio/** ix,
@@ -63,10 +64,6 @@ profile hassio_promtail flags=(attach_disconnected,mediate_deleted) {
/{share,ssl}/{,**} r, /{share,ssl}/{,**} r,
@{journald} r, @{journald} r,
/proc r,
/proc/** r,
/proc/net/unix r,
# Programs # Programs
/usr/bin/promtail cx -> promtail, /usr/bin/promtail cx -> promtail,
/usr/bin/yq Cx, /usr/bin/yq Cx,

View File

@@ -11,5 +11,5 @@ bashio::log.info "Configuring timezone (${TZ:-None})..."
ln --symbolic --no-dereference --force "/usr/share/zoneinfo/${TZ:-UTC}" /etc/localtime ln --symbolic --no-dereference --force "/usr/share/zoneinfo/${TZ:-UTC}" /etc/localtime
echo "${TZ:-UTC}" > /etc/timezone echo "${TZ:-UTC}" > /etc/timezone
ps -ef ls -al /var/cache/debconf
dpkg-reconfigure --frontend noninteractive tzdata dpkg-reconfigure --frontend noninteractive tzdata