Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 67815
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: SpanKY <vapier@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 67815 depends on: 35405 Show dependency tree
Bug 67815 blocks: 69066
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-16 14:48 0000
this bug is to help us track what needs to be done in order to get Gentoo to
work just fine without PAM

currently i know of these issues:
- PROVIDE be conditional via USE: Bug 32114
- install login.defs with shadow when USE=-pam: Bug 35405
- remove pam / pam-login from profiles/base/packages since `USE=pam emerge
shadow` would do the right thing

------- Comment #1 From edoceo 2004-10-26 13:46:24 0000 -------
See also 69066

------- Comment #2 From SpanKY 2004-10-28 19:32:56 0000 -------
ok, all resolved now except for Bug 69066:

we need to:
 - create a virtual/login and put it into base/packages
 - remove pam / pam-login from base/packages
 - add a virtual/login in base/virtuals with pam-login as default provider

------- Comment #3 From Sebastian 2004-11-09 11:35:56 0000 -------
Hi!

Are there any updates on this matter? I'd really like PAM to be removed from my Gentoo. 

Thanks
Sebastian

------- Comment #4 From SpanKY 2004-11-09 21:38:53 0000 -------
we have to close sub bugs before we can close this one ;)

atm we need portage-2.0.51-r4 or better to be released

------- Comment #5 From SpanKY 2004-11-23 20:36:00 0000 -------
ok, for now, we have just shadow and pam-login that provide /bin/login

so rather than screwing around with virtual/login, i updated shadow-4.0.[56] like this:
DEPEND="
    pam? ( sys-libs/pam sys-apps/pam-login )
    !pam? ( !sys-apps/pam-login )
"

------- Comment #6 From Peter S. Mazinger 2004-11-25 00:14:28 0000 -------
DEPEND="
    pam? ( sys-libs/pam sys-apps/pam-login )
    !pam? ( !sys-apps/pam-login )
"
the above condition was entered as
DEPEND="
    pam? ( sys-libs/pam sys-apps/pam-login )
    !pam? ( sys-apps/pam-login ) /* w/o additional ! */
"
and it pulls in pam-login for all cases (and pam-login depending on pam pulls 
pam also in)
uclibc killed
I can't disable RESOLVED FIXED, but it is not resolved fixed
All shadow versions stable and up are involved

------- Comment #7 From solar 2004-11-25 06:57:45 0000 -------
Reopeing bug per comment #6
Attempting to verify.

------- Comment #8 From solar 2004-11-25 07:26:09 0000 -------
Updating the ebuild to refelect 

Index: shadow-4.0.5-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.5-r2.ebuild,v
retrieving revision 1.4
diff -u -b -B -w -p -r1.4 shadow-4.0.5-r2.ebuild
--- shadow-4.0.5-r2.ebuild	24 Nov 2004 04:34:46 -0000	1.4
+++ shadow-4.0.5-r2.ebuild	25 Nov 2004 15:23:41 -0000
@@ -18,7 +18,7 @@ IUSE="pam selinux nls skey"
 
 RDEPEND=">=sys-libs/cracklib-2.7-r3
 	pam? ( >=sys-libs/pam-0.75-r4 sys-apps/pam-login )
-	!pam? ( sys-apps/pam-login )
+	!pam? ( !sys-apps/pam-login )
 	skey? ( app-admin/skey )
 	selinux? ( sys-libs/libselinux )"
 DEPEND="${DEPEND}
Index: shadow-4.0.5-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.5-r3.ebuild,v
retrieving revision 1.3
diff -u -b -B -w -p -r1.3 shadow-4.0.5-r3.ebuild
--- shadow-4.0.5-r3.ebuild	24 Nov 2004 04:34:46 -0000	1.3
+++ shadow-4.0.5-r3.ebuild	25 Nov 2004 15:23:42 -0000
@@ -18,7 +18,7 @@ IUSE="pam selinux nls skey"
 
 RDEPEND=">=sys-libs/cracklib-2.7-r3
 	pam? ( >=sys-libs/pam-0.75-r4 sys-apps/pam-login )
-	!pam? ( sys-apps/pam-login )
+	!pam? ( !sys-apps/pam-login )
 	skey? ( app-admin/skey )
 	selinux? ( sys-libs/libselinux )"
 DEPEND="${DEPEND}
Index: shadow-4.0.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.6.ebuild,v
retrieving revision 1.3
diff -u -b -B -w -p -r1.3 shadow-4.0.6.ebuild
--- shadow-4.0.6.ebuild	24 Nov 2004 04:34:46 -0000	1.3
+++ shadow-4.0.6.ebuild	25 Nov 2004 15:23:42 -0000
@@ -18,7 +18,7 @@ IUSE="pam selinux nls skey"
 
 RDEPEND=">=sys-libs/cracklib-2.7-r3
 	pam? ( >=sys-libs/pam-0.75-r4 sys-apps/pam-login )
-	!pam? ( sys-apps/pam-login )
+	!pam? ( !sys-apps/pam-login )
 	skey? ( app-admin/skey )
 	selinux? ( sys-libs/libselinux )"
 DEPEND="${DEPEND}

------- Comment #9 From solar 2004-11-25 07:39:07 0000 -------
InCVS
Looks good from native uclibc(-pam) and native glibc(+pam) envs.

changing resolution to FIXED

------- Comment #10 From solar 2004-11-26 15:37:15 0000 -------
*** Bug 72411 has been marked as a duplicate of this bug. ***

------- Comment #11 From Gregorio Guidi (RETIRED) 2004-11-27 15:40:43 0000 -------
Now we have:

shadow-4.0.x.ebuild: RDEPEND="... pam? ( >=sys-libs/pam-0.75-r4 sys-apps/pam-login ) ..."

pam-login-3.14.ebuild: DEPEND="... >=sys-apps/shadow-4.0.2-r5 ..."

It seems a bad thing, shouldn't one of them be PDEPEND?

------- Comment #12 From SpanKY 2004-11-29 17:15:41 0000 -------
pam-login doesnt really require shadow ... removed it from pam-login's DEPEND

------- Comment #13 From Chris Slycord 2006-03-13 19:02:28 0000 -------
(In reply to comment #12)
> pam-login doesnt really require shadow ... removed it from pam-login's DEPEND
> 

sys-apps/pam-login-4.0.14 requires >=sys-apps/shadow-4.0.11.1-r1

sys-apps/shadow-4.0.14-r2 requires !sys-apps/pam-login

So you can't install pam-login without shadow and you can't install shadow with
pam-login.

------- Comment #14 From Chris Slycord 2006-03-13 19:09:35 0000 -------
If you look at the DEPEND in shadow-4.0.14-r1 it says
!pam? ( !sys-apps/pam-login )

And in shadow-4.0.14-r2 it instead just says
!sys-apps/pam-login

Just to make it clear; the blocking issue only comes up starting with shadow
version 4.0.14-r2

------- Comment #15 From solar 2006-03-13 19:23:15 0000 -------
Did you also happen to read the ChangeLog entry?

------- Comment #16 From Daniel Franke 2006-05-31 23:56:12 0000 -------
From comment #14:
> And in shadow-4.0.14-r2 it instead just says
> !sys-apps/pam-login

So it does in shadow-4.0.15-r2.ebuild that recently was marked stable. Now
sys-apps/pam-login blocks the update of 'system' -- a system I used (and
updated successfully) for months. 

Suggestions how to proceed?

------- Comment #17 From solar 2006-06-02 04:06:29 0000 -------
(In reply to comment #16)
..
> Suggestions how to proceed?

This is not really the right bug.. But you simply want to.
emerge -C pam-login && emerge shadow

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug