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

Bug 93118

Summary: pam eclass for handling of pam-related files
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled>
Status: RESOLVED FIXED    
Severity: enhancement CC: bsd+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 86823, 93119, 93122, 93151, 93159, 93169, 93174, 93177, 93179, 93183, 93201, 93205    
Attachments: pam.eclass
pam.eclass

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.