[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#559852: xinit: --tmpdir is not supported by Lenny's mktemp



On 2010-06-05 15:49 +0200, Julien Cristau wrote:

> On Mon, Dec  7, 2009 at 07:34:57 +0100, Sven Joachim wrote:
>
>> Quoting the Debian changelog:
>> 
>> ,----
>> | xinit (1.2.0-1) unstable; urgency=low
>> | 
>> |   [ Julien Cristau ]
>> |   * 06_move_serverauthfile_into_tmp.diff: use mktemp --tmpdir to honour
>> |     $TMPDIR (closes: #480958).
>> `----
>> 
>> The mktemp version in Lenny does not understand the --tmpdir option,
>> which will break startx in some interesting ways.  You should either
>> 
>> - depend on coreutils (>= 7.4-1) to ensure that the coreutils version of
>>   mktemp is used, or
>> 
>> - remove the --tmpdir switch, since the coreutils version of mktemp
>>   honors TMPDIR by default (the Lenny version of mktemp will create the
>>   file in /tmp, as before).
>
> Either of those is fine with me, can you fix it up in git?

Done, using the "depend on coreutils' mktemp" option.  While I was at
it, I fixed a debian-rules-calls-debhelper-in-odd-order lintian warning
and updated xsfbs.

Cheers,
       Sven



Reply to: