carme lighttpd broken
Elan Ruusamäe
glen at delfi.ee
Mon Sep 17 21:38:09 CEST 2018
On 17/09/2018 11:53, Arkadiusz Miśkiewicz wrote:
> On 17/09/2018 00:24, Elan Ruusamäe wrote:
>> poldek:/all-avail> !sh -c '/sbin/service lighttpd configtest'
>> Checking Lighttpd Web Server
>> configuration............................................................................................................................[
>> FAIL ]
>> 2018-09-17 00:22:54: (configfile.c.1451) pclose "for f in
>> vhosts.d/*.conf ; do [ -f "$f" ] && echo "include \"$f\"" ;
>> done"failed: Success
>> 2018-09-17 00:22:54: (configfile.c.1289) source:
>> /etc/lighttpd/lighttpd.conf line: 188 pos: 1 parser failed somehow
>> near here: (EOL)
>> poldek:/all-avail> !rpm -q lighttpd
>> lighttpd-1.4.50-3.x86_64
>> poldek:/all-avail>
>
> Seems it doesn't like empty vhosts.d dir. touch vhosts.d/nothing.conf
> and it works
>
i wonder why it ever worked then
$ (for f in vhosts.d/*.conf; do [ -f "$f" ] && echo "include \"$f\"" ;
done); echo $?
1
$ (for f in vhosts.d/*.conf; do [ -f "$f" ] && echo "include \"$f\"" ;
done; exit 0); echo $?
0
but "failed: Success" seems a bug. typically by calling strerror(errno)
when errno is 0
More information about the pld-devel-en
mailing list