[Pkg-utopia-maintainers] Bug#624398: Bug#624398: xserver-xorg: postinst script wants to invoke-rc.d hal on GNU/kFreeBSD, but there is no more /etc/init.d/hal
    Julien Cristau 
    jcristau at debian.org
       
    Sun May  1 13:34:49 UTC 2011
    
    
  
On Thu, Apr 28, 2011 at 09:39:14 +0200, Michael Biebl wrote:
> # restart hald if it was running before
> pid=$(get_pid org.freedesktop.Hal)
> if [ -n "$pid" ]; then
>    kill $pid 2>/dev/null || true
>    lshal >/dev/null || true # will trigger through D-Bus activation
> fi
> 
> The last step (triggering a hald start via D-Bus activation).
> It was initially added for applications which used a buggy approach to check if
> hald was running and disabled themselves otherwise, i.e. they didn't trigger a
> D-Bus activation request.
> All affected packages I know of have been fixed.
> 
Does this mean for example that if X is running, and I kill hal, it will
be restarted automatically so it can tell the already running X server
about possible new input devices?
Cheers,
Julien
    
    
More information about the Pkg-utopia-maintainers
mailing list