[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

openntpd adjtime call fails - capabilities falsely set?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

I've installed openntpd (from source) on my woody system (I'm running a
self-compiled 2.6.9 kernel with vs1.9.3 patch) with POSIX capabilities
enabled.

Openntpd tries to set the time but fails. As the process is running as
root I suspect that I would have to set the appropriate capability to
enable it setting the time.

I seem to be blind - I don't find any documentation on how to use
capabilities as a user (and not a programmer).

BTW: The messages I get are:
Jan  8 13:10:15 max openntpd[22252]: adjusting local clock by -2869.708159s
Jan  8 13:10:15 max openntpd[22252]: adjusting local clock by -2869.708159s
Jan  8 13:10:15 max openntpd[22252]: adjtime failed: Invalid argument

ps faxu shows the following for openntpd:
root     22252  0.0  0.1  2320 1008 ?        S    Jan07   0:00
/usr/sbin/openntpd -f /etc/openntp/ntpd.conf
ntp      22253  0.0  0.1  2940 1104 ?        S    Jan07   0:00  \_
/usr/sbin/openntpd -f /etc/openntp/ntpd.conf


Any hints (what to do, where to find suitable documentation)?
Thanx a lot.

Greetings from Regensburg, Germany
Baltasar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB38tpp2YsmzTbIwYRAumWAJ97wsVXnFJ1H7dVrRGWI768fBn99wCfSEDn
yR6AI2jLVIx2ZtSjYxOq84E=
=QqeT
-----END PGP SIGNATURE-----



Reply to: