View previous topic :: View next topic |
Author |
Message |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Tue Jul 15, 2008 2:53 am Post subject: [SOLVED] dnsmasq: setting capabilities failed |
|
|
I recently upgraded from 2.41 to 2.43. Now, when I start dnsmasq, I get the following:
Code: |
* Starting dnsmasq ...
dnsmasq: setting capabilities failed: Operation not permitted [ !! ]
|
No config files were changed, apparently.
What gives? _________________ Vermont Free PC
http://www.vtfreepc.org
Last edited by rev138 on Wed Jul 16, 2008 11:23 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Wed Jul 16, 2008 11:04 pm Post subject: |
|
|
Anyone?
I find it hard to believe I'm the only one experiencing this... _________________ Vermont Free PC
http://www.vtfreepc.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vaguy02 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1630139893473503dc2fcb0.png)
Joined: 25 Feb 2005 Posts: 424 Location: Hopefully in one place
|
Posted: Wed Jul 16, 2008 11:05 pm Post subject: |
|
|
Can we get some log files? _________________ Linux Registered User #458185
Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Wed Jul 16, 2008 11:08 pm Post subject: |
|
|
This is what I get in /var/log/messages when I restart the init script:
Code: |
Jul 16 18:11:58 woodchuck dnsmasq[24765]: exiting on receipt of SIGTERM
Jul 16 18:12:01 woodchuck dnsmasq[2316]: setting capabilities failed: Operation not permitted
Jul 16 18:12:01 woodchuck dnsmasq[2316]: FAILED to start up
|
Not very informative. I'm unaware of anywhere else it might be logging. _________________ Vermont Free PC
http://www.vtfreepc.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Wed Jul 16, 2008 11:11 pm Post subject: |
|
|
Could this have anything to do with CONFIG_SECURITY_CAPABILITIES in the kernel? Mine is not enabled. _________________ Vermont Free PC
http://www.vtfreepc.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vaguy02 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1630139893473503dc2fcb0.png)
Joined: 25 Feb 2005 Posts: 424 Location: Hopefully in one place
|
Posted: Wed Jul 16, 2008 11:12 pm Post subject: |
|
|
How about /etc/dnsmasq.conf? _________________ Linux Registered User #458185
Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Wed Jul 16, 2008 11:15 pm Post subject: |
|
|
/etc/dnsmasq.conf
Code: |
domain-needed
bogus-priv
filterwin2k
localise-queries
listen-address=10.1.0.1
dhcp-range=lan.hzsogood.net,10.1.0.100,10.1.0.250,255.255.255.0,12h
local=/lan.hzsogood.net/
domain=lan.hzsogood.net
expand-hosts
no-negcache
resolv-file=/etc/resolv.conf
dhcp-authoritative
dhcp-leasefile=/etc/dhcp.leases
read-ethers
dhcp-host=00:14:A4:60:73:66,kong,infinite
dhcp-host=00:1d:d9:45:1f:8a,theharlequin,infinite
dhcp-host=00:01:e6:4e:64:47,printer,infinite
|
_________________ Vermont Free PC
http://www.vtfreepc.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vaguy02 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1630139893473503dc2fcb0.png)
Joined: 25 Feb 2005 Posts: 424 Location: Hopefully in one place
|
Posted: Wed Jul 16, 2008 11:18 pm Post subject: |
|
|
Nothing looks out of the ordinary to me. _________________ Linux Registered User #458185
Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Wed Jul 16, 2008 11:23 pm Post subject: |
|
|
rev138 wrote: | Could this have anything to do with CONFIG_SECURITY_CAPABILITIES in the kernel? Mine is not enabled. |
It does...
http://www.thekelleys.org.uk/dnsmasq/docs/FAQ wrote: | Q: Dnsmasq fails to start up with a message about capabilities.
Why did that happen and what can do to fix it?
A: Change your kernel configuration: either deselect CONFIG_SECURITY
_or_ select CONFIG_SECURITY_CAPABILITIES. Alternatively, you can
remove the need to set capabilities by running dnsmasq as root.
|
_________________ Vermont Free PC
http://www.vtfreepc.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Wed Jul 16, 2008 11:41 pm Post subject: |
|
|
Yup, that worked ![Smile :)](images/smiles/icon_smile.gif) _________________ Vermont Free PC
http://www.vtfreepc.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|