Skip to content

Commit a75793b

Browse files
committed
feat: Allow lastore-daemon.service to configure kernel parameters
Task: https://pms.uniontech.com/task-view-385069.html
1 parent 298c2f8 commit a75793b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/systemd/system/lastore-daemon.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ After=display-manager.service
1010
# PrivateDevices=true is not set because grub-mkconfig is executed when creating backup deployment.
1111
# PrivateTmp=true is not set because it relies on /tmp to record state.
1212
# ProtectHome=true is not set because sudo is needed to connect to the user Session Bus and send DDE message notifications.
13-
# ProtectKernelModules=true is not set because kernel packages need to be installed
13+
# ProtectKernelModules=true is not set because kernel packages need to be installed.
14+
# ProtectKernelTunables=true is not set because some packages may need to set kernel parameters during package operations.
1415
# ProtectProc=true is not set because it needs to access caller process environment variables.
1516
# ProtectSystem=strict is not set because dpkg needs to be called to upgrade the system.
1617
# RestrictSUIDSGID=true is not set because some packages may need to set SUID and SGID during installation.
@@ -22,7 +23,6 @@ ExecStart=/usr/libexec/lastore-daemon/lastore-daemon
2223
NoNewPrivileges=true
2324
PrivateIPC=true
2425
ProtectClock=true
25-
ProtectKernelTunables=true
2626
RuntimeDirectory=lastore
2727
RuntimeDirectoryMode=0750
2828
StandardError=null

0 commit comments

Comments
 (0)