Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NTP Permissions? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
justincataldo
Guru
Guru


Joined: 15 Jun 2005
Posts: 376
Location: Australia

PostPosted: Tue Jan 31, 2006 5:08 am    Post subject: NTP Permissions? [SOLVED] Reply with quote

I've just followed the wiki on how to set up NTP. But it doesn't appear to be working due to a permissions issue.

See the following:
Code:

yang # ntpq -c rv
ntpq: read: Connection refused
yang #

and
Code:

yang # cat /var/log/ntp.log
31 Jan 14:21:26 ntpd[17347]: cap_set_proc() failed to drop root privileges: Operation not permitted
31 Jan 14:33:31 ntpd[17522]: cap_set_proc() failed to drop root privileges: Operation not permitted
yang #

How do I fix this?

Also do I need to amend my /etc/conf.d/clock to say something other than CLOCK="local"? Or does that not matter?
_________________
Core i7 2.67GHz with 12GB DDR3 RAM.


Last edited by justincataldo on Sun Mar 05, 2006 4:16 am; edited 2 times in total
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Tue Jan 31, 2006 6:23 am    Post subject: Reply with quote

You need to setup Default Linux Capabilities under security options in the kernel if I remember correctly.
Back to top
View user's profile Send private message
justincataldo
Guru
Guru


Joined: 15 Jun 2005
Posts: 376
Location: Australia

PostPosted: Thu Feb 02, 2006 10:55 pm    Post subject: Reply with quote

Ah I see. I had it as a module, so I recompiled it in the kernel and it works now.

Thanks for your help! :smile:
_________________
Core i7 2.67GHz with 12GB DDR3 RAM.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum