Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93118 - pam eclass for handling of pam-related files
Summary: pam eclass for handling of pam-related files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 86823 93119 93122 93151 93159 93169 93174 93177 93179 93183 93201 93205
  Show dependency tree
 
Reported: 2005-05-18 17:17 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-05-20 05:02 UTC (History)
1 user (show)

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


Attachments
pam.eclass (pam.eclass,2.54 KB, text/plain)
2005-05-18 17:17 UTC, Diego Elio Pettenò (RETIRED)
Details
pam.eclass (pam.eclass,3.21 KB, text/plain)
2005-05-19 04:08 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-18 17:17:01 UTC
Okay just to track this down better, I'm going to attach the last draft I've prepared for pam eclass.

The eclass is though for handle pamd files and pam modules:

- the firsts are installed in /etc/pam.d by the newpamd and dopamd functions, which installs them just if pam useflag is set and is in $IUSE (this fixes for exampel bug #86823)
- the seconds are installed in the correct directory for pam modules which depends on the pam implementation installed: for sys-libs/pam (Linux-PAM) they installs in /$(get_libdir)/security/, for sys-libs/openpam (just in g/fbsd overlay for now) they are installed in /usr/$(get_libdir) (that's just a temporary solution actually but for now I don't want to mess too much with openpam to add support for loading them from a specified path).

There's also a new function, pamd_mimic_system which is used to just include system-auth configuration file for the given access levels. This allows to avoid using pamd files in $FILESDIR for packages which just mimics system-auth.

HTH, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-18 17:17:31 UTC
Created attachment 59246 [details]
pam.eclass
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-19 04:08:11 UTC
Created attachment 59286 [details]
pam.eclass

Updated eclass with /etc/security/* support (needed to cleanup gdm support).
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-20 05:02:18 UTC
pam eclass is now in tree :) 
 
This means that blocked bugs are now un-blocked.