Accepting request 923440 from network:time
OBS-URL: https://build.opensuse.org/request/show/923440 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/linuxptp?expand=0&rev=9
This commit is contained in:
commit
e54d77e57b
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 5 11:41:43 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
- Added hardening to systemd service(s) (bsc#1181400). Modified:
|
||||||
|
* phc2sys.service
|
||||||
|
* ptp4l.service
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 06 08:06:16 UTC 2021 - jbohac@suse.com
|
Tue Jul 06 08:06:16 UTC 2021 - jbohac@suse.com
|
||||||
|
|
||||||
|
@ -3,6 +3,19 @@ Description=PTP: Synchronize two clocks
|
|||||||
After=ntpdate.service
|
After=ntpdate.service
|
||||||
|
|
||||||
[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
|
||||||
|
ProtectKernelTunables=true
|
||||||
|
ProtectKernelModules=true
|
||||||
|
ProtectKernelLogs=true
|
||||||
|
ProtectControlGroups=true
|
||||||
|
RestrictRealtime=true
|
||||||
|
DeviceAllow=/dev/rtc
|
||||||
|
# end of automatic additions
|
||||||
Type=simple
|
Type=simple
|
||||||
EnvironmentFile=-/etc/sysconfig/phc2sys
|
EnvironmentFile=-/etc/sysconfig/phc2sys
|
||||||
ExecStart=/usr/sbin/phc2sys $OPTIONS
|
ExecStart=/usr/sbin/phc2sys $OPTIONS
|
||||||
|
@ -2,6 +2,19 @@
|
|||||||
Description=PTP: Boundary/Ordinary Clock
|
Description=PTP: Boundary/Ordinary Clock
|
||||||
|
|
||||||
[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
|
||||||
|
ProtectKernelTunables=true
|
||||||
|
ProtectKernelModules=true
|
||||||
|
ProtectKernelLogs=true
|
||||||
|
ProtectControlGroups=true
|
||||||
|
RestrictRealtime=true
|
||||||
|
DeviceAllow=/dev/rtc
|
||||||
|
# end of automatic additions
|
||||||
Type=simple
|
Type=simple
|
||||||
EnvironmentFile=-/etc/sysconfig/ptp4l
|
EnvironmentFile=-/etc/sysconfig/ptp4l
|
||||||
ExecStart=/usr/sbin/ptp4l $OPTIONS
|
ExecStart=/usr/sbin/ptp4l $OPTIONS
|
||||||
|
Loading…
Reference in New Issue
Block a user