Interaktive questions in "postrm purge" allowed?

2004-06-06 Thread Christian Hammers
Hello

I have a database package that wants to know if it should really also remove
the databases themselves when purging the package (just because they are much
more important than config files etc).

Until now I did this via debconf but a user suggested to do it in postrm
because when installing the database one can hardly know what one wants month
later when removing the package...

So is it ok to ask interactive questions in postrm when called with "purge"?
As the script is not called with purge in a normal apt-get upgrade run I can
see no problems, do you?

bye,

-christian-


pgpJMROUQUXZt.pgp
Description: PGP signature


Problems with cylcing dependencies in sid->sarge

2004-08-17 Thread Christian Hammers
Hello

Two packages, libdbi-perl and libdbd-csv-perl have problems going to testing 
also each of them seems to be fine and they should be able to
go in simultaneously. 

Can anybody explain to me what's wrong here?

Hint:
 libdbi-perl 1.43-1 Conflicts: libdbd-csv-perl <= 0.2002-1
 libdbd-csv-perl 0.2002-1.1 Depends: libdbi-perl >= 0.42-3

http://bjorn.haxx.se/debian/testing.pl?package=libdbd-csv-perl
  Why is package X not in testing yet?
Checking libdbd-csv-perl
* trying to update libdbd-csv-perl from 0.2002-1 to 0.2002-1.1   
(candidate is 10 days old)
* libdbd-csv-perl is waiting for libdbi-perl
  o Updating libdbi-perl makes 1 depending packages
uninstallable on alpha: libdbd-csv-perl 
* Updating libdbd-csv-perl makes 1 non-depending packages
  uninstallable on alpha: libdbd-csv-perl

  Dependency analysis (including build-depends; i386 only):
* libdbd-csv-perl depends on libdbi-perl >= 1.42-3 
  but testing has 1.41-1 (unstable has 1.43-1)
  o libdbi-perl is explained above

thanks,

-christian-


pgpFf9IBjamKk.pgp
Description: PGP signature


replace ?

1998-07-19 Thread Christian Hammers
Hi !

My jed package is now splitted in jed,jedslc,jedsl-source and rgrep. 
How or whom can I say to remove the old jedsl package which is no longer 
needed.

BTW: Because I have to binary executable packages (x11 and non-x11) I
have moved all things necessary for both (including every docu except
the copyright and changes) to jedslc.
Then jedslc suggests jed|xjed and those require jedslc and suggest 
jedsl-source.

Is this ok ? (You now have to install the jedslc (/usr/lib/jed/*) and 
then install the binaries. So if you remove jed, the lib files 
will rest. How can I say dpkg that I want to have the jedslc to be
removed if both, jed and xjed are no longer present ?

read you,

   -christian-



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


converted config file ?

1998-12-05 Thread Christian Hammers
Hi !

I have a problem with my wwwoffle package:
it has a config file /etc/wwwoffle.conf.
When installing I try to convert existing config files with a shipped 
config file converter and only if that fails because it is the first
install of wwwoffle, I copy the example conf file from the /usr/doc.

The problem is now, that I have mark the /etc/wwwoffle.conf as "configfile"
in the ./debian/conffiles file. But when building, dpkg complains that
the named conffile is not there, what is quit right, since while shipping, 
the file isn't in /etc, but in /usr/doc...

What should I do now ? 
simply let dpkg handle the overwriting/not-installing of the config file
and mark the file in debian/conffiles
or
did not mark it in debian/conffiles and let postinst handle the file.

Both will earn me some bug reports :-)

read you,

   -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


Re: cannot build jed_0.98.7-7

1998-12-06 Thread Christian Hammers
On Sat, Dec 05, 1998 at 10:52:43PM -0500, Kikutani Makoto wrote:
> +libslanga=`ls /usr/lib/libslang1*.a | sed 's,/usr/lib/,,'`
> +
>  # Initialize some other variables.
> ---
> 
> But the latest slang1-dev(1.2.2-2) doesn't have libslang1.a.
> It contains only libslang.a
I wanted to use slang1[.2.2_pic].a from slang1-pic.deb (BTW: What the hell
is this pic thingy ?)

In yesterdays upload (-12) everything is linked against the shared slang
lib. I don't know exactly why the author liked to link against the static
lib, but I patched it to link against "-lslang".

> Should I post a bug report ?
Naa, you're not fast enough :-)

> makoto
read you,

   -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
         http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


Re: converted config file ?

1998-12-06 Thread Christian Hammers
On Sun, Dec 06, 1998 at 04:30:10AM -0500, Adam Di Carlo wrote:
> stuff.  In the preinst, before that file is replaced, check if there's
> an old-style configfile and if so, copy it to a safe location (i.e.,
that sounds good. I didn't thought of this preinst script...

> Most package maintainers actually don't manage to automatically
> convert conffiles from old styles to new ones; it's a pain and has
> hidden pitfalls.  Consider the problem of package downgrade then
> upgrade again.  Can be tricky stuff.
But the upstream author has developed a nice convert utility and so why not
using it. An I couldn't handly downgrading anyway. (But I will save a 
template config file in /usr/doc for those who will downgrade to this
release from further releases.

read you,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
         http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


Re: new maintainer: upload to frozen?

1998-12-06 Thread Christian Hammers
On Sun, Dec 06, 1998 at 04:23:58AM -0500, Adam Di Carlo wrote:
> Yeah, well, I don't really personally think it's worth it to reupload
> to slink just to get a maintainer change in.  I bet it's a little
Consider the following: 

The now-frozen release will be shipped, and every user who has problems
with it, would like to makes suggestions or just likes to comment it will
write to the old maintainer.

Therefore, when dealing with frozen packages, I would upload it just to 
correct the maintainers email address.

read you,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


Re: jed_0.98.7-13 problems

1999-01-03 Thread Christian Hammers
On Fri, Jan 01, 1999 at 08:51:39PM -0500, Kikutani Makoto wrote:
> I posted this to devel yesterday, but I chose a wrong place ?
Not really, but you should always write a mail to the maintainer, too !
(Luckily I've seen this one...)


> lintian jed_0.98.7-13.deb
> E: jed: depends-on-obsolete-package depends: ncurses3.4
oh. Hmm. A new upload is coming in an hour :-) 
Seems that I should upgrade my system a bit...

> It's strange because jed doesn't require ncurses.
The gpm mouse support from jed requires it.


> 2) build fails
> 
> If ARCH is defined as "linux", Makefile of jed uses "src/linuxobjs"
> directory instead of "src/objs".
> I suggest using src/$(ARCH)objs/ in rules.
My system is
Linux lathspell.westend.com 2.0.35 #4 Mon Jul 20 18:58:02 CEST 1998 i586 unknown
and I never had any problems with building.
I've just examined the Makefiles. Do you have a environment variable called 
"ARCH" ? If so, it could really make some problems. Is this variable Debian 
standard ? 

Anyhow I fix it, so that you can compile without problems.
 
> makoto
read you,

  -christian-


-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
     http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


images in diff files ?!

1999-03-28 Thread Christian Hammers
Hi !

I am the maintainer of the wwwoffle cache program. This program allows
the user since its latest version to use the optional htdig program to
search its cache. A nice function btw.

Now, because htdig shows html pages and the wwwoffle mini-http-server
doesn't get everything correct I had to rewrite some of the htdig's html
pages (wrong image links etc).
There I had the idea to put a wwwoffle and Debian Logo next to the htdig 
Logo to make the page somewhat nicer. 

But now: How do I put the additional Debian-Logo (only 2k) into the 
diff file ???  Can I rely on the sharutils package though it is only 
"standard" and not "essential" ?

read you,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
     http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


solution: images in diff files ?!

1999-03-30 Thread Christian Hammers
> But now: How do I put the additional Debian-Logo (only 2k) into the 
> diff file ???  Can I rely on the sharutils package though it is only 
> "standard" and not "essential" ?

The best solution I found for putting images or more generally every 
kind ofbinary data into the diff file is making a uuencoded file of it 
and then building a perl script as followed.

This pipes the raw binary data to stdout and you can use it in your
rules file like
   ./uu_debian_logo > $TMP/usr/share/something/logo/debian.png

read you,

   -christian-

-
#!/usr/bin/perl -w

$uu = <<'end';
begin 644 my_uuencoded_data
MG$%U$N%GFH%§$34535GEGHEHz534§53gGH§HJJ
[EMAIL PROTECTED]
end

for (split("\n",$logo))  {
last if /^end/;
next if /[a-z]/;
next unless intord() - 32) & 077) + 2) / 3) == int(length()/4);
print unpack("u", $_);
}
---

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
     http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


purging: what should be deleted ?

1999-04-12 Thread Christian Hammers
Hi !

I wonder what should be deleted when purging ?
a) only the config files 
b) config files and empty directories
c) every directory INCLUDING files that the user may have installed
   (since without the package those files are useless)
d) config files and empty config-directores and non-config-directories
   even if they include users' data.

I ask because a user of the wwwoffle package I maintain complained that
it has deleted his private.html which was installed in /etc/wwwoffle. 
This is correct. My script does a "rm -rf". But what about the huge
amount of data in /var/spool/wwwoffle ? Should I left that data ? 
It is not installed by the package...

read you,

  -christian-


-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


help: dependency problem

1999-05-04 Thread Christian Hammers
Hello List !

I can't get rid of my dependency problems. (MySQL has more conflicts than
any soap opera :-)) Maybe someone can give me a hint !

Here is the current situation:
(src: mysql -> non-free)
mysql   server + docs
mysql-clientclient + all libraries
mysql-devel header
(src: mysql-freebits -> main)
mysql-base  client
mysql-doc   doc 
mysql-dev   header + all libraries

This can't go because a shared lib on which the client depend has nothing 
to do in -dev; the structure is not clear to the user; soon there will be
two complete new upstream versions: an old GPL'ed and the recent (in
non-free). So I made a new scheme:
(src: mysql -> non-free)
mysql-server
mysql-client
mysql-doc
mysql-dev
mysql-bench (never packaged before)
(src: mysql-gpl -> main)
mysql-gpl-server(released to GPL at mid-june)
mysql-gpl-client
mysql-gpl-doc
mysql-gpl-dev
mysql-gpl-bench

But... How to make the dependencies ? The current situation is that
whenever I change from the GPL'ed to the non-free I have to do a
"dpkg -i --auto-deconfigure *-gpl-*.deb"
TWICE before it really works. 

If someone is willing to help me out, I will post him every control file I
have. I do not post it to the list because this mail is already long
enough.

Thousand thanks in advance !

read you,

 -christian-

{{{Uaaah! Why the hell did I intend to package this monster...}}}

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
         http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


filenames with more than 100 chars ?

1999-05-12 Thread Christian Hammers
Hello list !

Well tar has no problems with filenames that are longer than 100 chars.
It just keeps printing ././@LongLink for every file but unpacks without
problems.

But now lintian starts complaining about it (hey, ././ *is* a uncommon
directory :-)) but even worse dpkg refuses to unpack it since it claims
that the tarball is corrupt !

How to solve this ?

read you,

  -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


dpkg dependency checks are sometimes quite useless ?!

1999-05-14 Thread Christian Hammers
Hi !

Written in a bug support for my wwwoffle packet:

>2) When installing the new unstable wwwoffle (2.4b) with dpkg, the
> installprocess first made a mess (by overwring the binary) and complained 
> about unmet libc2.1 dependencies --after-- that. I don't know if it's dpkg's 
> fault or wwwoffle, but the install process should check dependencies -first-.

I, too, consider this behaviour of dpkg as not very optimal :-(+
Have I done something wrong while packaging or how to prevent such cases ?

read you,

 -christian-



-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


dh_shlibdeps gives strange warning

1999-06-01 Thread Christian Hammers
Hello List !

dh_shlibdeps 
`debian/tmp/usr/lib/libchpgsql.so.1.0.0'
dpkg-shlibdeps: warning: unable to find dependency information for shared
library libpq (soname 2.0, path /usr/lib/libpq.so.2.0, dependency field
Depends)

What does this warning tell me ?

read you,

 -christian-
 
$ dpkg --search /usr/lib/libpq.so.2.0
libpgsql2: /usr/lib/libpq.so.2.0

$ ldd debian/tmp/usr/lib/libchpgsql.so.1.0.0
ldd: warning: you do not have execution permission for 
`/home/ch/debian/ch/libch-1.0.1/debian/tmp/usr/lib/libchpgsql.so.1.0.0'
libpq.so.2.0 => /usr/lib/libpq.so.2.0 (0x40007000)
libc.so.6 => /lib/libc.so.6 (0x40013000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40103000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2000)

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


replacing conflicting packages

1999-06-20 Thread Christian Hammers
Hello List

I have two sets of packages: A1,A2.. and B1,B2,B3... which each provides a 
working system (in this case a database) and conflict to each other.

My intend was now to show the user - when he tries to update just one
component - that that is not possible and he should update all or nothing.
Therefore I make every A* packet depend on A1 and every B* packet on B1 and
let them conflict. (I would have this situation anyways).

The Problem is now that when installing say B2 it first tries to overwrite
an A* packet and *then* complains about the conflicting dependencies.

Of course B2 can not be allowed to overwrite any of the A* packets but
I get many bugreports now that claims this behaviour as bugs :-(

read you,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


Re: Upgrading to a new upstream maintainer version

1999-06-22 Thread Christian Hammers
On Tue, 22.06.99 13:55 +0200, Sami Dalouche wrote:
> I've already packaged a deb of epkg but there's a new upstream maintainer
> version.
> Must I remake entirely the package or I have just to do anything that will
> keep the changelog... ?

* unpack the new upstream version
* then copy the debian directory of the old package into the new
* check the old .diff file if you made any changes to the code that you 
  have to apply on the new one, too 
* then add a new changelog entry with "debchange -i -v 1.2.3"
* check for eventual new README files or new stuff that isn't already 
  handled by the old rules file
* also check a "configure --help" and the upstream ChangeLog for new 
  compiling options
* give every file in the debian directory a look
* then finally try to build the package
* compare your .deb package(s) with probably existing rpm or tgz packages
  and check if they packed files you missed
* test the functionality of the new package
* upload with "dupload --to 

read you,

  -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
     http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


dpkg acts strange

1999-06-23 Thread Christian Hammers
Hi !

I like to use a coppled Replace: + Conflict: to replace a package with
a another one with a different name. 
This works well - but only with ONE package. The second packet will not
be "considered to be removed" by dpkg. Why ?!

read you,

-christian-


-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


Re: dpkg acts strange

1999-06-24 Thread Christian Hammers
Hello List !

> > I like to use a coppled Replace: + Conflict: to replace a package with
> > a another one with a different name. 
> > This works well - but only with ONE package. The second packet will not
> > be "considered to be removed" by dpkg. Why ?!
> 
> Limitation of dpkg.
Argh! What would you suggest me to do if I *like* to replace two packages.

P.S.: Hello policy group: can you please add this to section 8.3(?) of the
  packaging manual ? -thx

> James
read you,

-christian-

-- 
Christian Hammers  WESTEND GmbH  Tel 0241/701333-0
[EMAIL PROTECTED]  DPN Verbund-Partner Aachen u. Dueren   Fax 0241/911879


*-doc* to /doc or not to doc ?

1999-07-21 Thread Christian Hammers
Hello List !

Can anybody give me a hint where in the policy/packaging-manual is a
rule that decides whether -doc packages should go to /doc or toghether
with the binary package in /net or /x11 etc.

The current situation on the FTP server is not clear.
(some grepping just told me that about 60% is in doc and the rest in the
specific direcories.)

BTW: I it matters I ask for the mysql-doc.deb.

read you,

  -christian- 
<[EMAIL PROTECTED]>

-- 
Christian Hammers  WESTEND GmbH  Tel 0241/701333-0
[EMAIL PROTECTED]  DPN Verbund-Partner Aachen u. Dueren   Fax 0241/911879


Again: where to put -doc packages ?

1999-07-28 Thread Christian Hammers
Hello

[one last try, because nobody answered me]
> Can anybody give me a hint where in the policy/packaging-manual is a
> rule that decides whether -doc packages should go to /doc or,
> toghether with the binary package in /net or /x11 etc.
>
> The current situation on the FTP server is not clear.
> (some grepping just told me that about 60% is in doc and the rest in the
> specific direcories.)

read you,

  -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01



nscd confuses my preinst :-(

1999-09-24 Thread Christian Hammers
Hello 

I have a big problem with this new glibc2 "nscd" program. This program
seems to be a cache for the /etc/passwd and /etc/shadow: 

-=(/home/ch/debian/DOC)# adduser --system mysql
Adding system user mysql...
Adding new user mysql (100) with group nogroup.
Home directory /home/mysql already exists.

-=([EMAIL PROTECTED])=(pts/1)=(22:43:15|23)=-
-=(/home/ch/debian/DOC)# usermod -c ttt mysql
usermod: user mysql does not exist

Some seconds later it would have been worked.

Now what should I do ? I can't use the libc "getuserbyname" functions
that would use the cache. Should I randomly put some sleep calls
into this script ? 

I think this could be a problem for many installation scripts

Any suggestions ?

bye,
 
 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
     http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01



Re: nscd confuses my preinst :-(

1999-09-26 Thread Christian Hammers
Hello

On Sat, 25.09.99 10:21 +1000, Brian May wrote:
> If useradd is the wrong program to use (thats my guess), then the same
> functionality should (IMHO) be moved to adduser. That way you can
> configure the user with one program call, and not worry about usermod.

Oh no ! You missed the point ! :-)

I was not talking about wheter or not using useradd or adduser - I have
to use Debian's adduser and usermod to handle all cases where a user is
preexisting, or a group is preexisting and the user not or both are there
and they have a wrong shell etc

The point was that nscd caches all the passwd stuff but not all programs
use this cache ! Even Debian's adduser in standalone use has problems:

Watch this:

[with nscd]
-=(/home/ch)# adduser test1
Adding user test1...
Adding new group test1 (1002).
Adding new user test1 (1002) with group test1.
useradd: unknown group test1
adduser: `useradd -d /home/test1 -g test1 -s /bin/bash -u 1002 test1' returned 
error code 1536.  Aborting.
Cleaning up.
Removing user `test1'.
userdel: user test1 does not exist
Removing group `test1'.
groupdel: group test1 does not exist

[stopping nscd, removing group/user test1]

[without nscd]
-=(/home/ch)# adduser test1
Adding user test1...
Adding new group test1 (1002).
Adding new user test1 (1002) with group test1.
Creating home directory /home/test1.
Copying files from /etc/skel
Changing password for test1
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
New password:

read you,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
     http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01



Re: nscd confuses my preinst :-(

1999-09-27 Thread Christian Hammers
Hello

> - force the cache to be flushed after making changes to original.
> - write changes via cache.
> (+any other method I have missed)
unfortunally it even hasn't got a manpage !

Maybe libc6-doc has some information about it.

> useradd is also a Debian program:
Yes. I meant adduser is a wrapper which was written by Ian Murdock 
for Debian. useradd ist the normal (backend) program that is 
of course distributed by Debian. 

> However, perhaps its use is now obsolete. It probably wouldn't be
I don't think so since you can easy add system users (in the right
UID range) and similar things with it.


> Brian May <[EMAIL PROTECTED]>
bye,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
     http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01



libtool problem

1999-10-17 Thread Christian Hammers
Hello 

I am currently packaging MyODBC-2.50.26 and encountering the problem
that this lib wants to get installed as libmyodbc-2.50.26.so
I want to have it like libmyodbc.so.2.50.26 but have no clue
how to change this. I believe it has something to do with the
libmyodbc_la_LDFLAGS=-release @myodbc_version@
line but can anybody tell me to what it needs to be changed ?


Or is it better to stay with the upstreams wish to call the library
libmyodbc-2.50.26.so.0.0.0 ???

bye,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01



policy 3.5 and error messages

1999-11-27 Thread Christian Hammers
Hello List

Policy section 3.5 isn't very clear about what to do when an error occurs.
Should I really just say:
"Starting proxy cache: wwwoffle ... failed" ?
Can I put a "\tSee syslog or wwwoffle.log for reasons ?" In the line below ?

E.g. I hate it when I'm starting apache and it simlpy tells me: failed.
Without reasons, this is like M$ Windows ! 

What about the following amandment:
   * In the case of an error you may write additionally information in the
 line(s) below. This output should be indented with a tab or 8 spaces.
 Example:
Starting proxy cache: wwwoffle... failed.
  Syntax error in /etc/wwwoffle/wwwoffle.conf line 24.
Starting printer spooler: lpd.

bye,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
     http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


What is a NMU-fixed-outstanding bug ?

1999-12-02 Thread Christian Hammers
Subject says all. It is something to worry about ?
I guess it's because I'm listed as "Christian Hammers" but mail
as Christian Hammers. How can I change this ? The latest release
has the maintainer right without quotes.

bye,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


directory not empty message

2000-01-09 Thread Christian Hammers
Hello list

When purging my mysql-server package I always get the following message:
Purging configuration files for mysql-server ...
dpkg - warning: while removing mysql-server, directory `/var/lib/mysql'
not empty so not removed.

How can I get rid of it ? I tried to do a 
if [ "$1" = "purge" ]; then rm -rf /var/lib/mysql; fi 
in the prerm script but it seems that it always gets called with 
"remove" as argument and postrm is the only script that gets called 
with "purge". 

Any ideas ?

bye,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
         http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


Proposing debugging aid in scripts

2000-01-09 Thread Christian Hammers
Hello

Since I begun using debconf I had very much problems because my scripts 
suddenly were completely silent as I removed all the nice "echo"
commands that before told me what was going on.

To solve this problem (verbose for me, no output for users), I started 
inserting the following line in all my postinst/preinst etc. scripts:

$DEBIAN_SCRIPT_DEBUG || set -v -x

This helped me very much. Does anybody has similar tricks, too ? 

bye,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


shlibdeps warning ?!

2000-02-07 Thread Christian Hammers
Hello

I don't understand the following error that was produced by
dpkg-shlibdeps when I was compiling mysql:

dpkg-shlibdeps: warning: unable to find dependency information for shared
library libpthread (soname 0, path /lib/libpthread.so.0, dependency field
Depends)

"dpkg --search" and the www.debian.org page told me that it belongs to
libc6 which is definetly installed. (libc6-dev, too)

Any thoughts ?

bye,

 -christian-
-- 
 Linux - the choice of the GNU generation !

Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


bug report to a slink version

2000-02-12 Thread Christian Hammers
Hello

I've just got a bug report to the slink(!) version of mysql-server. 
(It didn't create a socket directory in some cases...)

As I took over the mysql-server packages in early potato I probably fixed 
that bug but should I now just close the bug as if it had been reported
to an old potato version or should I build a fixed slink version and 
upload it to distribution "stable" ?

bye,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


is this RC?

2000-05-20 Thread Christian Hammers
Hello 

Due to unknown reasons I received the last two weeks only Debian mailing
list mails but none from bug reports - they were stored on master instead
:-(( So I missed a bug report agains mysql-server that 
tells me:

/home/gchavdarov/mysql32/mysql-3.22.32# dpkg-buildpackage
dpkg-buildpackage: source package is mysql
dpkg-buildpackage: source version is 3.22.32-1
dpkg-buildpackage: source maintainer is Christian Hammers <[EMAIL PROTECTED]>
debian/rules clean DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386
 +DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux DEB_HOST_ARCH=i386
 +DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=i386-linux
/usr/bin/dpkg-buildpackage: debian/rules: Permission denied

I think it's because "dpkg-source -x" tells me that one piece of the patches
in the diff file was rejected. Don't ask me why the automatically generated
patch was rejected, as the problem is "{ome" instead of "some" I think that
my filesystem got corrupted somewhen.

Now the problem is that not only the user but also the autobuilders for 
sparc etc. cannot build my server packages. Is that release critical?

bye,

 -christian- 

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
         http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01



another ugly thing. RC or not?

2000-05-20 Thread Christian Hammers
Hi

I've encountered another ugly thing. In this case not RC but I never
saw it before and if debconf has changed, maybe other things are 
broken, too.

Why do I get those error messages, that I didn't get 2 weeks ago and
is a simeple recompile enough and accepted for frozen?

bye,

 -christian-

(Reading database ... 48953 files and directories currently installed.)
Removing mysql-server ...
Stopping MySQL database server: mysqld.
(in cleanup) Can't call method "close" on an undefined value at 
/usr/lib/perl5/Debian/DebConf/ConfModule.pm line 545 during global destruction.
dpkg - warning: while removing mysql-server, directory `/var/run/mysqld' not 
empty so not removed.
dpkg - warning: while removing mysql-server, directory `/var/lib/mysql' not 
empty so not removed.
(in cleanup) Can't call method "close" on an undefined value at 
/usr/lib/perl5/Debian/DebConf/ConfModule.pm line 545 during global destruction.
Purging configuration files for mysql-server ...
(in cleanup) Can't call method "close" on an undefined value at 
/usr/lib/perl5/Debian/DebConf/ConfModule.pm line 545 during global destruction.

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
         http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01



when's a security fix grave enought for slink

2000-05-20 Thread Christian Hammers
Hello

After the defacing of the apache web site using a spied mysql root password
and then mysql to create a /root/.tcsh I was asked by a user if I don't
like to backport the current mysql to slink as it is able to run
under a non-root UID. 

I think it is not grave enough, but what do you think?

bye,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01



Re: Packaging Question

2000-05-21 Thread Christian Hammers
Hello Andreas

On Sun, 21.05.00 16:33 +0200, Andreas Rottmann wrote:
> sponsor). The package is a C++ SQL CLI (Call Level Interface) library
> called GQL. See http://GQL.sourceforge.net for more information.
I.e. it's a programming API for using several databases with the same
functions? Sounds nice. As I once wrote such a thing in C and currently
am the mysql maintainer I would like to sponsor you.

> W: libgql0-driver-pg: non-dev-pkg-with-shlib-symlink 
> usr/lib/gql/drivers/libgql-pg.so.0.0.0 usr/lib/gql/drivers/libgql-pg.so
The reason is that the simlink called *.so is normally not necessary as 
binaries have the complete name (.so.1.2.3) compiled in and only the compiler
needs the pure .so file.
I don't know how loading the drivers in your package works - if you like 
to just load mysql.so and are sure that replacing this file with further
versions does *NOT* lead to problems (i.e. rendering version numbers useless)
*then* it's ok to include it in the drivers package.
Else this link belongs to the -dev package which has of course to depend on 
the driver package.

> Thanks, Andy
bye,

 -christian-

> [one of 78,35% Austrians who didn´t vote for Haider!]


-- 
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



two packets providing the same config file?

2000-05-28 Thread Christian Hammers
Hello

libmysqlclient6.deb provides the config file /etc/mysql/my.cnf that
is used by all mysql applications (that want to use it).

Now comes libmysqlclient9.deb which is backwards compatible to the old 
library. 

I want that the config file from lib9 gets installed if the user insalled
this library but that he *also* can install the old lib6 for old 
programs that can't be recompiled. lib9 can overwrite lib6 and install its
version but can I tell apt-get that it shouldn't overwrite lib9's config
file with lib6's ?

Any ideas? 

bye,

 -christian-

-- 
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



Re: two packets providing the same config file?

2000-05-29 Thread Christian Hammers
On Sun, May 28, 2000 at 04:26:10PM +0200, Josip Rodin wrote:
> This should never have happened, it's violation of policy (somewhat), see
> section 4.3 "Shared libraries":

> Split out the config file into another package, like mysql-common or
> something like that. Along with any other non-library files you may have
> in the lib6 package.
Um... a package for just one file :-( 
Would you agree that is is (not beautiful but) ok if I add a 
Replace: libmysqlclientX
into the package control files of both libs? If there's also a conflict
to "libmysqlclient6 (<< [current version])" in the new libmysqlclient9
I would be able to enforce that both libs are new and have the replace 
and then have the same config file so either could be installed w/o
problems.

bye,

 -christian-


-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879



Re: New name for a package

2000-07-23 Thread Christian Hammers
On Sun, 23.07.00 14:56 +0200, Christian Marillat wrote:
> Sawmill has been renamed in sawfish.
Upload new sawmill, and file a bug against ftp.debian.org asking them
to remove the package.
 
> Christian
-ch-

P.S.: I remember having read this in some debian reference but I can't
  remember it's name.
-- 
  A radioactive cat has eighteen half-lives.
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



I made a script for auto. creating build-depends

2000-07-25 Thread Christian Hammers
Hello

After the recent questions how to automatically create a list
of packages that belong to the build dependencies line I've wrote 
a perl script, that reads the file generated by
# strace -f -F -e trace=file -o /tmp/trace debuild
and produces a list like:
binutils (>= 2.9.5.0.22-4)
cpp (>= 1:2.95.2-6)
debhelper (>= 2.0.82)
dpkg-dev (>= 1.6.9)
file (>= 3.28-1)
gcc (>= 1:2.95.2-6)
It takes essential packages and the build-essentials list into account.


The script was inspired by a mail a got from someone half a year ago
who had the idea with strace but never wrote a complete program of it.

Technically the programm looks for all execve and open calls that are
successfull, then filters all files/directories that are known to be
unrelated to our problem, links the filename to the Debian package and 
then filters all (build-)essential packages (and of course print warnings
for files that are not in any /var/lib/dpkg/info/*.list file).


I post this (relative short) script to this list to get some comments.
If it's finally ok, I write a patch to incorporate it into debuild or
even better into some kind of dh_builddepends which gets called at the
very end of the rules file.

Hope to hear from you,

 -christian-

-- 
   Disappointed by the apes God created mankind.
  After that he resigns from further experiments.
   (Mark Twain)
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17


strace2builddepends.pl
Description: Perl program


pgpoixQpNL2TY.pgp
Description: PGP signature


Re: I made a script for auto. creating build-depends

2000-07-26 Thread Christian Hammers
> Sorry to say but this script is fairly useless for most people. Strace
> cannot follow vfork() (yes I know -F says it will, but according to the
> maintainer, and my own tests, it does not work at all). Once make -C
> executed, strace stopped showing output.
Thanks for pointing out but wouldn't a simple
export PATH=/home/ch/bin:$PATH
echo "strace -f. make $@" > /home/ch/bin/make
solve the problem?
Or are there any other occurances of this vfork call?
I'll check this out as the results looked (at least for a small perl
package I took for testing) quite good.

> Ben
bye,

 -christian-

-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified



Re: I made a script for auto. creating build-depends

2000-07-29 Thread Christian Hammers
Hello

On Wed, 26.07.00 19:36 -0400, Ben Collins wrote:
> Ok, here's a slightly better version. This tarball also includes a debian/
> directory so you can make this a package.
I improved it even more and now I have a patched dpkg-buildpackage, that
runs the strace command and saves the output in debian/strace.debhelper.
Then there is a dh_builddeps that should be placed in the rules file 
somewhere near dh_shlibdeps and which calculates the build dependencies 
from the strace file and adds it to (or creates) the "Build-Depends:" line 
in the ../*dsc file.  
Of course I also patched dh_clean to remove this strace.debhelper file.

I will mail the patches for dh_builddeps, dpkg-buildpackage and dh_clean
to their maintainers as wishlist bugs as I don't like to send tar 
files to this list.  

> Ben
bye,

 -christian-

-- 
   Real programmers don't comment their code.  
 It was hard to write, it should be hard to understand.
---
Linux - the choice of the GNU generation.   Join the Debian Project 
      http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



Re: I made a script for auto. creating build-depends

2000-07-29 Thread Christian Hammers
On Sat, 29.07.00 16:05 +0300, Antti-Juhani Kaijanaho wrote:
> > I improved it even more and now I have a patched dpkg-buildpackage, that
> > runs the strace command and saves the output in debian/strace.debhelper.
> 
> I hope this is not debhelper specific.
Currently it is but if there are still many non-debhelper packages I can
rewrite it - it actually does not really use any debhelper specific
functions (except of parsing -v :-))

bye,

 -christian-

-- 
  There are two kinds of egotists: Those who admit it and the rest of us
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



Re: logrotate suggest/reccommend/depend

2000-07-30 Thread Christian Hammers
On Sun, 30.07.00 00:20 -0400, Decklin Foster wrote:
> I'm going to use logrotate for a package, as suggested in policy 4.8.
> Would it be more appropriate to use a Suggests:, Reccommends:, or
> Depends: relationship on this package?
If your package produces logfiles which would, if logrotate does not 
rotate them, eat up all the discspace then you surely have to depend
on logrotate :-)
If your package produces a logfile which stays small always, and a rotating
- e.g. for backup purposes - would only a benefit then you may use recommend
or suggest.

bye,

 -christian-

-- 
  Play around with the window until it works. If it doesn't work,
  call your local Guru. If you ARE the local Guru, you've got a problem. 
   (Apple-MacIntosh-Manual-TCP/IP-Network)
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



Re: Bug#67896: Support patch for dh_builddeps

2000-07-30 Thread Christian Hammers
Hello

[forwarded to debian-mentors as the main discussion was there]

On Sat, 29.07.00 19:20 +0200, Wichert Akkerman wrote:
> Previously Christian Hammers wrote:
> > Attached you find a patch against dpkg-buildpackage which creates a
> > debian/strace.debhelper file when running "debian/rules build".
> 
> Sorry, won't work for multiple reasons:
> 1. strace can't handle more then 256 subprocesses, a limit you can (and
> will) reach when building packages.
really? I'll check it.

> 2. strace'ing an application can influence it: timings can change,
> things can fail subtle due to bugs in the kernel or strace, etc.
What subtle timings can change the *build* process of a package? 

> 3. current strace doesn't support following vfork and clone (except on
> ia64), so you can still have incomplete build dependencies.
That's what the vfork wrapper is good for - fork and vfork are the same
on Linux x86 (I can't prove it, see mailing list dpkg-mentors).

And remember that this is only a "suggestive" tool like dpkg-shlibdeps,
if your package is so strange that it really does not work you can omit it
and you can *always* add own dependencies - just like with dpkg-shlibdeps.

> Wichert.
bye,

 -christian-



-- 
  Did You know that MicroSoft was named after Bill Gates' penis ?
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



Re: Bug#67896: Support patch for dh_builddeps

2000-07-30 Thread Christian Hammers
Hello

> Trust me, I'm upstream maintainer for strace so I'm reasonably aware
> of its features :)
Off-Topic: Why does it has this limitation?

> > And remember that this is only a "suggestive" tool like dpkg-shlibdeps,
> > if your package is so strange that it really does not work you can omit it
> > and you can *always* add own dependencies - just like with dpkg-shlibdeps.
> 
> True, but I would rather not add an option what I know will break things.

Ok, what about this, I make a dpkg-genbuilddeps and a patch to debuild so
that it *optionally* runs strace only if the user provided "--genbuilddeps"
so that the functionality can still be used for initial creating of a
build-depends line.
(It's just that I bet that we never get build-depends if maintainers are
forced to guess them theirselves w/o automatic help)

debuild would then spit out a package_version_i386.builddeps file which
can be compared by hand with the build-depends line the package has already
in the dsc file. (of course this file won't get uploaded etc)

> Wichert.
bye,

 -christian-

-- 
   Real programmers confuse Christmas and Halloween,
  because Dec 25 = Oct 31 !!!
---
Linux - the choice of the GNU generation.   Join the Debian Project 
      http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



Re: Bug#67896: Support patch for dh_builddeps

2000-07-30 Thread Christian Hammers
> > (It's just that I bet that we never get build-depends if maintainers are
> > forced to guess them theirselves w/o automatic help)

> We get build-depends since some of the autobuilders build packages in
> minimal chroots and detect problems automatically.

Well, I never received a mail froma an autobuilder saying that one of
my packages (about 10) were examined and found to have the following 
buildtime dependencies.

Maybe this should be done so that they can be included (as required by
policy, or not?) into the control file by the maintainers.
 
> Wichert.
bye,

 -christian-



-- 
   Real programmers confuse Christmas and Halloween,
  because Dec 25 = Oct 31 !!!
---
Linux - the choice of the GNU generation.   Join the Debian Project 
      http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



Re: I made a script for auto. creating build-depends

2000-07-30 Thread Christian Hammers
> IMO, this script should not be part of a normal build. It should be a
> simple extra utility that a maintainer can call every so often to validate
> their build deps. Generating build deps should not be part of the normal

Sorry, it seems as if I forgot to mail to this list that my latest patches
against dpkg-buildpackage I mailed Wichert via the BTS are only calling 
strace when dpkg-buildpackage or debuild are executed with the "-gb" flag.
It now only generates an informal ../packages_version_arch.builddeps.

(I saw that the calculated dependencies were too rough and that mysql alone
created a 40MB strace file :-))

> Ben
bye,

 -christian-

-- 
  Did You know that MicroSoft was named after Bill Gates' penis ?
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



Re: Bug#67896: Support patch for dh_builddeps

2000-07-31 Thread Christian Hammers
Hello

On Mon, 31.07.00 11:22 +0200, Christian T. Steigies wrote:
> See here for some of the source-dependencies the autobuilders use:
>  http://buildd.debian.org/andrea/m68k/source-dependencies-unstable.gz
...
> I did not follow the discussion completely, but I think its rather
> pointless, since its all already there in sbuild and the build-daemons.
Well, after looking at Andrea's list the only thing that starts to get
pointless is the sentence starting with "Source packages must specify which 
binary packages they require to be installed or not to be installed in order 
to build correctly." in the Policy 2.4.2.

Before forcing the maintainers to make themselfes the work to figure these
dependencies out we should tell them that such a list already exists!
(And don't tell me that they should have known it from various discussions
under strange topics in some lists!)

Maybe Roman should "generalize" his work an file more bug reports until 
this list is purely generated from the control's files lines.

> Christian
bye,

 -christian-

-- 
Love is a grave mental disease.
-- Plato
---
Linux - the choice of the GNU generation.   Join the Debian Project 
          http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



why deos debconf call postrm again?

2000-08-09 Thread Christian Hammers
Hello

I'm too stupid to find that bug: my snort package calls:

# Automatically added by dh_installdebconf
if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section

At the very end of the script. Now this confmodule does the following:

Check to see if a FrontEnd is running.
f [ ! "$DEBIAN_HAS_FRONTEND" ]; then
# Ok, this is pretty crazy. Since there is no FrontEnd, this
# program execs a FrontEnd. It will then run a new copy of $0 
that
# can talk to it.
exec /usr/share/debconf/frontend $0 $*
fi
++ '[' '!' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/snort.postrm 
purge

# summary of how this script can be called:
#*  `remove'
#*  `purge'

As you can see, this frontend calls my postrm *again* which leads to an 
error because I do things there I cannot do twice!
(e.g. removing a user)

Any ideas?

bye,

 -christian-

-- 
  A radioactive cat has eighteen half-lives.
---
Linux - the choice of the GNU generation.   Join the Debian Project 
          http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



Help, I get flooded! [Bug#71427: mysql-server]

2000-09-12 Thread Christian Hammers
Hello

I (aka [EMAIL PROTECTED]) get flooded by identical copies of the mail attached.
I count about 40 mails during the weekend and I get a new one every couple
of hours. Sadly I cannot reach the author as he supplied a wrong email 
address. I tried some variations of it and mailed the postmaster as well
as [EMAIL PROTECTED] (in case that there're more mails in the queue)
but none seems to have effort.

Any ideas beside simply ignoring/filter them? 

bye,

 -christian-

-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified
--- Begin Message ---
Package: mysql-server
Version: 3.23.22b-2
Severity: normal

Hi,

I dunno if this is an upstream problem, but here is the fix for my system:

  in line 94 of the script safe_mysqld, I remove a hyphen ("-").

also this could be some kinda wierdness from my system, anyway since I found
a fix, I thought I'd share.

Regards,
Morten .
-- System Information
Debian Release: woody
Kernel Version: Linux Power 2.4.0-test4 #15 Fri Sep 8 05:53:06 CEST 2000 i686 
unknown

Versions of the packages mysql-server depends on:
ii  debconf0.3.70 Debian configuration management system
ii  libc6  2.1.3-10   GNU C Library: Shared libraries and Timezone
ii  libdbi-perl1.13-4 The Perl5 Database Interface by Tim Bunce
ii  libstdc++2.10  2.95.2-14  The GNU stdc++ library
ii  libwrap0   7.6-5  Wietse Venema's TCP wrappers library
ii  mysql-client   3.23.22b-2 mysql database client binaries
ii  perl-5.004 5.004.05-6 Larry Wall's Practical Extracting and Report
^^^ (Provides virtual package perl5)
ii  zlib1g 1.1.3-9compression library - runtime
^^^ (Provides virtual package libz1)
--- End Message ---


conflicting with versioned provides possible?

2000-10-08 Thread Christian Hammers
Hello

Does dpkg/apt support conflicting with versioned provides? 
Would be easier for libfooN-dev style packages but I remember that
there were problems with dpkg somewhen...

bye,

 -christian-

-- 
  Geek: Has 3 friends and trouble meeting new people. 
  Nerd: Has 3 friends, but recyles through the use of role playing games 
and secret code names, bringing the total to 27. (Matt2000 at /.)



Re: icon.png => debian/ ?

2000-11-19 Thread Christian Hammers
On Mon, Nov 20, 2000 at 12:56:37AM +0200, Eray Ozkural wrote:
> What's wrong with binary changes anyway? I might want to include a few
> binaries, right?
Changes are produced by the "diff" program which can only represent changes
to text files, therefore you have to convert all changed binaries to text
before building the package. 
(just the damn need to stay backward compatible... why can't diff just
en-/decode it itself :-()

tschüss,

-christian-

-- 
   You know you're a nerd when your os uptime is longer than  
   you've ever had a girlfriend.  ([EMAIL PROTECTED])



Re: Contact?

2000-11-20 Thread Christian Hammers
Hello you waiting NMs :)

On Mon, Nov 20, 2000 at 03:17:59PM +0100, Michael Moerz wrote:
> I know someone who has been waiting really long, whereas some other
> friend of mine was taking through very quickly. Personally I am currently
> also becoming a DD, and my initial contact was made after 40 days or so.
Just a hint: If you want to do anything for Debian, you don't require to
be an "official developer". 

Just take a look into the Bug Tracking System, fix some bugs and send the
patches to the maintainers.

If you do so, you learn much about the debian packaging system and if you 
tell that the New-Maintainers-Managers they normally will accept your
application *really* fast (not by policy but according to what people say).

bye,

 -christian-

-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified



Understanding apt-cache showpkg output (reverse depends)

2000-12-29 Thread Christian Hammers
Hi

$ apt-cache showpkg libmysqlclient6
Versions: 
3.22.30-3(/var/state/apt/lists/ftp.de.debian.org_debian_dists_sid_main_binary-i386_Packages)(/var/lib/dpkg/status),
Reverse Depends: 
  xmysqladmin,libmysqlclient6
  digitaldj,libmysqlclient6
  tcl-sql,libmysqlclient6
  pike7-mysql,libmysqlclient6
  pike-mysql,libmysqlclient6
  phpmyadmin,libmysqlclient6
  mysql-common,libmysqlclient6
  libpam-mysql,libmysqlclient6
  libmysqlclient9-dev,libmysqlclient6
  libmysqlclient6-dev,libmysqlclient6
  libmysqlclient10-dev,libmysqlclient6
...

How shoul I understand this? E.g. mysql-common does NOT depend on the old
libmysqlclient6. Even more it does *replace* this package (partially).

Is there another way to check if any package still depends on a specific 
package/version?

bye,

 -christian-


-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified



Security upgrade for potato by new major version and distro change?

2001-01-21 Thread Christian Hammers
Hi

As MySQL has a bad security problem and is accordingly to a @mysql.com person
no longer supported in potato's version my only chance is to build the latest
(and not at least officially announced as stable) version 3.23.31 for potato.

As this would be too simple MySQL is now even GPL and could go from
non-free to main replacing the mysql-gpl-client package and the mysql-client
package.

Are these changes ok for a severity=high fix? Or is there a C/C++ coder out
there who would backport the patch? 

If I don't hear from you I build at master.debian.org and simply upload
and wait...

bye,

 -christian-

-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified



Re: Security upgrade for potato by new major version and distro change?

2001-01-22 Thread Christian Hammers
Hi

On Mon, Jan 22, 2001 at 08:13:57AM +0100, Martin Schulze wrote:
> > (and not at least officially announced as stable) version 3.23.31 for 
> > potato.
> 
> You should always be able to backport a patch.  If not, I'm sorry, but that
> this should be one quality of a Debian maintainer, you lack something...
Martin? It it the quality of a Debian maintainer to find the right line(s) in
a 100k C/C++ patch and moreover feeling sure enough about it to say that this
fixes the security hole in one often used package?!?!?! 
Programming did not fall under the requirements of a maintainer, last time I
checked.

> Guillome has made a backport fix for MySQL, he sent it to the mysql
> maintainer.  It may be in the bts, I'm not sure, talk to him if you're
Which solves the whole problem, a build will be done this evening.

>   Joey
bye,

-christian-

-- 
  War doesn't determine who is right - only who is left.



Re: Security upgrade for potato by new major version and distro change?

2001-01-22 Thread Christian Hammers
On Mon, Jan 22, 2001 at 03:49:22AM -0600, Scott Dier wrote:
> * Christian Hammers <[EMAIL PROTECTED]> [010122 02:38]:
> > > You should always be able to backport a patch.  If not, I'm sorry, but 
> > > that
> > > this should be one quality of a Debian maintainer, you lack something...
> > Martin? It it the quality of a Debian maintainer to find the right line(s) 
> > in
> > a 100k C/C++ patch and moreover feeling sure enough about it to say that 
> > this

> http://www.debian.org/devel/constitution
...
> That reads a bit like:
> If you've got anything good to advance the project.  Do it.

This is correct but has nothing to do with the topic 
Martin sounded a bit like if he were complaining about my lack to backport
a patch for a database engine consisting of many C/C++ lines to another 
version. Whereas I was of the opinion that it is nice if some programmer could
do this but this ability is not regarded as "required" by a maintainer.

but lets drop this topic, we're getting boring.

bye,

-christian-

-- 
codito ergo sum - I code, therefore I am!



chroot and FHS

2001-01-24 Thread Christian Hammers
I like to build my mysql package with chroot support and therfore jail it
somewhere under /var/lib/mysql and link the log files to /var/log.

I either statically link it so that it can be run from /usr/sbin and then
live in /var/lib because I don't want to have binaries in /var  or
hardlink the libs from /usr/lib and /lib to /var/lib/mysql? 
Without trying it out I would say that the latter way is preferred, isn't it?

bye,

-christian-

-- 
codito ergo sum - I code, therefore I am!



Re: chroot and FHS

2001-01-27 Thread Christian Hammers
Hi


On Thu, Jan 25, 2001 at 05:30:16PM +0100, Ingo Saitz wrote:
> > I like to build my mysql package with chroot support and therfore jail it
> > somewhere under /var/lib/mysql and link the log files to /var/log.
> Do you plan to make them officially available in debian?
yes. Although choiceable by a debconf swich as many installations rely on
"SELECT ... INTO OUTFILE.." etc.

> You either have to copy the libraries into the chroot environment
> or provide a statically linked binary. Also, remember to not to
> start mysql with a working directory outside the chroot.
Well here lies the problem. MySQL has a --chroot=DIR option but if started
this way it still uses the databases in /var/lib/mysql but writes the 
logfile and OUTFILE data to the chroot. It also does not require any additional
libraries as it seems to be able to continue using the existant file 
descriptiors.

Would anybody say that in this case I should not rely on mysql´s --chroot but
instead chroot it myself?

This would involve more work and as mysql runs under a seperate UID it should
not be able to harm the system libraries it is linked to.
It would on the other hand be a good jail for poeple trying to get 
information by INFILE/OUTFILE tricks and in most cases buffer overflow 
rootshells (as there would be no shells).
 
> Ingo
bye,

 -christian-

-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified



Interaktive questions in "postrm purge" allowed?

2004-06-06 Thread Christian Hammers
Hello

I have a database package that wants to know if it should really also remove
the databases themselves when purging the package (just because they are much
more important than config files etc).

Until now I did this via debconf but a user suggested to do it in postrm
because when installing the database one can hardly know what one wants month
later when removing the package...

So is it ok to ask interactive questions in postrm when called with "purge"?
As the script is not called with purge in a normal apt-get upgrade run I can
see no problems, do you?

bye,

-christian-


pgpkhl7XAQQpR.pgp
Description: PGP signature


Problems with cylcing dependencies in sid->sarge

2004-08-17 Thread Christian Hammers
Hello

Two packages, libdbi-perl and libdbd-csv-perl have problems going to testing also each 
of them seems to be fine and they should be able to
go in simultaneously. 

Can anybody explain to me what's wrong here?

Hint:
 libdbi-perl 1.43-1 Conflicts: libdbd-csv-perl <= 0.2002-1
 libdbd-csv-perl 0.2002-1.1 Depends: libdbi-perl >= 0.42-3

http://bjorn.haxx.se/debian/testing.pl?package=libdbd-csv-perl
  Why is package X not in testing yet?
Checking libdbd-csv-perl
* trying to update libdbd-csv-perl from 0.2002-1 to 0.2002-1.1   (candidate is 
10 days old)
* libdbd-csv-perl is waiting for libdbi-perl
  o Updating libdbi-perl makes 1 depending packages
uninstallable on alpha: libdbd-csv-perl 
* Updating libdbd-csv-perl makes 1 non-depending packages
  uninstallable on alpha: libdbd-csv-perl

  Dependency analysis (including build-depends; i386 only):
* libdbd-csv-perl depends on libdbi-perl >= 1.42-3 
  but testing has 1.41-1 (unstable has 1.43-1)
  o libdbi-perl is explained above

thanks,

-christian-


pgpXqahUCcypt.pgp
Description: PGP signature


Preserving admin runlevel modifications on upgrade?

2005-02-07 Thread Christian Hammers
Hello

[please Cc me, I'm not subscribed -thanks]

AFAIK the standard way of registering daemons is to run
 update-rc.d foobar defaults
in the postinst script. This sadly resets any changes the administrator
made on every upgrade.

Calling the update-rc.d command only on (initial) install by putting
it into the preinst script as this gets either "install" or "upgrade"
as parameter, is also not easy as update-rc.d denies registering a
script that does not yet exist.

A possible solution may be to set a flag with preinst and decide upon
its presence whether or not to call update-rc.d in postinst. But this
seems too complicated for a standard task so I guess I've missed
something :)

What is the recommended?

bye,

-christian-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Preserving admin runlevel modifications on upgrade?

2005-02-08 Thread Christian Hammers
Hello

On 2005-02-08 Maximilian Wilhelm wrote:
> > > AFAIK the standard way of registering daemons is to run
> > >  update-rc.d foobar defaults
> > > in the postinst script. This sadly resets any changes the administrator
> > > made on every upgrade.
...
> > read update-rc.d(8), section "INSTALLING INIT SCRIPT LINKS", second
> > paragraph. 
> 
> OK, if I rearrange things no problem.
> But if I remove runleve-links because I e.g. want to be able to run
> apache/MySQL/Samba/openVPN/atftpd/dhcpd ... whatever on my laptop
> but do not want them to be run whenever I boot the maschine, I have to
> remove the links manually after every update of the services :-(

Don't use this old symlink thing, install "file-rc" then you have a nice
textfile /etc/runlevel.conf with all the settings. There you can change
the line 
"20   1,6   2,3,4,5   /etc/init.d/mysql"
with
"20   1,6   - /etc/init.d/mysql"
and the service will not be started anymore but still be stopped when
shutting down. Debian updates will preserve this setting as long as
a line ending with /etc/init.d/mysql is existing and not commented out.

(My original question was a bit more complicated as I had a debconf question
whether or not mysql should be started at boot but I decided to drop this
whole question and let the user manage this himself via runlevel.conf or
symlinks)

> Max
bye,

-christian-


pgpUYxilhHwV5.pgp
Description: PGP signature


Regarding /usr/local with private packages

2005-03-08 Thread Christian Hammers
Hello

I feel a little stupid... :) 
I'm building a private(!) package with files in /usr/local/bin for a host 
where /usr/local/ is a symlink.  Whenever I remove the package the symlink 
gets removed by dpkg although there are plenty of (non-Debian maintained) 
files in /usr/local.

I guess this is because dpkg "thinks" the directory is empty and tries to
clean up.

Is this behaviour unavoidable?

bye,

-christian-



pgpCqMwxYUr4E.pgp
Description: PGP signature


Re: Regarding /usr/local with private packages

2005-03-08 Thread Christian Hammers
Hello

On 2005-03-08 Pierre Habouzit wrote:
> Le Mardi 8 Mars 2005 12:25, Christian Hammers a écrit :
> > Is this behaviour unavoidable?
> 
> well you can manually 'fix' with some pre/postrm magic.
Any hints for an elegant solution? Sometimes /usr/local is a symlink,
sometimes /usr/local/maint...

> btw, I don't see the point in packaing in /usr/local .. even for private 
> packages .
Legacy tools that are referenced from various programs so that I can't
put them under /usr/bin easily...

bye,

-christian-


pgpZbWH6kb1EK.pgp
Description: PGP signature


files not owned by root after build

1998-03-25 Thread Christian Hammers
Hi !

I have a Problem. When I make a debian package i usually do
deb-make

build

But when doing this logged in as ch, the files in the resulting 
.deb package are owned by ch.users instead of root.root.

I believe it is due to this strange fakeroot program, since the 
command "chown root.root -R debian/tmp" is made.

Has anybody a propose other than doing everything as root ?

read you,

   -christian-



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


ssh while release

1998-03-30 Thread Christian Hammers
Hi !

I yesterday tried to upload my packages using "release".
This doesn't work. I had problems with ssh. 
The "make-ssh-known-hosts" didn't work. Actually it didn't find any
key for the specified hosts. I tried all combinations of
debian.org, ftp.debian.org, master.debian.org etc. 
(and the same for erlangen which results in hours of waiting because
something there is very slow).

A simple ssh login to master worked so what did I do wrong ?

read you,

-christian-



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


waiting time in incoming queue

1998-04-13 Thread Christian Hammers
Hi !

How long do programs (normally) have to wait in the Incoming queue ?

Are Joey & co. just too busy or are there other problems why the kde* 
programs are starving there =;-) 

It's not that the waiting bothers me - it's just... the Incoming queue
of master.debian.org is AFAIK not mirrored and because I like to have some
of the latest libs to compile my own things I have to download from master.
And thats a hell of waiting - at least from Germany...


read you,

  -christian-



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


manpage for X11 binary

1998-04-19 Thread Christian Hammers
Hi !

Is there a way that debstd automatically puts the manpage 
debian/program.1 into debian/tmp/usr/X11R6/man/man1 when it sees that
the (only) executable is a X11 program ?

Or must I put an install -d and install man... command into my debian/rules ?

read you,

  -christian-



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


buildinfo.debian mit debhelper ?

1998-04-21 Thread Christian Hammers
Hi !

How can I make a /usr/doc/package/buildinfo.debian file when using
the debhelper tools.

read you,

-christian-



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: New name for a package

2000-07-23 Thread Christian Hammers

On Sun, 23.07.00 14:56 +0200, Christian Marillat wrote:
> Sawmill has been renamed in sawfish.
Upload new sawmill, and file a bug against ftp.debian.org asking them
to remove the package.
 
> Christian
-ch-

P.S.: I remember having read this in some debian reference but I can't
  remember it's name.
-- 
  A radioactive cat has eighteen half-lives.
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




I made a script for auto. creating build-depends

2000-07-25 Thread Christian Hammers

Hello

After the recent questions how to automatically create a list
of packages that belong to the build dependencies line I've wrote 
a perl script, that reads the file generated by
# strace -f -F -e trace=file -o /tmp/trace debuild
and produces a list like:
binutils (>= 2.9.5.0.22-4)
cpp (>= 1:2.95.2-6)
debhelper (>= 2.0.82)
dpkg-dev (>= 1.6.9)
file (>= 3.28-1)
gcc (>= 1:2.95.2-6)
It takes essential packages and the build-essentials list into account.


The script was inspired by a mail a got from someone half a year ago
who had the idea with strace but never wrote a complete program of it.

Technically the programm looks for all execve and open calls that are
successfull, then filters all files/directories that are known to be
unrelated to our problem, links the filename to the Debian package and 
then filters all (build-)essential packages (and of course print warnings
for files that are not in any /var/lib/dpkg/info/*.list file).


I post this (relative short) script to this list to get some comments.
If it's finally ok, I write a patch to incorporate it into debuild or
even better into some kind of dh_builddepends which gets called at the
very end of the rules file.

Hope to hear from you,

 -christian-

-- 
   Disappointed by the apes God created mankind.
  After that he resigns from further experiments.
   (Mark Twain)
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17

 strace2builddepends.pl
 PGP signature


Re: I made a script for auto. creating build-depends

2000-07-26 Thread Christian Hammers

> Sorry to say but this script is fairly useless for most people. Strace
> cannot follow vfork() (yes I know -F says it will, but according to the
> maintainer, and my own tests, it does not work at all). Once make -C
> executed, strace stopped showing output.
Thanks for pointing out but wouldn't a simple
export PATH=/home/ch/bin:$PATH
echo "strace -f. make $@" > /home/ch/bin/make
solve the problem?
Or are there any other occurances of this vfork call?
I'll check this out as the results looked (at least for a small perl
package I took for testing) quite good.

> Ben
bye,

 -christian-

-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: I made a script for auto. creating build-depends

2000-07-29 Thread Christian Hammers

Hello

On Wed, 26.07.00 19:36 -0400, Ben Collins wrote:
> Ok, here's a slightly better version. This tarball also includes a debian/
> directory so you can make this a package.
I improved it even more and now I have a patched dpkg-buildpackage, that
runs the strace command and saves the output in debian/strace.debhelper.
Then there is a dh_builddeps that should be placed in the rules file 
somewhere near dh_shlibdeps and which calculates the build dependencies 
from the strace file and adds it to (or creates) the "Build-Depends:" line 
in the ../*dsc file.  
Of course I also patched dh_clean to remove this strace.debhelper file.

I will mail the patches for dh_builddeps, dpkg-buildpackage and dh_clean
to their maintainers as wishlist bugs as I don't like to send tar 
files to this list.  

> Ben
bye,

 -christian-

-- 
   Real programmers don't comment their code.  
 It was hard to write, it should be hard to understand.
---
Linux - the choice of the GNU generation.   Join the Debian Project 
      http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: I made a script for auto. creating build-depends

2000-07-29 Thread Christian Hammers

On Sat, 29.07.00 16:05 +0300, Antti-Juhani Kaijanaho wrote:
> > I improved it even more and now I have a patched dpkg-buildpackage, that
> > runs the strace command and saves the output in debian/strace.debhelper.
> 
> I hope this is not debhelper specific.
Currently it is but if there are still many non-debhelper packages I can
rewrite it - it actually does not really use any debhelper specific
functions (except of parsing -v :-))

bye,

 -christian-

-- 
  There are two kinds of egotists: Those who admit it and the rest of us
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: logrotate suggest/reccommend/depend

2000-07-30 Thread Christian Hammers

On Sun, 30.07.00 00:20 -0400, Decklin Foster wrote:
> I'm going to use logrotate for a package, as suggested in policy 4.8.
> Would it be more appropriate to use a Suggests:, Reccommends:, or
> Depends: relationship on this package?
If your package produces logfiles which would, if logrotate does not 
rotate them, eat up all the discspace then you surely have to depend
on logrotate :-)
If your package produces a logfile which stays small always, and a rotating
- e.g. for backup purposes - would only a benefit then you may use recommend
or suggest.

bye,

 -christian-

-- 
  Play around with the window until it works. If it doesn't work,
  call your local Guru. If you ARE the local Guru, you've got a problem. 
   (Apple-MacIntosh-Manual-TCP/IP-Network)
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Bug#67896: Support patch for dh_builddeps

2000-07-30 Thread Christian Hammers

Hello

[forwarded to debian-mentors as the main discussion was there]

On Sat, 29.07.00 19:20 +0200, Wichert Akkerman wrote:
> Previously Christian Hammers wrote:
> > Attached you find a patch against dpkg-buildpackage which creates a
> > debian/strace.debhelper file when running "debian/rules build".
> 
> Sorry, won't work for multiple reasons:
> 1. strace can't handle more then 256 subprocesses, a limit you can (and
> will) reach when building packages.
really? I'll check it.

> 2. strace'ing an application can influence it: timings can change,
> things can fail subtle due to bugs in the kernel or strace, etc.
What subtle timings can change the *build* process of a package? 

> 3. current strace doesn't support following vfork and clone (except on
> ia64), so you can still have incomplete build dependencies.
That's what the vfork wrapper is good for - fork and vfork are the same
on Linux x86 (I can't prove it, see mailing list dpkg-mentors).

And remember that this is only a "suggestive" tool like dpkg-shlibdeps,
if your package is so strange that it really does not work you can omit it
and you can *always* add own dependencies - just like with dpkg-shlibdeps.

> Wichert.
bye,

 -christian-



-- 
  Did You know that MicroSoft was named after Bill Gates' penis ?
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Bug#67896: Support patch for dh_builddeps

2000-07-30 Thread Christian Hammers

Hello

> Trust me, I'm upstream maintainer for strace so I'm reasonably aware
> of its features :)
Off-Topic: Why does it has this limitation?

> > And remember that this is only a "suggestive" tool like dpkg-shlibdeps,
> > if your package is so strange that it really does not work you can omit it
> > and you can *always* add own dependencies - just like with dpkg-shlibdeps.
> 
> True, but I would rather not add an option what I know will break things.

Ok, what about this, I make a dpkg-genbuilddeps and a patch to debuild so
that it *optionally* runs strace only if the user provided "--genbuilddeps"
so that the functionality can still be used for initial creating of a
build-depends line.
(It's just that I bet that we never get build-depends if maintainers are
forced to guess them theirselves w/o automatic help)

debuild would then spit out a package_version_i386.builddeps file which
can be compared by hand with the build-depends line the package has already
in the dsc file. (of course this file won't get uploaded etc)

> Wichert.
bye,

 -christian-

-- 
   Real programmers confuse Christmas and Halloween,
  because Dec 25 = Oct 31 !!!
---
Linux - the choice of the GNU generation.   Join the Debian Project 
      http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Bug#67896: Support patch for dh_builddeps

2000-07-30 Thread Christian Hammers

> > (It's just that I bet that we never get build-depends if maintainers are
> > forced to guess them theirselves w/o automatic help)

> We get build-depends since some of the autobuilders build packages in
> minimal chroots and detect problems automatically.

Well, I never received a mail froma an autobuilder saying that one of
my packages (about 10) were examined and found to have the following 
buildtime dependencies.

Maybe this should be done so that they can be included (as required by
policy, or not?) into the control file by the maintainers.
 
> Wichert.
bye,

 -christian-



-- 
   Real programmers confuse Christmas and Halloween,
  because Dec 25 = Oct 31 !!!
---
Linux - the choice of the GNU generation.   Join the Debian Project 
      http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: I made a script for auto. creating build-depends

2000-07-30 Thread Christian Hammers

> IMO, this script should not be part of a normal build. It should be a
> simple extra utility that a maintainer can call every so often to validate
> their build deps. Generating build deps should not be part of the normal

Sorry, it seems as if I forgot to mail to this list that my latest patches
against dpkg-buildpackage I mailed Wichert via the BTS are only calling 
strace when dpkg-buildpackage or debuild are executed with the "-gb" flag.
It now only generates an informal ../packages_version_arch.builddeps.

(I saw that the calculated dependencies were too rough and that mysql alone
created a 40MB strace file :-))

> Ben
bye,

 -christian-

-- 
  Did You know that MicroSoft was named after Bill Gates' penis ?
---
Linux - the choice of the GNU generation.   Join the Debian Project 
  http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Bug#67896: Support patch for dh_builddeps

2000-07-31 Thread Christian Hammers

Hello

On Mon, 31.07.00 11:22 +0200, Christian T. Steigies wrote:
> See here for some of the source-dependencies the autobuilders use:
>  http://buildd.debian.org/andrea/m68k/source-dependencies-unstable.gz
...
> I did not follow the discussion completely, but I think its rather
> pointless, since its all already there in sbuild and the build-daemons.
Well, after looking at Andrea's list the only thing that starts to get
pointless is the sentence starting with "Source packages must specify which 
binary packages they require to be installed or not to be installed in order 
to build correctly." in the Policy 2.4.2.

Before forcing the maintainers to make themselfes the work to figure these
dependencies out we should tell them that such a list already exists!
(And don't tell me that they should have known it from various discussions
under strange topics in some lists!)

Maybe Roman should "generalize" his work an file more bug reports until 
this list is purely generated from the control's files lines.

> Christian
bye,

 -christian-

-- 
Love is a grave mental disease.
-- Plato
---
Linux - the choice of the GNU generation.   Join the Debian Project 
          http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




why deos debconf call postrm again?

2000-08-09 Thread Christian Hammers

Hello

I'm too stupid to find that bug: my snort package calls:

# Automatically added by dh_installdebconf
if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section

At the very end of the script. Now this confmodule does the following:

Check to see if a FrontEnd is running.
f [ ! "$DEBIAN_HAS_FRONTEND" ]; then
# Ok, this is pretty crazy. Since there is no FrontEnd, this
# program execs a FrontEnd. It will then run a new copy of $0 that
# can talk to it.
exec /usr/share/debconf/frontend $0 $*
fi
++ '[' '!' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/snort.postrm purge

# summary of how this script can be called:
#*  `remove'
#*  `purge'

As you can see, this frontend calls my postrm *again* which leads to an 
error because I do things there I cannot do twice!
(e.g. removing a user)

Any ideas?

bye,

 -christian-

-- 
  A radioactive cat has eighteen half-lives.
---
Linux - the choice of the GNU generation.   Join the Debian Project 
          http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Help, I get flooded! [Bug#71427: mysql-server]

2000-09-12 Thread Christian Hammers

Hello

I (aka [EMAIL PROTECTED]) get flooded by identical copies of the mail attached.
I count about 40 mails during the weekend and I get a new one every couple
of hours. Sadly I cannot reach the author as he supplied a wrong email 
address. I tried some variations of it and mailed the postmaster as well
as [EMAIL PROTECTED] (in case that there're more mails in the queue)
but none seems to have effort.

Any ideas beside simply ignoring/filter them? 

bye,

 -christian-

-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified



Package: mysql-server
Version: 3.23.22b-2
Severity: normal

Hi,

I dunno if this is an upstream problem, but here is the fix for my system:

  in line 94 of the script safe_mysqld, I remove a hyphen ("-").

also this could be some kinda wierdness from my system, anyway since I found
a fix, I thought I'd share.

Regards,
Morten .
-- System Information
Debian Release: woody
Kernel Version: Linux Power 2.4.0-test4 #15 Fri Sep 8 05:53:06 CEST 2000 i686 unknown

Versions of the packages mysql-server depends on:
ii  debconf0.3.70 Debian configuration management system
ii  libc6  2.1.3-10   GNU C Library: Shared libraries and Timezone
ii  libdbi-perl1.13-4 The Perl5 Database Interface by Tim Bunce
ii  libstdc++2.10  2.95.2-14  The GNU stdc++ library
ii  libwrap0   7.6-5  Wietse Venema's TCP wrappers library
ii  mysql-client   3.23.22b-2 mysql database client binaries
ii  perl-5.004 5.004.05-6 Larry Wall's Practical Extracting and Report
^^^ (Provides virtual package perl5)
ii  zlib1g 1.1.3-9compression library - runtime
^^^ (Provides virtual package libz1)




conflicting with versioned provides possible?

2000-10-08 Thread Christian Hammers

Hello

Does dpkg/apt support conflicting with versioned provides? 
Would be easier for libfooN-dev style packages but I remember that
there were problems with dpkg somewhen...

bye,

 -christian-

-- 
  Geek: Has 3 friends and trouble meeting new people. 
  Nerd: Has 3 friends, but recyles through the use of role playing games 
and secret code names, bringing the total to 27. (Matt2000 at /.)


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: icon.png => debian/ ?

2000-11-19 Thread Christian Hammers

On Mon, Nov 20, 2000 at 12:56:37AM +0200, Eray Ozkural wrote:
> What's wrong with binary changes anyway? I might want to include a few
> binaries, right?
Changes are produced by the "diff" program which can only represent changes
to text files, therefore you have to convert all changed binaries to text
before building the package. 
(just the damn need to stay backward compatible... why can't diff just
en-/decode it itself :-()

tschüss,

-christian-

-- 
   You know you're a nerd when your os uptime is longer than  
   you've ever had a girlfriend.  ([EMAIL PROTECTED])


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Contact?

2000-11-20 Thread Christian Hammers

Hello you waiting NMs :)

On Mon, Nov 20, 2000 at 03:17:59PM +0100, Michael Moerz wrote:
> I know someone who has been waiting really long, whereas some other
> friend of mine was taking through very quickly. Personally I am currently
> also becoming a DD, and my initial contact was made after 40 days or so.
Just a hint: If you want to do anything for Debian, you don't require to
be an "official developer". 

Just take a look into the Bug Tracking System, fix some bugs and send the
patches to the maintainers.

If you do so, you learn much about the debian packaging system and if you 
tell that the New-Maintainers-Managers they normally will accept your
application *really* fast (not by policy but according to what people say).

bye,

 -christian-

-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Understanding apt-cache showpkg output (reverse depends)

2000-12-29 Thread Christian Hammers

Hi

$ apt-cache showpkg libmysqlclient6
Versions: 
3.22.30-3(/var/state/apt/lists/ftp.de.debian.org_debian_dists_sid_main_binary-i386_Packages)(/var/lib/dpkg/status),
Reverse Depends: 
  xmysqladmin,libmysqlclient6
  digitaldj,libmysqlclient6
  tcl-sql,libmysqlclient6
  pike7-mysql,libmysqlclient6
  pike-mysql,libmysqlclient6
  phpmyadmin,libmysqlclient6
  mysql-common,libmysqlclient6
  libpam-mysql,libmysqlclient6
  libmysqlclient9-dev,libmysqlclient6
  libmysqlclient6-dev,libmysqlclient6
  libmysqlclient10-dev,libmysqlclient6
...

How shoul I understand this? E.g. mysql-common does NOT depend on the old
libmysqlclient6. Even more it does *replace* this package (partially).

Is there another way to check if any package still depends on a specific 
package/version?

bye,

 -christian-


-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Security upgrade for potato by new major version and distro change?

2001-01-21 Thread Christian Hammers

Hi

As MySQL has a bad security problem and is accordingly to a @mysql.com person
no longer supported in potato's version my only chance is to build the latest
(and not at least officially announced as stable) version 3.23.31 for potato.

As this would be too simple MySQL is now even GPL and could go from
non-free to main replacing the mysql-gpl-client package and the mysql-client
package.

Are these changes ok for a severity=high fix? Or is there a C/C++ coder out
there who would backport the patch? 

If I don't hear from you I build at master.debian.org and simply upload
and wait...

bye,

 -christian-

-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Security upgrade for potato by new major version and distro change?

2001-01-22 Thread Christian Hammers

Hi

On Mon, Jan 22, 2001 at 08:13:57AM +0100, Martin Schulze wrote:
> > (and not at least officially announced as stable) version 3.23.31 for potato.
> 
> You should always be able to backport a patch.  If not, I'm sorry, but that
> this should be one quality of a Debian maintainer, you lack something...
Martin? It it the quality of a Debian maintainer to find the right line(s) in
a 100k C/C++ patch and moreover feeling sure enough about it to say that this
fixes the security hole in one often used package?!?!?! 
Programming did not fall under the requirements of a maintainer, last time I
checked.

> Guillome has made a backport fix for MySQL, he sent it to the mysql
> maintainer.  It may be in the bts, I'm not sure, talk to him if you're
Which solves the whole problem, a build will be done this evening.

>   Joey
bye,

-christian-

-- 
  War doesn't determine who is right - only who is left.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Security upgrade for potato by new major version and distro change?

2001-01-22 Thread Christian Hammers

On Mon, Jan 22, 2001 at 03:49:22AM -0600, Scott Dier wrote:
> * Christian Hammers <[EMAIL PROTECTED]> [010122 02:38]:
> > > You should always be able to backport a patch.  If not, I'm sorry, but that
> > > this should be one quality of a Debian maintainer, you lack something...
> > Martin? It it the quality of a Debian maintainer to find the right line(s) in
> > a 100k C/C++ patch and moreover feeling sure enough about it to say that this

> http://www.debian.org/devel/constitution
...
> That reads a bit like:
> If you've got anything good to advance the project.  Do it.

This is correct but has nothing to do with the topic 
Martin sounded a bit like if he were complaining about my lack to backport
a patch for a database engine consisting of many C/C++ lines to another 
version. Whereas I was of the opinion that it is nice if some programmer could
do this but this ability is not regarded as "required" by a maintainer.

but lets drop this topic, we're getting boring.

bye,

-christian-

-- 
codito ergo sum - I code, therefore I am!


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




chroot and FHS

2001-01-24 Thread Christian Hammers

I like to build my mysql package with chroot support and therfore jail it
somewhere under /var/lib/mysql and link the log files to /var/log.

I either statically link it so that it can be run from /usr/sbin and then
live in /var/lib because I don't want to have binaries in /var  or
hardlink the libs from /usr/lib and /lib to /var/lib/mysql? 
Without trying it out I would say that the latter way is preferred, isn't it?

bye,

-christian-

-- 
codito ergo sum - I code, therefore I am!


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: chroot and FHS

2001-01-27 Thread Christian Hammers

Hi


On Thu, Jan 25, 2001 at 05:30:16PM +0100, Ingo Saitz wrote:
> > I like to build my mysql package with chroot support and therfore jail it
> > somewhere under /var/lib/mysql and link the log files to /var/log.
> Do you plan to make them officially available in debian?
yes. Although choiceable by a debconf swich as many installations rely on
"SELECT ... INTO OUTFILE.." etc.

> You either have to copy the libraries into the chroot environment
> or provide a statically linked binary. Also, remember to not to
> start mysql with a working directory outside the chroot.
Well here lies the problem. MySQL has a --chroot=DIR option but if started
this way it still uses the databases in /var/lib/mysql but writes the 
logfile and OUTFILE data to the chroot. It also does not require any additional
libraries as it seems to be able to continue using the existant file 
descriptiors.

Would anybody say that in this case I should not rely on mysql´s --chroot but
instead chroot it myself?

This would involve more work and as mysql runs under a seperate UID it should
not be able to harm the system libraries it is linked to.
It would on the other hand be a good jail for poeple trying to get 
information by INFILE/OUTFILE tricks and in most cases buffer overflow 
rootshells (as there would be no shells).
 
> Ingo
bye,

 -christian-

-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




package status overview for developers (was: auto-builders..)

2002-07-21 Thread Christian Hammers

On Thu, Jul 18, 2002 at 11:54:43AM +0900, Oohara Yuuma wrote:
> or http://people.debian.org/~igenibel/
Wow, this is great! Can you please convince the Debian webmasters to
put this script somewhere more easily  accessable on the web pages?

bye,

-christian-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




package status overview for developers (was: auto-builders..)

2002-07-21 Thread Christian Hammers
On Thu, Jul 18, 2002 at 11:54:43AM +0900, Oohara Yuuma wrote:
> or http://people.debian.org/~igenibel/
Wow, this is great! Can you please convince the Debian webmasters to
put this script somewhere more easily  accessable on the web pages?

bye,

-christian-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]