Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-11-2004, 06:45 AM   #1
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
named failed to start in 2.6.3

werid, today I compile and install kernel 2.6.3 on my work box IBM P3. Everything look fine, however when I tries to start bind "/etc/rc.d/init.d/named start " it fails to start
giving me message "Starting named: Capset failed: Operation not permitted"

however when do have 2.6.3 kernel at my home box however my named is working cool there

I search the net but didn't get any help

anyone with solution please
Old 04-15-2004, 09:43 PM   #2
LQ Newbie
Registered: Aug 2003
Location: New York
Posts: 3

Rep: Reputation: 0
bind named capset and permissions in kernel 2.6.x with LSM compiled into kernel

The answer to this is unobvious to anyone not using the LSM or SE linux patches

i got this from a translated spanish user group:

try modprobe capability
and restart named , it should bind to the socket and set its uid properly

at least it did for me with kernel 2.6.6.rc1

incidently if you dont compile kernel 2.6.x with the security enhancements such as SElinux and LSM you dont need to do this. you may want to recompile if this is your desktop system and not a server.

good luck

Old 08-23-2004, 12:16 PM   #3
Registered: Apr 2002
Location: Houston Texas
Distribution: Debian / Gentoo / RHEL
Posts: 209

Rep: Reputation: 31
This worked great for me.
Old 11-03-2004, 07:02 PM   #4
Registered: Sep 2004
Location: Nowhere Special (if you don't get it, rent Blazing Saddles)
Distribution: Gentoo Linux
Posts: 63

Rep: Reputation: 15
modprobe capability gave me the module not found error. EVEN THOUGH I am positive I included SElinux into my kernel. sorry to put it so bluntly, but what the **** is going on??

PS: I'm using Gentoo's developmental kernel gentoo-linux-2.6.9-r1 aka gentoo-dev-sources.
Old 11-19-2004, 03:11 PM   #5
LQ Newbie
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
working! :)

'modprobe capability' worked for me
uname -a:
Linux 2.6.7-10.0.aur.9 #1 Thu Aug 12 05:01:38 EDT 2004 i686 i686 i386 GNU/Linux

thanks for saving my time
Old 11-21-2004, 02:25 AM   #6
Andreas Huppert
LQ Newbie
Registered: Nov 2004
Location: Freising, Germany
Distribution: Fedora 3
Posts: 6

Rep: Reputation: 0
I had the same problem but I was able to start it manually:
# cd /etc/init.d
# sh named stop
# sh named start ===> OK

That means it was started too "early" in the boot sequence. So - without any further investigation - I moved the S55named
to S61named in the directory /etc/rc5.d. My boot sequence is now as follows: S55cups, S55sshd, S56xinetd, S58ntpd, S60nfs,
S61named and it works without any problem.
Andreas Huppert
Old 11-25-2004, 10:23 AM   #7
Registered: Sep 2004
Location: Nowhere Special (if you don't get it, rent Blazing Saddles)
Distribution: Gentoo Linux
Posts: 63

Rep: Reputation: 15
wait a minute... this is going to sound really stupid but it turns out that I really DIDN'T have capability installed in my kernel. so I had to update my kernel anyway, so I did that then I included capability and it works now...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Named service won't start DanielTan Fedora - Installation 2 09-28-2005 12:54 PM
-u named ${OPTIONS} [FAILED] Aziz Linux - Software 4 07-09-2005 10:45 PM
named does not start on redhat opsraja Red Hat 2 02-24-2005 06:51 PM
named failed and fixed cz1179 Linux - General 1 01-15-2005 04:01 AM
suse.. named failed at booting chtla Linux - Software 0 01-05-2005 08:20 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration