[Pkg-kbd-devel] Bug#538434: Bug#538434: kbd: add X-Interactive keyword to initscript LSB info

Anton Zinoviev anton at lml.bas.bg
Sun Jul 26 10:33:48 UTC 2009


On Sun, Jul 26, 2009 at 06:00:48AM +1000, Kel Modderman wrote:
> 
> Please apply the attached patch which adds `X-Interactive' keyword to the LSB
> information of initscript(s) in your package.

I asked Kel why these scripts have to be considered interactive and he 
answered that this is due to #534711.  When the scripts are executed in 
parallel mode, then /proc/self/fd/0 (and /proc/self/fd/2 which is used 
by console-setup) are redirected to /dev/pts/?.  Because of this the 
scripts think they are not executed on the console and refuse to 
configure the console.  I wonder if there is some other method to check 
whether we are on the console or not...

Anton Zinoviev






More information about the Pkg-kbd-devel mailing list