[Pkg-utopia-maintainers] Bug#469528: Bug#469528: postinst fails when upgrading (Connection refused)

Robert Millan rmh at aybabtu.com
Wed Mar 5 19:59:55 UTC 2008


On Wed, Mar 05, 2008 at 07:44:55PM +0100, Michael Biebl wrote:
> 
> hal.postinst contains:
>     if [ -x /etc/init.d/dbus ]; then
>       invoke-rc.d dbus force-reload || true
>     fi
> 
> So it should ignore errors, when dbus is not running.
> 
> /etc/init.d/hal contains:
> 
>   start)
>         if [ ! -d /proc/sys/fs/inotify ]; then
>                 log_failure_msg "Can't start $DESC - enable inotify
> support in your kernel"
>                 exit 0
>         fi
>         if [ ! -e /var/run/dbus/system_bus_socket ]; then
>                 log_failure_msg "Can't start $DESC - please ensure dbus
> is running"
>                 exit 0
>         fi
> [..]
> 
> So we also check for a running dbus there.
> 
> Could you check your hal init script, if you have those checks there?

Yes, both are.

> Could you also check, if dbus is *not* running but
> /var/run/dbus/system_bus_socket is existent (which should never happen
> though).

I can't anymore :-(. After a reboot, the problem vanished.  Sorry that I can't
be of more help.  But I suggest you leave this bug open; probably someone will
hit the same situation soon, and it won't prevent migration anyway (I filed it
against the version in testing).

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-utopia-maintainers mailing list