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

Re: Please unblock avahi 0.6.23-2



Marc 'HE' Brockschmidt wrote:
> Michael Biebl <biebl@debian.org> writes:
> 
>> Marc 'HE' Brockschmidt wrote:
>>> Petter Reinholdtsen <pere@hungry.com> writes:
>>>> [Marc Brockschmidt]
>>>>> I don't see how this is relevant to detect in which runlevels avahi
>>>>> should be started. My basic idea:
>>>> I agree.  I believe this approach should work just fine for any
>>>> sysv-based boot system, independend of the use of insserv.
>>> I haven't seen any movement wrt this problem. Is there something
>>> planned, or do I need to NMU?
>> Maybe I just missed it, but was there actually a consensus what exactly
>> should be done within the avahi package?
>>
>> If so, could you please restate your requested changes in detail.
> 
> <[🔎] 87tzcsm8om.fsf@pindar.marcbrockschmidt.de> and 
> <[🔎] 874p4mbgde.fsf@pindar.marcbrockschmidt.de> were both CCed to
> you. Summary:
> 
> | What about a simple solution: Ask dpkg if sysvrc is installed. If not:
> | Do the update-rc.d remove/start dance as currently implemented. If it
> | used, check the current state of /etc/rc?.d/ and insert the new links

It's not quite that simple.
sysv-rc being installed, doesn't mean, insserv is used or not. Even if
insserv is installed, doesn't necessarily mean, that it is actually enabled.
There would quite a bit of special casing here.

> | accordingly to that. Would you be willing to implement this? It wouldn't
> | worsen the situation, would improve it for a large majority of users and
> | doesn't require APIs that are not available (yet).
> ...
> | My basic idea:

[..]

Juggling the symlinks around is not the hard part. The hard part is to
find out, when to do it.

FWIW, another packages of the pkg-utopia group (dbus) uses the same
remove/insert approach [1][2]
If it's a requirement with the way you describe, for the new avahi
package to transition to testing, should we also prepare an update for dbus?

Cheers,
Michael


[1] http://bugs.debian.org/466503
[2] It would be interesting to know, how many packages do it this way,
after Petter has been filing bugs especially for this issue. Checking my
local system, I found gdm, hotkey-setup, (avahi-daemon, dbus),
nfs-common, util-linux, sudo.
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: