Accepting request 927183 from server:monitoring

OBS-URL: https://build.opensuse.org/request/show/927183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pmacct?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2021-10-25 13:17:24 +00:00 committed by Git OBS Bridge
commit 5ac72c81f8
4 changed files with 41 additions and 0 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Oct 19 09:52:31 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* pmacct.nfacctd.service
* pmacct.pmacctd.service
* pmacct.sfacctd.service
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 14 15:56:31 UTC 2021 - Martin Hauke <mardnh@gmx.de> Sun Mar 14 15:56:31 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@ -3,6 +3,17 @@ Description=netflow accounting daemon
After=network.target After=network.target
[Service] [Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
ProtectHostname=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=forking Type=forking
EnvironmentFile=-/etc/sysconfig/nfacctd EnvironmentFile=-/etc/sysconfig/nfacctd
ExecStart=/usr/sbin/nfacctd -f ${NFACCTD_CONF} $DAEMON_OPTS ExecStart=/usr/sbin/nfacctd -f ${NFACCTD_CONF} $DAEMON_OPTS

View File

@ -3,6 +3,17 @@ Description=promiscuous mode accounting daemon
After=network.target After=network.target
[Service] [Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
ProtectHostname=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=forking Type=forking
EnvironmentFile=-/etc/sysconfig/pmacctd EnvironmentFile=-/etc/sysconfig/pmacctd
ExecStart=/usr/sbin/pmacctd -f ${PMACCTD_CONF} $DAEMON_OPTS ExecStart=/usr/sbin/pmacctd -f ${PMACCTD_CONF} $DAEMON_OPTS

View File

@ -3,6 +3,17 @@ Description=sflow accounting daemon
After=network.target After=network.target
[Service] [Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
ProtectHostname=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=forking Type=forking
EnvironmentFile=-/etc/sysconfig/sfacctd EnvironmentFile=-/etc/sysconfig/sfacctd
ExecStart=/usr/sbin/sfacctd -f ${SFACCTD_CONF} $DAEMON_OPTS ExecStart=/usr/sbin/sfacctd -f ${SFACCTD_CONF} $DAEMON_OPTS