Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411257 - sys-apps/dbus - init script should depend on net when using sys-auth/pam_ldap
Summary: sys-apps/dbus - init script should depend on net when using sys-auth/pam_ldap
Status: RESOLVED DUPLICATE of bug 290853
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-08 10:51 UTC by Plopmaster
Modified: 2012-04-12 14:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Plopmaster 2012-04-08 10:51:40 UTC
I use pam_ldap.
At startup, dbus take a long time to start because it tries to fetch some infos from ldap server, that is inaccessible : net is not yet started.
Should I suggest to make dbus dependent of net ?
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-10 13:32:30 UTC
So, what if the LDAP server is local? I don't think it's all black and white.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2012-04-10 14:44:03 UTC
I think the best plan is to document that if you use any authentication modifications, you need to add rc_dbus_need="providers_of_auth" to /etc/rc.conf

So in your case, you would add: rc_dbus_need="net" to /etc/rc.conf and it should work better.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-04-10 19:39:58 UTC
Not a PAM problem: if you have non-trivial set ups you should play with the settings, as Doug said.
Comment 4 Plopmaster 2012-04-12 11:40:40 UTC
I actually works with the Doug's tip :)
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-04-12 14:12:05 UTC

*** This bug has been marked as a duplicate of bug 290853 ***