* Ivo De Decker <[email protected]>, 2012-05-28, 14:48:
libpam-smbpass is marked as "Multi-Arch: same", but does this in prerm:
| if [ "$1" = "remove" ]; then
| pam-auth-update --package --remove smbpasswd-migrate
| fi
This won't do the right thing if multiple copies of the library are
installed and one of them is being removed.
Jakub,
Do you have an example of a package that does 'the right thing'?
No, sorry.
What should the package do? The manpage of pam-auth-update says that
pam-auth-update --remove should be called before removing the module,
but this isn't correct if the module remains for another architecture.
Should pam-auth-update be made multiarch-aware and handle this
automatically?
If binaries from multiple architectures call pam on the same system,
and a pam-module is installed for one of these architectures, but not
for the other one, the pam configuration cannot be correct for both of
them.
Unfortunately, I have no idea what a proper fix would like either.
Are these issues documented somewhere?
I'm not aware of such documentation.
I tried to bring up this topic on debian-devel once, but there were no
answers: http://lists.debian.org/[email protected]
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]