[Pkg-sssd-devel] Bug#748671: Bug#748671: libnss-sss: Multiarch package removes configuration without reference counting
Timo Aaltonen
tjaalton at debian.org
Mon Aug 18 21:39:07 UTC 2014
On 19.05.2014 16:23, Josselin Mouette wrote:
> Package: libnss-sss
> Version: 1.11.5.1-1
> Severity: serious
>
> Hi,
>
> libnss-sss has the following code in postrm:
>
> sed -i --regexp-extended '
> /^(passwd|group|shadow|netgroup):/ {
> s/\bsss\b//g
> s/[[:space:]]+$//
> }
> ' /etc/nsswitch.conf
>
> This code is executed on removal or purge, unconditionnally.
>
> However, this is a multiarch package, which means it can be removed or
> purged while still being installed in another architecture.
>
> Therefore, the following process:
> install libnss-sss:amd64
> install libnss-sss:i386
> remove libnss-sss:i386
> leaves an unusable libnss-sss:amd64 installed on the system.
>
> The DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT variable (since dpkg 1.17.2)
> should help deal with such a situation.
>
> Thanks,
Right, this is fixed in git now, pending some other packaging fixes so
the new release can be uploaded (soon).
--
t
More information about the Pkg-sssd-devel
mailing list