Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178866 - net-ftp/proftpd-1.3.1_rc2-r1 PAM Login broken
Summary: net-ftp/proftpd-1.3.1_rc2-r1 PAM Login broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luca Longinotti (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 175082
  Show dependency tree
 
Reported: 2007-05-17 11:45 UTC by SchAmane
Modified: 2007-06-10 19:38 UTC (History)
2 users (show)

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


Attachments
proftpd-1.3.1_rc2-r2.ebuild (proftpd-1.3.1_rc2-r2.ebuild,6.14 KB, text/plain)
2007-05-22 12:11 UTC, SchAmane
Details
proftpd-1.3.1_rc2-bug178866.patch (proftpd-1.3.1_rc2-bug175082-r1.patch,1.88 KB, patch)
2007-05-22 12:12 UTC, SchAmane
Details | Diff
proftpd-1.3.1_rc2-r2.ebuild (proftpd-1.3.1_rc2-r2.ebuild,6.14 KB, text/plain)
2007-05-22 12:14 UTC, SchAmane
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SchAmane 2007-05-17 11:45:39 UTC
New ebuild brakes PAM auth.
Same configs, same system:
 1.3.1_rc2 works just fine with users logined over pam
 1.3.1_rc2-r1 - only system users can login, but not users from pam.

I am downgrading actually.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-17 12:02:44 UTC
<snip>
@@ -53,6 +53,11 @@
 
 	cd "${S}"
 
+	# Fix bugs #164612, #167003 and #175082
+	epatch "${FILESDIR}/${P}-bug164612.patch"
+	epatch "${FILESDIR}/${P}-bug167003.patch"
+	epatch "${FILESDIR}/${P}-bug175082.patch"
+
 	# Fix stripping of files
 	sed -e "s| @INSTALL_STRIP@||g" -i Make*
 
</snip>

Hmm... if you comment out the last patch (bug175082.patch) and rebuild this, does it work? Don't see what else could cause this.
Comment 2 SchAmane 2007-05-17 12:17:29 UTC
Yes, removing last patch from ebuild fix PAM login.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-05-17 12:23:47 UTC
(In reply to comment #2)
> Yes, removing last patch from ebuild fix PAM login.

Ooops, that sucks. :/ 

Comment 4 Luca Longinotti (RETIRED) gentoo-dev 2007-05-17 14:57:57 UTC
Can you please report this upstream at http://bugs.proftpd.org/ ? Thanks!
Because we use their proftpd-1.3.1_rc2, and only add that patch, also gotten directly from their CVS, and I couldn't find any other bugfix regarding this, so it's them who have to fix it I think, and they need to know about it to do that. ;)
Thanks and best regards, CHTEKK.
Comment 5 SchAmane 2007-05-17 15:12:37 UTC
yes. I wrote my comment to:
http://bugs.proftpd.org/show_bug.cgi?id=2922#c7
Comment 6 Luca Longinotti (RETIRED) gentoo-dev 2007-05-19 23:11:28 UTC
There is a patch at http://bugs.proftpd.org/attachment.cgi?id=2634&action=view now, can you please try to also add this one (just put it into $FILESDIR and add an epatch line for it _after_ the three others) to the ebuild and test it? If it works, please confirm it on the ProFTPd bug, thanks!
Best regards, CHTEKK.
Comment 7 SchAmane 2007-05-21 17:01:50 UTC
I will check this new patch in few days and post my comment here.
Comment 8 SchAmane 2007-05-22 12:10:51 UTC
I confirm, this patch fix PAM logins.
http://bugs.proftpd.org/attachment.cgi?id=2634&action=view

I attach my working files.
Comment 9 SchAmane 2007-05-22 12:11:25 UTC
Created attachment 119987 [details]
proftpd-1.3.1_rc2-r2.ebuild
Comment 10 SchAmane 2007-05-22 12:12:01 UTC
Created attachment 119989 [details, diff]
proftpd-1.3.1_rc2-bug178866.patch
Comment 11 SchAmane 2007-05-22 12:12:34 UTC
Comment on attachment 119987 [details]
proftpd-1.3.1_rc2-r2.ebuild

New version bump
Comment 12 SchAmane 2007-05-22 12:14:30 UTC
Created attachment 119990 [details]
proftpd-1.3.1_rc2-r2.ebuild

correct patch
Comment 13 Lars Hartmann 2007-06-08 10:08:49 UTC
This Bug affects a security bug.
maintainers - please advice
Comment 14 Luca Longinotti (RETIRED) gentoo-dev 2007-06-10 19:38:04 UTC
Fixed in proftpd-1.3.1_rc2-r2.
Thanks for all the help, CHTEKK.