Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93183 - gnome-base/gdm openpam compatibility
Summary: gnome-base/gdm openpam compatibility
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 93118
Blocks: 79024 93119
  Show dependency tree
 
Reported: 2005-05-19 04:14 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-04-12 10:50 UTC (History)
2 users (show)

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


Attachments
Ebuild patch (gdm.patch,1.54 KB, patch)
2005-05-19 04:15 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
gdm (gdm,245 bytes, text/plain)
2005-05-19 04:16 UTC, Diego Elio Pettenò (RETIRED)
Details
gdm-autologin (gdm-autologin,248 bytes, text/plain)
2005-05-19 04:16 UTC, Diego Elio Pettenò (RETIRED)
Details
gdmconfig (gdmconfig,193 bytes, text/plain)
2005-05-19 04:17 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-19 04:14:48 UTC
The attached patch applied over current ebuild, and the three pamd files (put in the right place, see the ebuild patch) allows gdm to work with openpam implementation: it removes the /lib/security prefix in pamd configuration file (breaks also no-lib32 profile of amd64) and uses include directive instead of pam_stack; it also move pam_env sa optional as it's a non-standard pam module which doesn't exists by default in fbsd.

I've added a domansecurity function to simplify the installation, it's in the pam eclass which is still not in the tree so needs to wait for it to be before this patch can be applied clean.

Thanks, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-19 04:15:56 UTC
Created attachment 59287 [details, diff]
Ebuild patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-19 04:16:42 UTC
Created attachment 59288 [details]
gdm
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-19 04:16:54 UTC
Created attachment 59289 [details]
gdm-autologin
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-19 04:17:05 UTC
Created attachment 59290 [details]
gdmconfig
Comment 5 foser (RETIRED) gentoo-dev 2005-05-19 06:36:15 UTC
So get us up to speed here, this works fine for both pam implementations ?

The ebuild patch needs only to install the pam stuff if it's actually used
(thats why there's the USE flag).
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-19 06:44:46 UTC
Yes this works fine on both implementation. 
I've set this bug dependent on bug #93118 because it uses the functions 
defined in the new pam eclass, which is not in tree right now. 
 
new/dopamd, new/dopamsecurity installs the files just if pam useflag is 
selected by user (and if it's in $IUSE to avoid problems when pam is 
mandatory), so no need to use an if check for this (see always the eclass 
above). 
 
Comment 7 foser (RETIRED) gentoo-dev 2005-06-03 15:15:55 UTC
added to gdm-2.6.0.9-r1