From: Mike Yuan Date: Fri, 26 Apr 2024 08:53:41 +0000 (+0800) Subject: portable/profile: use BindJournalSockets= X-Git-Tag: v257-rc1~562^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=263fa92bab3c9cebbc913c43b601818aea7a1f19;p=thirdparty%2Fsystemd.git portable/profile: use BindJournalSockets= --- diff --git a/src/portable/profile/default/service.conf b/src/portable/profile/default/service.conf index d2551ef8c8a..07f985cefa5 100644 --- a/src/portable/profile/default/service.conf +++ b/src/portable/profile/default/service.conf @@ -2,7 +2,7 @@ [Service] MountAPIVFS=yes -BindReadOnlyPaths=/dev/log /run/systemd/journal/socket /run/systemd/journal/stdout +BindJournalSockets=yes BindReadOnlyPaths=/etc/machine-id BindReadOnlyPaths=-/etc/resolv.conf BindReadOnlyPaths=/run/dbus/system_bus_socket diff --git a/src/portable/profile/nonetwork/service.conf b/src/portable/profile/nonetwork/service.conf index 83e4770e787..ee7aa2d5253 100644 --- a/src/portable/profile/nonetwork/service.conf +++ b/src/portable/profile/nonetwork/service.conf @@ -2,7 +2,7 @@ [Service] MountAPIVFS=yes -BindReadOnlyPaths=/dev/log /run/systemd/journal/socket /run/systemd/journal/stdout +BindJournalSockets=yes BindReadOnlyPaths=/etc/machine-id BindReadOnlyPaths=/run/dbus/system_bus_socket DynamicUser=yes diff --git a/src/portable/profile/strict/service.conf b/src/portable/profile/strict/service.conf index bb877c517d1..ed14387b5d0 100644 --- a/src/portable/profile/strict/service.conf +++ b/src/portable/profile/strict/service.conf @@ -2,7 +2,7 @@ [Service] MountAPIVFS=yes -BindReadOnlyPaths=/dev/log /run/systemd/journal/socket /run/systemd/journal/stdout +BindJournalSockets=yes BindReadOnlyPaths=/etc/machine-id DynamicUser=yes RemoveIPC=yes