Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why do modules get loaded when I log in?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Thu Jun 05, 2003 1:15 pm    Post subject: Why do modules get loaded when I log in? Reply with quote

Hi.

This puzzles me:

On a freshly booted system, whenever I log in as root and do a lsmod, I see four modules loaded: usbcore and three sound modules. This is OK as I specify those in modules.autoload.

But when I log in as regular user for the first time, a lot of device driver modules get loaded:
floppy, ide-cd, ide-scsi, scsi_mod, sg, sr_mod, sd_mod, cdrom.

These are the modules corresponding to my three drives: the floppy, an IDE cdrom and an USB CD-burner, using SCSI-emulation.

My regular user is member of the groups corresponding to those devices: floppy, cdrom and various cd burner groups.

Still, I would very much like those modules NOT be loaded at login time, but I have not been able to firgure out what triggers their loading. I am suspecting PAM, but cannot be sure.

Please help?
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9539
Location: beyond the rim

PostPosted: Fri Jun 06, 2003 8:28 pm    Post subject: Reply with quote

I have this "problem" too on my laptop. I suspect that it is caused by /etc/devfsd.conf for the permission checks. Try adding a user and do not add it to any group, if the modules don't get loaded when this new user log in it is caused by devfsd. It's not a solution but you would be closer to the troublemaker.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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