Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141992 - boot services looks / instead of /root for root-specific dot confs
Summary: boot services looks / instead of /root for root-specific dot confs
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-28 04:21 UTC by Andrea Barisani (RETIRED)
Modified: 2006-07-30 16:49 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 Andrea Barisani (RETIRED) gentoo-dev 2006-07-28 04:21:52 UTC
Example:

in a LDAP setup root user needs /root/.ldaprc for client side certs (they cannot
be specified globally). In a LDAP setup recent baselayouts apparently mess with
$HOME during startup and services tries to find /.ldaprc instead of /root/.ldaprc.

Without that file things like courier-imap, sendmail, openssh with ldap patch and
so on will fail to load the proper configuration and require restarting after boot
for fixage.

Copying (or linking) /root/.ldaprc to / solves the problem but it's certainly ugly.
Comment 1 Andrea Barisani (RETIRED) gentoo-dev 2006-07-28 04:34:02 UTC
Using baselayout-1.11.15-r3
Comment 2 SpanKY gentoo-dev 2006-07-30 16:49:24 UTC
should work fine with baselayout-1.12.x

imho, putting config files in /root/ for services is stupid in the first place