[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Seeking help to diagnose a PAM issue of GNU/kFreeBSD.



Dear all,

måndag den 27 januari 2014 klockan 15:54 skrev Robert Millan detta:
> On 26/01/2014 20:51, Mats Erik Andersson wrote:
> > Dear all,
> > 
> > I am since two years the driving developer of GNU Inetutils.
> > Building "inetutils-ftpd" on kfreebsd-amd64 on Wheeze with
> > PAM support produces authentication failures of this kind
> > 
> >    $ tail -2 /var/log/auth.log
> >    .. thule ftpd[1234]: PAM unable to dlopen(pam_unix): \

Issue resolved: my entry in "/etc/pam.d/ftp" read "pam_unix",
not the expected "pam_unix.so" with a file extension!

However, while turning on debugging in a newly built libpam0g
and libpam-modules, I get the impression that the rules file
used by "src:libpam" is incomplete: The module directory is not
multiarch aware. Am I off my home ground here, or should the
packaging be improved?

Best regards,
  Mats E A


For libpam-modules_1.1.3-7.1 used in Wheezy:

--- pam-1.1.3/debian/rules.orig
+++ pam-1.1.3/debian/rules
@@ -20,7 +20,8 @@
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-static --enable-shared \
 		--libdir=/lib/$(DEB_HOST_MULTIARCH) \
-		--enable-isadir=/lib/security --disable-audit
+		--enable-isadir=/lib/$(DEB_HOST_MULTIARCH)/security \
+		--disable-audit
 
 # make sure the SAG, MWG, ADG are readable with a browser.
 override_dh_compress:


Reply to: