<div class="gmail_quote">On 25 June 2012 02:29, Ivo De Decker <span dir="ltr"><<a href="mailto:ivo.dedecker@ugent.be" target="_blank">ivo.dedecker@ugent.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
tags 647429 help<br>
tags 647430 help<br>
thanks<br>
<br>
On Mon, May 28, 2012 at 04:16:35PM +0200, Jakub Wilk wrote:<br>
> >Jakub,<br>
> ><br>
> >Do you have an example of a package that does 'the right thing'?<br>
><br>
> No, sorry.<br>
><br>
> >What should the package do? The manpage of pam-auth-update says<br>
> >that pam-auth-update --remove should be called before removing the<br>
> >module, but this isn't correct if the module remains for another<br>
> >architecture.<br>
> ><br>
> >Should pam-auth-update be made multiarch-aware and handle this<br>
> >automatically?<br>
> ><br>
> >If binaries from multiple architectures call pam on the same<br>
> >system, and a pam-module is installed for one of these<br>
> >architectures, but not for the other one, the pam configuration<br>
> >cannot be correct for both of them.<br>
><br>
> Unfortunately, I have no idea what a proper fix would like either.<br>
><br>
> >Are these issues documented somewhere?<br>
><br>
> I'm not aware of such documentation.<br>
><br>
> I tried to bring up this topic on debian-devel once, but there were<br>
> no answers: <a href="http://lists.debian.org/20120211115057.GA8401@jwilk.net" target="_blank">http://lists.debian.org/20120211115057.GA8401@jwilk.net</a><br>
<br>
As I don't know what the proper fix for this bug should be, I'm tagging it<br>
'help'. Same thing for #647430, which is the same bug, but for libpam-winbind.<br>
<br>
Cheers,<br>
<br>
Ivo<br>
<br></blockquote><div><br></div><div><div>From a naive reading of the Debian Policy Manual (Section 8.2: shared library support files, <<a href="http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-support-files">http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-support-files</a>>) and Debian Wiki's multi-arch conversion HOWTO (Section: Multi-arch: foreign support packages, <<a href="http://wiki.debian.org/Multiarch/Implementation#Multi-Arch:_foreign_support_packages">http://wiki.debian.org/Multiarch/Implementation#Multi-Arch:_foreign_support_packages</a>>), it appears that the correct solution would be:</div>
<div><ol><li>Split libpam-winbind into 2 packages (likewise for libpam-smbpass);</li><li>One package contains files under /lib/* ;</li><li>The other (libpam-winbind-data?) contains support files under /usr/share/* ;</li><li>
The support files package is made "Multi-Arch: foreign";</li><li>The prerm action should be done in the support files package, so that it is done only once, no matter how many co-installations of libpam-winbind there are.</li>
</ol></div></div><div>I must confess that I'm not a regular Debian contributor, just a grateful user of libpam-winbind who would like to help out (thanks maintainers!). There may be perfectly good reasons why libpam-winbind (and libpam-smbpass) is currently one package that I'm ignorant of.</div>
<div><br></div><div>Regards,</div><div>Frank</div></div>