fix
This commit is contained in:
@@ -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,
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user