[Pkg-utopia-maintainers] restarting hal in xserver-xorg postinst?

Michael Biebl biebl at debian.org
Mon Apr 13 20:21:44 UTC 2009


Julien Cristau wrote:
> Hi,

Hi

> when installing the new xserver-xorg, people seem to run into the
> following problem: since hal isn't restarted, it doesn't pick up the
> callout installed by xserver-xorg to set input.xkb.*, so if people
> restart X without rebooting they end up with a us keymap.  So I'm
> wondering if it'd be ok to run 'invoke-rc.d hal restart' in
> xserver-xorg.postinst on upgrade (and probably initial install), or if
> there's a better way to fix this?

The hal package already has an dpkg file trigger for /usr/share/hal/fdi.
That means, hal will automatically be restarted, when the fdi file of
xserver-xorg is updated / freshly installed.

Cheers,
Michael

-- 
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: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20090413/bab1b5c2/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list