| Linux - Kernel This forum is for all discussion relating to the Linux kernel. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-19-2006, 02:50 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2003
Location: Texas
Distribution: Fedora Core 6
Posts: 14
Rep:
|
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.
|
|
|
|
04-19-2006, 04:25 PM
|
#2
|
|
Member
Registered: Sep 2005
Posts: 41
Rep:
|
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?
|
|
|
|
04-19-2006, 04:59 PM
|
#3
|
|
LQ Newbie
Registered: Jun 2003
Location: Texas
Distribution: Fedora Core 6
Posts: 14
Original Poster
Rep:
|
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 ) .
|
|
|
|
04-19-2006, 05:13 PM
|
#4
|
|
Member
Registered: Sep 2005
Posts: 41
Rep:
|
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.
|
|
|
|
04-19-2006, 05:40 PM
|
#5
|
|
Member
Registered: Sep 2005
Posts: 41
Rep:
|
- 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.
|
|
|
|
04-19-2006, 05:54 PM
|
#6
|
|
LQ Newbie
Registered: Jun 2003
Location: Texas
Distribution: Fedora Core 6
Posts: 14
Original Poster
Rep:
|
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 . ??????
|
|
|
|
04-19-2006, 05:58 PM
|
#7
|
|
Member
Registered: Sep 2005
Posts: 41
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:46 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|