Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93159 - x11-misc/xlockmore: ebuild cleanup and openpam compatibility
Summary: x11-misc/xlockmore: ebuild cleanup and openpam compatibility
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Jonathan Smith (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 93118
Blocks: 79024 93119
  Show dependency tree
 
Reported: 2005-05-19 01:59 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-06-15 14:08 UTC (History)
3 users (show)

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


Attachments
Ebuild patch (xlockmore-5.12.patch,2.44 KB, patch)
2005-05-19 01:59 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

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 01:59:12 UTC
Currently xlockmore ebuild uses pam_stack in its pamd file to mimic system-auth auth class. This is non-portable outside of sys-libs/pam, so won't work on G/FBSD (for example).

The attached patch applied over current ebuild, instead of using a pam_stack-based pamd file, creates the pamd file "on the fly" with the pamd_mimic_system function inside pam eclass (still not in tree, see bug #93118), which uses include syntax (which requires sys-libs/pam 0.78 or openpam, so virtual/pam).

I've also cleaned the ebuild up a bit, moving the patching into src_unpack, and using econf instead of ./configure.

HTH, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-19 01:59:29 UTC
Created attachment 59268 [details, diff]
Ebuild patch
Comment 2 Jonathan Smith (RETIRED) gentoo-dev 2005-06-13 16:36:08 UTC
fixed, and added a version bump while i was at it
Comment 3 Jason Wever (RETIRED) gentoo-dev 2005-06-14 12:10:32 UTC
this change appears to have broken regular pam authentication on linux as I can
no longer unlock my screensaver (using the combo of xautolock and xlockmore).
Comment 4 Jonathan Smith (RETIRED) gentoo-dev 2005-06-14 12:14:59 UTC
reopened due to comment #3
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-14 12:16:04 UTC
Here works fine, you're using sys-libs/pam-0.78 right? 
 
Comment 6 Jason Wever (RETIRED) gentoo-dev 2005-06-14 13:11:37 UTC
Just to provide more info, I experienced this on an ~x86 system running all of
the latest and greatest versions of everything and all of my config files are up
to date.  However, the odd part here is the logs show no authentication
attempts.  Let me know if you want me to provide "emerge info" or anything else
you'd consider to be useful.

Yes I'm using sys-libs/pam-0.78-r2.  I just re-emerged it and it appears that
some of the configuration files have changed since it was originally installed.
 However, this caused no change in the behavior of xlockmore for me.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-15 07:54:42 UTC
Ok found the problem, and belongs to another bug. 
 
The same setup with version 5.12 works (and was the one I tested here because 
it was the one I used to make the patch) but doesn't on 5.18, so the problem 
seems to lie there. 
 
Comment 8 Jason Wever (RETIRED) gentoo-dev 2005-06-15 13:28:28 UTC
What other bug does this problem belong to?
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-15 13:50:38 UTC
Well a new one to open :P 
 
Comment 10 Jason Wever (RETIRED) gentoo-dev 2005-06-15 13:57:20 UTC
Well, you basically said "I know what the problem is" but you provide 0 details
on what it is.  So how can I open a new bug to address the problem if you're not
providing me any details on what the real problem is here?
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-15 14:08:27 UTC
It's not like "i know what the problem is".. the only thing i know is that 
it's not in this patch :) 
 
The problem must lay on something in >=xlockmore-5.13 which changed.. so it 
should be reported and investigated as another bug (of which I don't know 
anything, I just dealt with it for the virtual/pam openpam compatibility).