[csw-maintainers] lighttpd and ipv6

Dagobert Michelsen dam at opencsw.org
Tue Mar 1 17:15:10 CET 2011


Hi Maciej,

(switched to maintainers@ as of general interest)

Am 01.03.2011 um 12:34 schrieb Maciej Bliziński:
> David, do you know if the mod_compress module does work in the non-gar
> build of lighttpd?  If it doesn't, then maybe we can disable the test
> suite in the gar build for now and release garified lighttpd?  In the
> meantime, we'd continue looking at the mod_compress issue, until it's
> solved.

The issue was real. When sending compressed data the compression is done
in a temp directory which is created on demand. If this directory is on
an automounted filesystem (like /home/dam) the result of mkdir(2) is
ENOSYS instead of EEXIST which confuses the recursive directory creation
routine thinking that the directory is already there:

  /1:     mkdir("/home", 0700)                            Err#17 EEXIST
  /1:     mkdir("/home/dam", 0700)                        Err#89 ENOSYS

As the compression then fails because deeper pathes are missing lighttpd
just sends the uncompressed file instead making the testsuite fail.

Patch #2 is not necessary as LDFLAGS usually does not include runtime
linker options, these are in RUNTIME_LINKER_FLAGS and are usually passed
with the environment as LD_OPTIONS bypassing buildsystem processing.
To pass them via the normal build system use
  LD_OPTIONS =
  EXTRA_LINKER_FLAGS = $(RUNPATH_LINKER_FLAGS)
which is also documented at
  http://wiki.opencsw.org/porting-faq#toc8

The package now builds fine and the testsuite passes, everything is
checked in. Now whos next for the third 90% ? ;-)


Best regards

  -- Dago



More information about the maintainers mailing list