[pkg-lighttpd] Bug#383425: lighttpd: Fails to install if another webserver is running

Arno Töll debian at toell.net
Sun Jan 2 22:27:42 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I provide a patch which (finally) closes 383425. It is based on the
source version 1.4.28-1 provided in testing, but builds for sid's
1.4.28-2 as well.

The patch overrides the default dh_installinit call that dh(1) generates
and replaces it with a non fatal variant by using --error-handler
supported in recent versions of debhelper.

I provide two variants, one being a diff of the changes only and a full
variant changing debian/changelog as well preparing everything you need
to build a new release (please don't be offended though - you may just
ignore it if you want to do it on your own - or choose to reject the
patch at all. That version may be incomplete or faulty - I'm no Debian
maintainer, though I'm interested becoming involved). That version
changes unstable only, since it may be too late to get this patch into
squeeze if I'm not wrong.

Output of the patch during the installation process:

root at test1:~# /etc/init.d/apache2  start
Starting web server: apache2apache2: Could not reliably determine the
server's fully qualified domain name, using 192.168.100.2 for ServerName
.
root at test1:~# netstat -lntp | grep "80"
tcp6       0      0 :::80                   :::*
LISTEN      23345/apache2
root at test1:~# dpkg -i lighttpd_1.4.28-1.1_amd64.deb
(Reading database ... 32744 files and directories currently installed.)
Preparing to replace lighttpd 1.4.28-1 (using
lighttpd_1.4.28-1.1_amd64.deb) ...
Stopping web server: lighttpd.
Unpacking replacement lighttpd ...
Setting up lighttpd (1.4.28-1.1) ...
Starting web server: lighttpd2011-01-02 22:56:19: (network.c.358) can't
bind to port:  80 Address already in use
 failed!
invoke-rc.d: initscript lighttpd, action "start" failed.
Failed to start lighttpd.
Perhaps you are already running another service listening on port http/80
Processing triggers for man-db ...
root at test1:~#

- -- 
with kind regards,
Arno Töll
GnuPG Key-ID: 0x8408D4C4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJNIPveAAoJELBdpXvEXpo9K88QAIL2JZ3KxbB5wRbz8gUpb43L
bDGtunsFxgs37L0IHNLAj+CPrgqRtB6pr6jCOEfzvKA2K6NPqcW/04HZ/blNyt3U
7ICBFI4wtjw8uGcWvZtvPrTZ31SqzVmkF2RXEjRtGJT1m+ZwsW5dHn7Zsv3ekDZA
55GuwMDsJ+eB1Zucd8RPLRZ+s5pIrqvMgO3svbDWq4jzZNNkJaBCnwsr9I/HhcPV
kz9wQ4HWktDKsY27j9f6hl29q4mBmF3ln/DaJLnk7snICUnPsUiT0wYWvMCBmZY5
/CSw+Pn5BVhczmxGgX7zvS9Z3DTLwH8uPh+TxfYPSfGASzPMjL8QH3X9xBTjWT/M
WqjEoV/LoqeYwHP875S2cByczUwn6Mx2tQneym1uDoaxIu54ZlQKmOrKwl9fcIMK
D0ujzKqgufEUYH1To155Z/ExfKD0Y8gZPvHqIzoFcQJYgxdmFEv7Me5gH/YQnRU4
TWtaFJPKS824kk2EnIVTWNjA2b3qjGE2I4Nqr7zOsnuCEyQ53Km9sb4sv82i+RHG
tFK1P/mu8yynivrJ6nVRCeOLAdlTYpIxbvxj3GLhktMAKLWzUhp4S8qxnAhPJZgp
O86cxjH/K+9nsPEiAtrfPMyspws8LIBrXt8LSsWmeCuKzCq9sO3y0xlftCZBepeh
jZ5YCTgoRMGsTl80/6K2
=Cntd
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lighttpd-383425.patch
Type: text/x-diff
Size: 1468 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20110102/eb44d884/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lighttpd-383425-full.patch
Type: text/x-diff
Size: 31808 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20110102/eb44d884/attachment-0003.patch>


More information about the pkg-lighttpd-maintainers mailing list