Bug#214773: upgrade is overwriting my own LoadModule
Hi Dean,
On Wed, 8 Oct 2003, dean gaudet wrote:
> > are they modules installed from Debian??
>
> it's a local module, it's not from debian, it's from me.
>
> the module is called mod_iptos -- it allows you to set IPTOS (type
> of service) bits on outgoing packets on a per-directory/vhost basis.
> this can be combined with QoS in the kernel or on a router to give
> excellent bandwidth control (much better than mod_bandwidth). i was going
> to release it after i converted it to implement DIFFSERV but since it
> works well enough as is for me, i haven't been motivated to finish that.
>
> anyhow, here's the source and a .deb. this works fine in your latest
> apache deb other than the upgrade problem which removed my LoadModules
> directive. if you like it, feel free to distribute it in debian.
>
> http://arctic.org/~dean/debian/
> libapache-mod-iptos_1.3.26-0.2.dsc
> libapache-mod-iptos_1.3.26-0.2.orig.tar.gz
> libapache-mod-iptos_1.3.26-0.2_i386.deb
it seems very very nice. i will look at him as soon as i finish to fix
this bit of mess i did with the last upload.
> > In case please list them all because they have an incorrect .info file
>
> what is a .info file?
>
> ah. ok i see a bunch of them in /usr/lib/apache/1.3 ... when i built
> my .deb i cloaned some other apache module's ./debian, i guess i missed
> the .info.
Yes exactly. They have been there for ages and they were used by
apacheconfig to match module <-> directives. Since the Directives were an
issue i switched to use only the filename and the LoadModule line since
the the _module cannot be guessed (easily) from the module it self.
> ok i see now that it's my fault because i missed a crucial portion of
> data the apache package scripts were expecting.
blame me.. i just find out i forgot to add these information to
modules-config man page. They are there now ready for the next upload.
> my suggestion though is that when your upgrade scripts are removing
> LoadModules directives from /etc/apache/httpd.conf they should complain
> if they find any directive which does not have a matching info file.
>
> also -- the upgrade script should complain if it finds an existing
> /etc/apache/modules.conf file.
I will keep these in mind for -4.
Thanks for your cooperation
Fabio
--
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues
http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html
Reply to: