Bug#413762: database files being created in the root ('/') directory

2007-03-27 Thread Jonathan McDowell
On Wed, Mar 14, 2007 at 10:29:52AM +, Jonathan McDowell wrote:
 On Tue, Mar 13, 2007 at 09:21:51PM +, Rafal Czlonka wrote:
  Jonathan McDowell wrote:
   When you have the package installed, does running onak index noodles
   as the onak user provide any output? Can you try strace -o onak.strace
   onak index noodles and send me the resulting onak.strace?
  
  That's the output I get.
  
  [13/03/2007 21:16:16] [28761]: Couldn't open num_keydb: No such file or
  directory
  [13/03/2007 21:16:16] [28761]: Couldn't write num_keydb: No such file or
  directory
  Key not found.
  
  When I run strace on onak, the files I've mentioned before are being
  created in the working directory.
 
 Hmmm. Somehow db_dir is getting set to NULL. Have you tried the
 onak-0.3.2 package (it's in testing)? If not can you give it a try and
 let me know if you still see the problem? I'm wondering if it's the
 change to dynamically loaded backend plugins that might have caused
 this.

I've got access to a PPC machine now and been able to verify this; it
does indeed appear to be an issue with the new dynamic loading of
backends resulting in the loaded backend not seeing the config
structure correctly.

J.

-- 
jid: [EMAIL PROTECTED]
Remember - if all you have is an axe,
every problem looks like
hours of fun. -- Frossie, asr.


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



Bug#413762: database files being created in the root ('/') directory

2007-03-14 Thread Jonathan McDowell
On Tue, Mar 13, 2007 at 09:21:51PM +, Rafal Czlonka wrote:
 Jonathan McDowell wrote:
  When you have the package installed, does running onak index noodles
  as the onak user provide any output? Can you try strace -o onak.strace
  onak index noodles and send me the resulting onak.strace?
 
 That's the output I get.
 
 [13/03/2007 21:16:16] [28761]: Couldn't open num_keydb: No such file or
 directory
 [13/03/2007 21:16:16] [28761]: Couldn't write num_keydb: No such file or
 directory
 Key not found.
 
 When I run strace on onak, the files I've mentioned before are being
 created in the working directory.

Hmmm. Somehow db_dir is getting set to NULL. Have you tried the
onak-0.3.2 package (it's in testing)? If not can you give it a try and
let me know if you still see the problem? I'm wondering if it's the
change to dynamically loaded backend plugins that might have caused
this.

J.

-- 
Why are Chinese fortune cookies written in English?


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



Bug#413762: database files being created in the root ('/') directory

2007-03-13 Thread Jonathan McDowell
On Thu, Mar 08, 2007 at 08:19:26PM +, Rafal Czlonka wrote:
 Jonathan McDowell wrote:
  Can you at least give me the md5sum of the file; I want to be certain
  it's pristine.
 
 f0cb6bc3f8c2a40d63e7deb1cd4b3131

Right, that matches my local copy.

When you have the package installed, does running onak index noodles
as the onak user provide any output? Can you try strace -o onak.strace
onak index noodles and send me the resulting onak.strace?

J.

-- 
 [  Ok ramblers, let's get rambling.  ]


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



Bug#413762: database files being created in the root ('/') directory

2007-03-12 Thread Rafal Czlonka
Jonathan McDowell wrote:
 This is on the same host, right? A PPC? And you've completed purged the
 old package and ensured there are no such files in / before installing
 it again?

Correct.

-- 
rjc


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



Bug#413762: database files being created in the root ('/') directory

2007-03-12 Thread Jonathan McDowell
On Thu, Mar 08, 2007 at 09:55:26PM +, Rafal Czlonka wrote:
 Tried on non-virtual kernel, it doesn't have anything to do with it -
 - still the same thing.

This is on the same host, right? A PPC? And you've completed purged the
old package and ensured there are no such files in / before installing
it again?

J.

-- 
] http://www.earth.li/~noodles/ []  The truth is out there, but also   [
]  PGP/GPG Key @ the.earth.li   []  in here.   [
] via keyserver, web or email.  [] [
] RSA: 4DC4E7FD / DSA: 5B430367 [] [


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



Bug#413762: database files being created in the root ('/') directory

2007-03-08 Thread Rafal Czlonka
Jonathan McDowell wrote:
 Can you at least give me the md5sum of the file; I want to be certain
 it's pristine.

f0cb6bc3f8c2a40d63e7deb1cd4b3131

 I really don't understand why you'd get this; onak should write the db
 files to whatever the db_dir directive states in the config file. I note
 you seem to be running a -vserver- kernel, which if memory serves is a
 sort of virtualization thing; is it possible this causes issues?  Do you
 have a different machine you can try on?  Any custom permissions on
 /var? Does /var/lib/onak get correctly created by the package? I assume
 it remains empty?

I'll try it on sparc and on this one with a kernel without -vserver- as
soon as I get the time. Can't do it now though, sorry. I haven't changed
/var permitions and yes, /var/lib/onak does get created and it's empty.

Regards,
-- 
rjc


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



Bug#413762: database files being created in the root ('/') directory

2007-03-08 Thread Rafal Czlonka
Tried on non-virtual kernel, it doesn't have anything to do with it -
- still the same thing.

Regards,
-- 
rjc


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



Bug#413762: database files being created in the root ('/') directory

2007-03-06 Thread Rafal Czlonka
Package: onak
Version: 0.3.3-1
Severity: serious

Hi.

After installing this package some database files were being created in
the root directory:

$ ls -lt /
[cut]
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.9.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.8.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.7.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.6.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.5.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.4.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.2.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.1.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.0.db
-rw-r-   1 root root   16384 2007-03-06 18:15 __db.005
-rw-r-   1 root root  368640 2007-03-06 18:15 __db.004
-rw-r-   1 root root   98304 2007-03-06 18:15 __db.003
-rw-r-   1 root root  270336 2007-03-06 18:15 __db.002
-rw-r-   1 root root8192 2007-03-06 18:15 __db.001
-rw-r--r--   1 root root   16384 2007-03-06 18:15 worddb
-rw-r--r--   1 root root   53248 2007-03-06 18:15 keydb.3.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.15.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.14.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.13.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.12.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.11.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 keydb.10.db
-rw-r--r--   1 root root   20480 2007-03-06 18:15 id32db
[cut]

Surely '/' is not the place for none of these.

Regards,
rjc

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-vserver-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages onak depends on:
ii  adduser3.102 Add and remove users and groups
ii  libc6  2.3.6.ds1-13  GNU C Library: Shared libraries
ii  libdb4.2   4.2.52+dfsg-1 Berkeley v4.2 Database Libraries [

Versions of packages onak recommends:
ii  boa [httpd]  0.94.14rc21-0.2 Lightweight and high performance w

-- no debconf information


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