[Varnish] #1813: Duplicate -a leads to assert instead of error message.
Varnish
varnish-bugs at varnish-cache.org
Mon Nov 2 11:35:09 CET 2015
#1813: Duplicate -a leads to assert instead of error message.
----------------------+--------------------
Reporter: lkarsten | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 4.1.0
Severity: normal | Resolution:
Keywords: |
----------------------+--------------------
Comment (by lkarsten):
{{{
[11:26:07] < phk> scn, re #1813 what kind of -a argument do you use that
the arg-check doesn't catch it ?
[11:26:16] < phk> critter phk> ./varnishd -a :8080 -a :8080 -d
[11:26:16] < phk> Error: Cannot open socket: :8080: Address already in use
[11:27:27] < scn> varnish 15719 1 1 11:22 ? 00:00:00
/usr/sbin/varnishd -a :80 -P /var/run/varnish.pid -f
/etc/varnish/default.vcl -a :80
[11:28:05] < scn> at some point i added -a :80 before -P in the systemd
service file
[11:28:39] < scn> due to dropping of privs before/after writing the
pidfile. i don't remember the details.
[11:28:45] < phk> scn, this must be some linuxy thing that allows you to
bind twice...
[11:29:27] < scn> this line was from ps way up in my scrollback buffer, it
would be longer. there is a PROXY listener as well.
}}}
todo: reproduce on linux.
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1813#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list