Accepting request 934425 from filesystems
OBS-URL: https://build.opensuse.org/request/show/934425 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd-zram-service?expand=0&rev=2
This commit is contained in:
commit
f2ff349088
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 24 12:39:05 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
- Added hardening to systemd service(s) (bsc#1181400). Modified:
|
||||||
|
* zramswap.service
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 17 22:59:00 UTC 2018 - malcolmlewis@opensuse.org
|
Mon Dec 17 22:59:00 UTC 2018 - malcolmlewis@opensuse.org
|
||||||
|
|
||||||
|
@ -8,6 +8,19 @@ Description=Service enabling compressing RAM with zRam
|
|||||||
After=multi-user.target
|
After=multi-user.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
# added automatically, for details please see
|
||||||
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||||
|
ProtectSystem=full
|
||||||
|
ProtectHome=true
|
||||||
|
PrivateDevices=true
|
||||||
|
ProtectHostname=true
|
||||||
|
ProtectClock=true
|
||||||
|
ProtectKernelTunables=true
|
||||||
|
ProtectKernelModules=true
|
||||||
|
ProtectKernelLogs=true
|
||||||
|
ProtectControlGroups=true
|
||||||
|
RestrictRealtime=true
|
||||||
|
# end of automatic additions
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/sbin/zramswapon
|
ExecStart=/usr/sbin/zramswapon
|
||||||
ExecStop=/usr/sbin/zramswapoff
|
ExecStop=/usr/sbin/zramswapoff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user