feat: deploy cloud-only RMM and verify audited APT diagnostics
Rust development slice / linux (push) Failing after 7s
Rust development slice / linux (push) Failing after 7s
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
[Unit]
|
||||
Description=RMM narrowly scoped cloud dev/test root helper
|
||||
After=time-sync.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
# Implicit root avoids systemd 255 seccomp/setuid capability mutation.
|
||||
Group=rmm-agent
|
||||
StateDirectory=rmm-helper
|
||||
StateDirectoryMode=0700
|
||||
RuntimeDirectory=rmm-helper-cloud
|
||||
RuntimeDirectoryMode=0750
|
||||
UMask=0077
|
||||
Environment=RMM_HELPER_CONFIG=/etc/rmm-remote/helper-general.json
|
||||
ExecStart=/usr/local/libexec/rmm-privileged-helper
|
||||
Restart=no
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
PrivateNetwork=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectControlGroups=true
|
||||
RestrictSUIDSGID=true
|
||||
RestrictAddressFamilies=AF_UNIX
|
||||
CapabilityBoundingSet=CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SETGID CAP_SETUID CAP_SETPCAP CAP_SETFCAP
|
||||
AmbientCapabilities=
|
||||
SystemCallFilter=~@mount @reboot @swap @raw-io @module @clock @debug
|
||||
# Read-only trusted clock query; glibc may use clock_adjtime. No CAP_SYS_TIME.
|
||||
SystemCallFilter=adjtimex clock_adjtime
|
||||
ReadWritePaths=/etc/systemd/system/rmm-mvp-test.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user