Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185413 - =sys-libs/pam-0.99.8.0-r2 fails to deal with /etc/pam.d/ subdirectories (RCS,CVS,...)
Summary: =sys-libs/pam-0.99.8.0-r2 fails to deal with /etc/pam.d/ subdirectories (RCS,...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-15 14:20 UTC by Wolfram Schlich (RETIRED)
Modified: 2007-07-15 15:16 UTC (History)
0 users

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


Attachments
Patch to handle /etc/pam.d/ subdirectories correctly (pam-0.99.8.0-r2.ebuild.diff,1.43 KB, patch)
2007-07-15 14:21 UTC, Wolfram Schlich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2007-07-15 14:20:08 UTC
I am using RCS to handle changes to /etc/pam.d/ files, thus, I have a directory /etc/pam.d/RCS/. The pam-0.99.8.0-r2.ebuild fails to deal correctly with that case:
--8<--
[...]
 * checking Linux-PAM-0.99.8.0-ldflags-to-libadd.patch.bz2 ;-) ...                                                                                                      [ ok ]
sed: read error on /etc/pam.d/RCS: Is a directory
sed: read error on /etc/pam.d/RCS: Is a directory
sed: read error on /etc/pam.d/RCS: Is a directory
sed: read error on /etc/pam.d/RCS: Is a directory
sed: read error on /etc/pam.d/RCS: Is a directory
>>> Unpacking source...
[...]
--8<--

I will attach a patch to the ebuild.
Comment 1 Wolfram Schlich (RETIRED) gentoo-dev 2007-07-15 14:21:25 UTC
Created attachment 124923 [details, diff]
Patch to handle /etc/pam.d/ subdirectories correctly

Attached is a diff to the ebuild that should fix it,
but it depends on the 'find' utility...
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-07-15 15:16:23 UTC
I disagree with this patch, running find all those times is not exactly something I'd like to do while building PAM just to shut up a warning from sed that it can't act on subdirectories, especially since you're _not_ going to look into subdirectories.

I would say your setup is far from common so you can cope with these few warnings. As far as I can see only RCS and CVS use non-hidden folders, SVN, HG, GIT, BZR all use .folders, so won't create such a problem.