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

Bug 116571

Summary: sourcing /etc/profile spews errors if there are no files in /etc/profile.d
Product: Gentoo Linux Reporter: Saleem Abdulrasool (RETIRED) <compnerd>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal CC: steev
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: oops-I-did-it-again.patch

Description Saleem Abdulrasool (RETIRED) gentoo-dev 2005-12-23 21:23:14 UTC
Similar to the previous issue, if there is no /etc/profile.d there would be errors.  Now if there is a directory, but no files in it, we get errors.  The attached patch should resolve the issue.
Comment 1 Saleem Abdulrasool (RETIRED) gentoo-dev 2005-12-23 21:23:41 UTC
Created attachment 75434 [details, diff]
oops-I-did-it-again.patch
Comment 2 SpanKY gentoo-dev 2005-12-23 21:31:20 UTC

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