[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#214773: upgrade is overwriting my own LoadModule



On Wed, 8 Oct 2003, Fabio Massimo Di Nitto wrote:

> Hi Dean,
> 	I need more info from you.
>
> On Wed, 8 Oct 2003, dean gaudet wrote:
>
> > Package: apache
> > Version: 1.3.28-1
> >
> > i've got my own local module for which i had a LoadModule directive in
> > httpd.conf.
>
> 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


> 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.


> If they are compiled by you where are they located???
> If they are in /usr/lib/apache/1.3 then you have to provide a .info file
> and modules-config will recognize them immediatly.

ok i see now that it's my fault because i missed a crucial portion of
data the apache package scripts were expecting.

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.

-dean



Reply to: