Hi, If I run timemaster from systemd it fails with:- Aug 02 06:07:41 machinename timemaster[19230]: [1494069.352] process 19231 started: /usr/sbin/chronyd -u chrony -n -f /var/run/timemaster/chrony.conf Aug 02 06:07:41 machinename timemaster[19230]: [1494069.352] process 19232 started: /usr/sbin/ptp4l -l 5 -f /var/run/timemaster/ptp4l.0.conf -H -i eno1 Aug 02 06:07:41 machinename timemaster[19230]: [1494069.352] process 19233 started: /usr/sbin/phc2sys -l 5 -a -r -R 1.00 -z /var/run/timemaster/ptp4l.0.socket -n 0 -E ntpshm -M 0 Aug 02 06:07:41 machinename chronyd[19231]: chronyd version 2.1.1 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +DEBUG +ASYNCDNS +IPV6 +SECHASH) Aug 02 06:07:41 machinename chronyd[19231]: Fatal error : shmget() failed Aug 02 06:07:41 machinename timemaster[19230]: [1494069.353] received signal 17 Aug 02 06:07:41 machinename timemaster[19230]: Fatal error : shmget() failed Aug 02 06:07:41 machinename timemaster[19230]: [1494069.354] process 19231 terminated with status 1 Aug 02 06:07:41 machinename ptp4l[19232]: [1494069.353] driver changed our HWTSTAMP options Aug 02 06:07:41 machinename ptp4l[19232]: [1494069.354] tx_type ?? 1 not 1 Aug 02 06:07:41 machinename ptp4l[19232]: [1494069.354] rx_filter 1 not 12 Aug 02 06:07:41 machinename ptp4l[19232]: [1494069.354] port 1: INITIALIZING to LISTENING on INITIALIZE Aug 02 06:07:41 machinename ptp4l[19232]: [1494069.354] port 0: INITIALIZING to LISTENING on INITIALIZE Aug 02 06:07:41 machinename timemaster[19230]: [1494069.354] process 19232 terminated with status 0 Aug 02 06:07:41 machinename timemaster[19230]: [1494069.354] process 19233 terminated abnormally Aug 02 06:07:41 machinename timemaster[19230]: [1494069.354] exiting Aug 02 06:07:41 machinename systemd[1]: timemaster.service: main process exited, code=exited, status=1/FAILURE Aug 02 06:07:41 machinename systemd[1]: Unit timemaster.service entered failed state. Aug 02 06:07:41 machinename systemd[1]: timemaster.service failed. The timemaster unit file is simple:- Unit] Description=Synchronize system clock to NTP and PTP time sources After=chronyd.service ntpd.service ntpdate.service sntp.service Conflicts=chronyd.service ntpd.service phc2sys.service ptp4l.service [Service] Type=simple ExecStart=/usr/sbin/timemaster -f /etc/timemaster.conf [Install] WantedBy=multi-user.target and If I run "/usr/sbin/timemaster -f /etc/timemaster.conf" all works perfectly. So it must be something related to sharedmemory and systemd. Anyone have any ideas ? Thanks Phil ~ _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos