Bug#396811: [Pkg-utopia-maintainers] Bug#396811: prerm script calls
/etc/init.d/avahi-daemon directly
Sjoerd Simons
sjoerd at spring.luon.net
Mon Jan 15 11:04:01 CET 2007
On Mon, Jan 15, 2007 at 01:15:13AM +0100, Kurt Roeckx wrote:
> The postint script is doing just the same thing, with the line
> before it doing the right thing:
>
> # Ask the bus to reload the config file
> if [ -x "/etc/init.d/dbus" ]; then
> invoke-rc.d dbus force-reload || true
> fi
> /etc/init.d/avahi-daemon restart
>
> Since the policy doesn't allow dbus to get started, avahi-daemon
> also failed to start.
No the postinst script does the right thing. Why ? Because avahi isn't normally
started via the normal /etc/rc*.d symlink, so invoke-rc.d just doesn't work for
avahi.
Putting avahi in both /etc/init.d/ and /etc/dbus/event.d was a choice of
the original packager, which has both it's good and bad sides :)
Sjoerd
--
Economists can certainly disappoint you. One said that the economy would
turn up by the last quarter. Well, I'm down to mine and it hasn't.
-- Robert Orben
More information about the Pkg-utopia-maintainers
mailing list