[Top][All Lists]

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

Re: [bug-inetutils] tests/syslogd.sh and /tmp

From: Mats Erik Andersson
Subject: Re: [bug-inetutils] tests/syslogd.sh and /tmp
Date: Wed, 18 Jan 2012 18:14:24 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

onsdag den 18 januari 2012 klockan 17:24 skrev Ludovic Courtès detta:
> Hello,
> tests/syslogd.sh requires a writable /tmp.  In NixOS chroots (yeah,
> again), there???s no /tmp; instead, build systems are expected to use
> The problem is that $TMPDIR is a loooong file name, which is an issue
> for socket paths.
> The workaround I???ve used in Guile is to cd $TMPDIR, create ./my-socket,
> and use that.
> Would it be acceptable for you?

Hardly! The use of "/tmp/" is there exactly to take care of well defined
paths of reasonable length. The failure to provide a writeable "/tmp/"
is as close to a perverted system I can think of.

It is intentional that the test script is built to test that the expected
socket name length is functional. The only solution would be to insert
an optional variable that would disable the corresponding subtest, but
run it for every POSIX system, which NixOS clearly does not bother even
to approximate.

On behalf of GNU Inetutils,
  Mats Erik Andersson 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]