]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
portable: drop explicit PrivateTmp=yes from profiles 32724/head
authorLuca Boccassi <bluca@debian.org>
Wed, 8 May 2024 19:16:05 +0000 (20:16 +0100)
committerLuca Boccassi <bluca@debian.org>
Mon, 17 Jun 2024 16:05:55 +0000 (17:05 +0100)
It is already implied by DynamicUser=yes if not set, but dropping it
allows users to instead define TemporaryFileSystem=/tmp/ /var/tmp/
in their portable services, which has fewer side effects.

src/portable/profile/default/service.conf
src/portable/profile/nonetwork/service.conf
src/portable/profile/strict/service.conf

index 5c447d664174b037163df051d6adb27ca1f88c62..d2551ef8c8a89623e588661bd11d1cf8f7511e9b 100644 (file)
@@ -12,7 +12,6 @@ CapabilityBoundingSet=CAP_CHOWN CAP_DAC_OVERRIDE CAP_DAC_READ_SEARCH CAP_FOWNER
        CAP_FSETID CAP_IPC_LOCK CAP_IPC_OWNER CAP_KILL CAP_MKNOD CAP_NET_ADMIN \
        CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_SETGID CAP_SETPCAP \
        CAP_SETUID CAP_SYS_ADMIN CAP_SYS_CHROOT CAP_SYS_NICE CAP_SYS_RESOURCE
-PrivateTmp=yes
 PrivateDevices=yes
 PrivateUsers=yes
 ProtectSystem=strict
index cd7f75c2e3a26fab95c92e32376faf9fa004e09e..83e4770e7877e75718179242c9f15368fbd354d2 100644 (file)
@@ -10,7 +10,6 @@ RemoveIPC=yes
 CapabilityBoundingSet=CAP_CHOWN CAP_DAC_OVERRIDE CAP_DAC_READ_SEARCH CAP_FOWNER \
        CAP_FSETID CAP_IPC_LOCK CAP_IPC_OWNER CAP_KILL CAP_MKNOD CAP_SETGID CAP_SETPCAP \
        CAP_SETUID CAP_SYS_ADMIN CAP_SYS_CHROOT CAP_SYS_NICE CAP_SYS_RESOURCE
-PrivateTmp=yes
 PrivateDevices=yes
 PrivateUsers=yes
 ProtectSystem=strict
index f924e1096f39874f6c8302a8960b31434129dff8..bb877c517d1ab7d62cec73bb9d8f5c5077c8c56c 100644 (file)
@@ -7,7 +7,6 @@ BindReadOnlyPaths=/etc/machine-id
 DynamicUser=yes
 RemoveIPC=yes
 CapabilityBoundingSet=
-PrivateTmp=yes
 PrivateDevices=yes
 PrivateUsers=yes
 ProtectSystem=strict