SHA256
1
0
forked from pool/ptpd

Accepting request 930828 from network:time

OBS-URL: https://build.opensuse.org/request/show/930828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ptpd?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2021-11-11 20:38:15 +00:00 committed by Git OBS Bridge
commit 5037d8bb25
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 20 14:32:53 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* ptpd2.service
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 19 09:08:14 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org> Wed Aug 19 09:08:14 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -2,6 +2,16 @@
Description=ptpd time precision daemon Description=ptpd time precision daemon
[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
# end of automatic additions
Type=forking Type=forking
EnvironmentFile=-/etc/sysconfig/ptpd2 EnvironmentFile=-/etc/sysconfig/ptpd2
ExecStart=/usr/sbin/ptpd2 -c $PTPD_CONFIG_FILE $PTPD_EXTRA_OPTIONS ExecStart=/usr/sbin/ptpd2 -c $PTPD_CONFIG_FILE $PTPD_EXTRA_OPTIONS