[Pkg-utopia-maintainers] Bug#852256: Bug#852256: #661591 for avahi-autoipd

Michael Biebl biebl at debian.org
Mon Jan 23 07:15:50 UTC 2017


Am 22.01.2017 um 23:12 schrieb Christian Hofstaedtler:
> Control: tags -1 + patch pending
> 
> Dear avahi Maintainers,
> 
> I propose to apply the following patch to src:avahi to make this bug
> go away.
> 
> I'll also upload an NMU to DELAYED/1 given the timing. Feel free to
> cancel that.
> 


I'd prefer if it was written like that:

if [ -x /usr/sbin/avahi-autoipd ] ; then
	/usr/sbin/avahi-autoipd -k $interface 2> /dev/null || true
fi

This makes it more obvious imo what's happening. 
But it ignores real errors on stop though. 

Not sure if we care for that, but as an alternative we could use:

if [ -x /usr/sbin/avahi-autoipd ] && /usr/sbin/avahi-autoipd -c $interface; then
	/usr/sbin/avahi-autoipd -k $interface 2> /dev/null
fi

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20170123/e3ae7863/attachment-0001.sig>


More information about the Pkg-utopia-maintainers mailing list