[OpenIndiana-discuss] ntpsec startup failure

Predrag Zecevic predrag.zecevic.1961 at googlemail.com
Mon Oct 27 10:14:25 UTC 2025


Hi all,

I have replaced ntpd with ntpsec and found that manifest file has a typo:

:; pkg info ntpsec
              Name: service/network/ntpsec
           Summary: Network Time Protocol Daemon v4
          Category: System/Services
             State: Installed
         Publisher: openindiana.org
           Version: 1.2.4
            Branch: 2025.0.0.1
    Packaging Date: Sat Aug 23 19:32:05 2025
Last Install Time: Mon Oct 27 09:55:50 2025
              Size: 5.52 MB
              FMRI: 
pkg://openindiana.org/service/network/ntpsec@1.2.4-2025.0.0.1:20250823T193205Z
       Project URL: https://www.ntpsec.org/
        Source URL: https://ftp.ntpsec.org/pub/releases/ntpsec-1.2.4.tar.gz

:; grep ntpd  /lib/svc/method/ntpsec | grep -v ^#
             "  See ntpd(1M)."
         /usr/lib/inet/ntpd "$@" --set-debug-level=$deb 
 >/var/ntp/ntp.debug &
         /usr/lib/inet/ntpd "$@"

:; pkg contents ntpsec | grep ntpd
usr/bin/ntpdig
usr/sbin/ntpd
usr/share/doc/ntpsec/ntpd.html
usr/share/doc/ntpsec/ntpdig.html
usr/share/man/man1/ntpdig.1
usr/share/man/man8/ntpd.8

As we see from output above, /usr/lib/inet/ntpd should be replaced with 
/usr/sbin/ntpd and some other fixes are required, as start has failed 
(after I changed it)...

 From /var/adm/messages:
[2025-10-27 11:04:50] solarix genunix: [ID 864859 kern.notice] NOTICE: 
ntpd[47861]: missing privilege "proc_setid" (euid = 0, syscall = 91) 
needed at secpolicy_allow_setid+0x55#012
[2025-10-27 11:04:50] solarix ntpd[47861]: [ID 702911 ntp.error] INIT: 
Cannot initgroups() to user `ntp': Not owner

because (I guess?) of:
:; ls -hl /usr/sbin/ntpd
-r-xr-xr-x 1 root bin 2,0M Oct 27 10:55 /usr/sbin/ntpd

Please, advice.

Regards.

P.S.
I have tried that because on date/time change yesterday, I saw this in 
syslog:
[2025-10-26 02:00:00] solarix genunix: [ID 514117 kern.warning] WARNING: 
Time of Day clock error: reason [Reversed by 0xe0f]. --  Stopped 
tracking Time Of Day clock.

-- 
Predrag Zečević
predrag.zecevic.1961 at googlemail.com




More information about the openindiana-discuss mailing list