Accepting request 923514 from devel:tools:scm

OBS-URL: https://build.opensuse.org/request/show/923514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=267
This commit is contained in:
Dominique Leuenberger 2021-10-11 13:30:25 +00:00 committed by Git OBS Bridge
parent 33d3540bb4
commit 8f3b5d5077
2 changed files with 18 additions and 0 deletions

View File

@ -2,6 +2,18 @@
Description=Start Git Daemon Description=Start Git Daemon
[Service] [Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
EnvironmentFile=-/etc/sysconfig/git-daemon EnvironmentFile=-/etc/sysconfig/git-daemon
ExecStart=/bin/bash -c 'exec git daemon --reuseaddr --base-path=$${GIT_DAEMON_BASE_PATH:-/srv/git/} --user=$${GIT_DAEMON_USER:-git-daemon} --group=$${GIT_DAEMON_GROUP:-nogroup} $GIT_DAEMON_ARGS' ExecStart=/bin/bash -c 'exec git daemon --reuseaddr --base-path=$${GIT_DAEMON_BASE_PATH:-/srv/git/} --user=$${GIT_DAEMON_USER:-git-daemon} --group=$${GIT_DAEMON_GROUP:-nogroup} $GIT_DAEMON_ARGS'

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 20 08:33:11 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* git-daemon.service
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 21 07:19:13 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de> Sat Aug 21 07:19:13 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>