Accepting request 940303 from home:jsegitz:branches:filesystems
- Drop hardenings again. The current set causes issues (bsc#1193402) OBS-URL: https://build.opensuse.org/request/show/940303 OBS-URL: https://build.opensuse.org/package/show/filesystems/systemd-zram-service?expand=0&rev=5
This commit is contained in:
parent
f793ade1c0
commit
87abc78bcd
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 13 16:18:04 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Drop hardenings again. The current set causes issues (bsc#1193402)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 12:39:05 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package systemd-zram-service
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2012-2018 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -23,7 +23,7 @@ Release: 0
|
||||
Summary: Systemd service for zram
|
||||
License: GPL-2.0-only
|
||||
Group: System/Daemons
|
||||
Url: https://code.launchpad.net/~elementary-os/elementaryos/zramswap-enabler
|
||||
URL: https://code.launchpad.net/~elementary-os/elementaryos/zramswap-enabler
|
||||
Source0: zramswap-enabler-0.2.1.tar.bz2
|
||||
#Source0: bzr branch lp:~elementary-os/elementaryos/zramswap-enabler
|
||||
Source1: zramswapon
|
||||
|
@ -8,19 +8,6 @@ Description=Service enabling compressing RAM with zRam
|
||||
After=multi-user.target
|
||||
|
||||
[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
|
||||
ExecStart=/usr/sbin/zramswapon
|
||||
ExecStop=/usr/sbin/zramswapoff
|
||||
|
Loading…
Reference in New Issue
Block a user