[pkg-lighttpd] Bug#383425: Bug#383425

M. Koehrer mathias_koehrer at arcor.de
Wed Nov 14 13:53:33 UTC 2007


Hello!
I also had a look to that issue.
In my opinion, the difference is the postinst script in the .deb package.
I compared it with the postinst script of an Apache2 package.
In Apache2 there is the line
                invoke-rc.d apache2 start || true
to start the apache2 server.
In lighttpd the corresponding script line is 
                invoke-rc.d lighttpd start || exit $?
That means, apache takes a non-starting server as ok and still sees the package as well installed.
Lighttpd sees the non-starting server as error and it is seen as not installable.

I propose to modify the postinst script in the lighttpd .deb package to replace the lines from above
by the lines uses with the Apache2 server. 
In case of an error (e.g. if port 80 is already in use), lighttpd does not start but it will be properly installed.
This should solve the problems mentioned by all the reporters to this bug.

Regards

Mathias


-- 
Mathias Koehrer
mathias_koehrer at arcor.de


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT FÜR ALLE NEUEINSTEIGER
Jetzt bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket
für clevere Doppel-Sparer, nur  29,95 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2





More information about the pkg-lighttpd-maintainers mailing list