LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-19-2006, 02:50 PM   #1
nildarb
LQ Newbie
 
Registered: Jun 2003
Location: Texas
Distribution: Fedora Core 6
Posts: 14

Rep: Reputation: 0
Unhappy avahi - kernel compile


A lot of info here which may or may not apply . Please bear with me . I am running FC5 and just built the kernel (2.6.26-1.2080) to exclude "default linux capabilities" so i could use dazuko kernel module. To do this I had to enable source and testing in repos to get the neccesary tools . Then did a yum update .It updated to kde 3.5.2. and I am now unable to login in to my user account with that kernel. Root works fine. Kernel 2.6.15-1.2054 works fine with the new kde in root and user account.
--Problem--
2.6.16 rebuild : avahid times out and can only login to root account.
/var/logs/messages :
avahi-daemon[3015]: cap_set_proc() failed: Operation not permitted
avahi-daemon[3095]: cap_set_proc() failed: Operation not permitted
avahi-daemon[3055]: Found user 'avahi' (UID 70) and group 'avahi' (GID 70).
avahi-daemon[3055]: Successfully dropped root privileges.
avahi-daemon[3055]: avahi-daemon 0.6.9 starting up.
avahi-daemon[3055]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
avahi-daemon[3055]: Successfully called chroot().
avahi-daemon[3055]: Successfully dropped remaining capabilities.
avahi-daemon[3055]: Failed to read service directory.
avahi-daemon[3055]: New relevant interface eth0.IPv4 for mDNS.
avahi-daemon[3055]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.100.
avahi-daemon[3055]: Network interface enumeration completed.
 
Old 04-19-2006, 04:25 PM   #2
rick.2g
Member
 
Registered: Sep 2005
Posts: 41

Rep: Reputation: 15
Have you tested the newer kernel without the dazuko module? Dazuko works by intercepting some access calls, so it's possible it could be causing problems with a new kernel.
I don't think the avahi is going to be strictly related to the problem, since it's a service, not a module. So, unless it's the only place you're seeing the failure, you might want to just disable it for a bit to try and isolate the problem. Am I right in assuming that ALL users are unable to login except for root?
 
Old 04-19-2006, 04:59 PM   #3
nildarb
LQ Newbie
 
Registered: Jun 2003
Location: Texas
Distribution: Fedora Core 6
Posts: 14

Original Poster
Rep: Reputation: 0
I created another user account to try that and could not login to that account either.I will do some trial and error testing and post back. I did some of this last night and just remembered I had a full /tmp file ( no room left ) .
 
Old 04-19-2006, 05:13 PM   #4
rick.2g
Member
 
Registered: Sep 2005
Posts: 41

Rep: Reputation: 15
It seems a bit unlikely that the /tmp is causing problems... it's possible I guess. Losing user access due to a kernel change is a pretty unusual problem - and I can't think of anything OUTSIDE the kernel which could cause it, which makes me suspicous of the dazuko module.

If you can, try to isolate the problem as much as possible to the module or the specific kernel version which fails with it. Jumping from 2.6.15 to 2.6.26 really _shouldn't_ be a problem, but it's still a significant version leap.
 
Old 04-19-2006, 05:40 PM   #5
rick.2g
Member
 
Registered: Sep 2005
Posts: 41

Rep: Reputation: 15
- couple'a stupid questions I should have already asked :
Are you using graphical login or text?
Can you change from root to a different user using the 'su' command?
Are you compiling the kernel and the module, or are you using precompiled binaries?
Are you excluding the default capabilities entirely, or are you building them as a module?
Is the dazuko module even running yet at login time, or does it load on demand from an app?

Last edited by rick.2g; 04-19-2006 at 05:44 PM.
 
Old 04-19-2006, 05:54 PM   #6
nildarb
LQ Newbie
 
Registered: Jun 2003
Location: Texas
Distribution: Fedora Core 6
Posts: 14

Original Poster
Rep: Reputation: 0
GOT IT . Apparently capability module must be running or avahi cant start. Once this mod was loaded I could finally start avahid , then I could login as usual . Great. However now it seems I have two user accounts with the same name ; One is under the 2.6.15 kernel , and it is exactly the same as before. The other is under the new kernel and is a default user account . ??????
 
Old 04-19-2006, 05:58 PM   #7
rick.2g
Member
 
Registered: Sep 2005
Posts: 41

Rep: Reputation: 15
hmm. got me on that one. AFAIK, the kernels shouldn't be reading the users differently. I'd just try getting rid of it and seeing what happens. The original one should be setup in a wheel file somewhere, so it shouldn't matter if the actual user gets erased. Why the 2.6.15 doesn't pick it up is a good question.
 
  


Reply


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
How to restore out-of-box kernel settings if my kernel compile fails? brgr88 Slackware 8 04-18-2006 06:51 AM
Ubuntu + avahi-daemon/tools Valhalla Linux - Software 0 12-10-2005 03:58 PM
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM


All times are GMT -5. The time now is 02:37 AM.

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