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

Bug#700472: Upgrade of the foreign arch libc6 causes service restart



On 2019-09-09 22:18, Sven Joachim wrote:
> Control: tags -1 + patch
> 
> On 2013-02-13 06:20 +0600, Andrey Rahmatullin wrote:
> 
> > Package: libc6
> > Version: 2.17-0experimental2
> > Severity: wishlist
> >
> > Filing as wishlist, maybe it's minor or even worse for some people.
> >
> > The postinst script of libc6 checks services that need to be restarted not
> > taking into account that those services may be of a different arch and so not
> > using the libc6 being upgraded. That also means when you upgrade both
> > libc6:amd64 and libc6:i386 you get double restart of all those services.
> 
> Today, upgrading libc6:amd64 and libc6:i386 to 2.29-1, I got annoyed by
> this again and had a look what needs to be done.  The attached patch
> (lightly tested, I have only a few amd64 and no i386 services running)
> appears to do the trick.  It also drops the need for awk in the
> maintainer scripts.
> 
> Feedback and brave testers welcome!

Thanks for the patch, I have just applied it.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: