Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 141992

Summary: boot services looks / instead of /root for root-specific dot confs
Product: Gentoo Linux Reporter: Andrea Barisani (RETIRED) <lcars>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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