[Bug 259114] www/lighttpd: regression on service restart

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Oct 2021 21:14:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259114

            Bug ID: 259114
           Summary: www/lighttpd: regression on service restart
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkubaj@FreeBSD.org
          Reporter: dinoex@FreeBSD.org
             Flags: maintainer-feedback?(pkubaj@FreeBSD.org)
          Assignee: pkubaj@FreeBSD.org

after update to 1.4.60

Problem:

# service lighttpd restart
Performing sanity check on lighttpd configuration:
lighttpd not running? (check /var/run/lighttpd.pid).
Starting lighttpd.
2021-10-12 23:02:07: (network.c.419) can't bind to socket: 0.0.0.0:80: Address
already in use
/usr/local/etc/rc.d/lighttpd: WARNING: failed to start lighttpd


Workaround:

# killall lighttpd
# service lighttpd restart
Performing sanity check on lighttpd configuration:
lighttpd not running? (check /var/run/lighttpd.pid).
Starting lighttpd.

Diagnostics:

When "lighttpd_checkconfig" runs,
the content of the pid file is removed.

$ truss /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd/lighttpd.conf -tt

-- 
You are receiving this mail because:
You are the assignee for the bug.