Debian Codegraph @

data/colord.service.in

raw
1 [Unit]
2 Description=Manage, Install and Generate Color Profiles
3
4 [Service]
5 Type=dbus
6 BusName=org.freedesktop.ColorManager
7 ExecStart=@servicedir@/colord
8 User=@daemon_user@
9 PrivateTmp=yes
10 ProtectSystem=strict
11 ProtectHome=true
12 ProtectHostname=true
13 ProtectKernelTunables=true
14 ProtectKernelModules=true
15 ProtectKernelLogs=true
16 ProtectControlGroups=true
17 RestrictRealtime=true
18
19 ConfigurationDirectory=colord
20 StateDirectory=colord
21 CacheDirectory=colord
22
23 # drop all capabilities
24 CapabilityBoundingSet=~CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_CHOWN CAP_FSETID CAP_SETFCAP CAP_DAC_OVERRIDE CAP_DAC_READ_SEARCH CAP_FOWNER CAP_IPC_OWNER CAP_NET_ADMIN CAP_SYS_RAWIO CAP_SYS_TIME CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE CAP_KILL CAP_MKNOD CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYS_RESOURCE CAP_MAC_ADMIN CAP_MAC_OVERRIDE CAP_SYS_BOOT CAP_LINUX_IMMUTABLE CAP_IPC_LOCK CAP_SYS_CHROOT CAP_BLOCK_SUSPEND CAP_LEASE CAP_SYS_PACCT CAP_SYS_TTY_CONFIG CAP_WAKE_ALARM
25
26 NoNewPrivileges=true
27 PrivateUsers=true
28 ProtectProc=invisible
29 ProcSubset=pid
30 RestrictSUIDSGID=true
31 SystemCallArchitectures=native
32
33 RestrictNamespaces=~cgroup user pid net uts mnt ipc
34
35 LockPersonality=true
36 MemoryDenyWriteExecute=true
37 RemoveIPC=true