retitle 591592 xkbseldb fails (in postinst) if $HOME is not set.
thanks

Le Fri, Aug 06, 2010 at 09:41:44PM -0400, Lucas Nussbaum a écrit :
> 
> beothuk:/root# unset HOME
> beothuk:/root# xkbseldb -R
> HOME variable not set
> Segmentation fault

Thanks Lucas.

I am not sure what xkbseldb does with $HOME when invoked by root…

Possible ways to solve that bug are :

 - Run xkbseldb -R only if $HOME is set, and document this in a README file.
 - Set $HOME to /root in the postinst script: it is not a problem if it is not 
available. 
 - Patch xkbseldb itself (not by me, I am not a C programmer).
 - Remove the package if it does not work with Squeeze's Xorg (see #564805).

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan



--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100807024721.gb13...@merveille.plessy.net

Reply via email to