Accepting request 928142 from server:monitoring

OBS-URL: https://build.opensuse.org/request/show/928142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/munin?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2021-10-31 21:55:34 +00:00 committed by Git OBS Bridge
commit df3fb23ba1
5 changed files with 61 additions and 0 deletions

View File

@ -3,6 +3,19 @@ Description=Munin CGI Graph generator
Requires=network.target Requires=network.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=forking Type=forking
ExecStart=/usr/bin/spawn-fcgi -s /var/run/munin/munin-cgi-graph.sock -P /var/run/munin/munin-cgi-graph.pid -u munin -g munin -M 0770 -U munin -G www /srv/www/cgi-bin/munin-cgi-graph ExecStart=/usr/bin/spawn-fcgi -s /var/run/munin/munin-cgi-graph.sock -P /var/run/munin/munin-cgi-graph.pid -u munin -g munin -M 0770 -U munin -G www /srv/www/cgi-bin/munin-cgi-graph
PIDFile=/var/run/munin/munin-cgi-graph.pid PIDFile=/var/run/munin/munin-cgi-graph.pid

View File

@ -3,6 +3,19 @@ Description=Munin CGI HTML generator
Requires=network.target Requires=network.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=forking Type=forking
ExecStart=/usr/bin/spawn-fcgi -s /var/run/munin/munin-cgi-html.sock -P /var/run/munin/munin-cgi-html.pid -u munin -g munin -M 0770 -U munin -G www /srv/www/cgi-bin/munin-cgi-html ExecStart=/usr/bin/spawn-fcgi -s /var/run/munin/munin-cgi-html.sock -P /var/run/munin/munin-cgi-html.pid -u munin -g munin -M 0770 -U munin -G www /srv/www/cgi-bin/munin-cgi-html
PIDFile=/var/run/munin/munin-cgi-html.pid PIDFile=/var/run/munin/munin-cgi-html.pid

View File

@ -3,6 +3,19 @@ Description=Collect node data
Documentation=man:munin-cron(8) Documentation=man:munin-cron(8)
[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
User=munin User=munin
ExecStart=/usr/bin/munin-cron ExecStart=/usr/bin/munin-cron

View File

@ -3,6 +3,19 @@ Description=Munin Node
Requires=network.target Requires=network.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=forking Type=forking
ExecStart=/usr/sbin/munin-node ExecStart=/usr/sbin/munin-node
ExecStartPre=/usr/bin/mkdir -p /var/run/munin/ ExecStartPre=/usr/bin/mkdir -p /var/run/munin/

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Oct 7 10:26:31 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* munin-cgi-graph.service
* munin-cgi-html.service
* munin-cron.service
* munin-node.service
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 5 09:49:51 UTC 2021 - Thorsten Kukuk <kukuk@suse.com> Fri Mar 5 09:49:51 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>