Debian Bug report logs - #4181
Searching for wrong active file

version graph

Package: nn; Maintainer for nn is Cord Beermann <cord@debian.org>; Source for nn is src:nn (PTS, buildd, popcon).

Reported by: joey@wazergate.north.de (Martin Schulze)

Date: Fri, 16 Aug 1996 23:03:04 UTC

Severity: normal

Merged with 12980

Found in version 6.5.0.b3.linux.1.1-01

Done: unknown

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-devel@lists.debian.org, Mike Coleman <coleman@chez-gnu.cstp.umkc.edu>:
Bug#4181; Package nn. (full text, mbox, link).


Acknowledgement sent to joey@wazergate.north.de (Martin Schulze):
New bug report received and forwarded. Copy sent to Mike Coleman <coleman@chez-gnu.cstp.umkc.edu>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: joey@wazergate.north.de (Martin Schulze)
To: submit@bugs.debian.org
Subject: Searching for wrong active file
Date: Sat, 17 Aug 96 00:35 MET DST
Package: nn
Version: 6.5.0.b3.linux.1.1-01

Debian's INN has its active file located in /var/lib/news/active.
The nn newsreader mentioned above unfortunately tries to read it 
from /usr/lib/news/active.

Here's an strace excerpt:

wazergate!joey:~> strace nn
[...]
uname({sys="Linux", node="wazergate", ...}) = 0
open("/etc/hosts", O_RDONLY)            = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=156, ...}) = 0
read(3, "127.0.0.1\tlocalhost\n192.109.22"..., 4096) = 156
read(3, "", 4096)                       = 0
close(3)                                = 0
brk(0x8049000)                          = 0x8049000
brk(0x804a000)                          = 0x804a000
brk(0x804d000)                          = 0x804d000
open("/usr/lib/news/active", O_RDONLY)  = -1 ERRNO_2 (No such file or directory)
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(4, 197), ...}) = 0
brk(0x804e000)                          = 0x804e000
ioctl(1, 0x5401, {B38400 opost isig icanon echo ...}) = 0
write(1, "could not fetch active file\n", 28could not fetch active file


Regards,

	Martin



Information forwarded to debian-devel@lists.debian.org, Mike Coleman <coleman@chez-gnu.cstp.umkc.edu>:
Bug#4181; Package nn. (full text, mbox, link).


Acknowledgement sent to joey@wazergate.north.de (Martin Schulze):
Extra info received and forwarded to list. Copy sent to Mike Coleman <coleman@chez-gnu.cstp.umkc.edu>. (full text, mbox, link).


Message #10 received at 4181@bugs.debian.org (full text, mbox, reply):

From: joey@wazergate.north.de (Martin Schulze)
To: 4181@bugs.debian.org
Subject: Re: Bug#4181: Searching for wrong active file)
Date: Sat, 17 Aug 1996 01:53:04 +0200 (MET DST)
Luckily I can provide you with a patch:

diff -Nur orig/nn-6.5.0.b3.linux.1.1/db.c nn-6.5.0.b3.linux.1.1/db.c
--- orig/nn-6.5.0.b3.linux.1.1/db.c	Thu Nov 25 10:39:33 1993
+++ nn-6.5.0.b3.linux.1.1/db.c	Sat Aug 17 00:46:41 1996
@@ -962,7 +962,7 @@
     actfp = nntp_fopen_list("LIST");
   } else
 #endif
-    actfp = fopen(relative(news_lib_directory, "active"), "r");
+    actfp = fopen("/var/lib/news/active", "r");
 
   if (actfp == NULL) {
     nn_exitmsg(1, "could not fetch active file\n");

Regards,

	Joey


Information forwarded to debian-devel@lists.debian.org:
Bug#4181; Package nn. (full text, mbox, link).


Acknowledgement sent to Mike Coleman <coleman@chez-gnu.cstp.umkc.edu>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #15 received at 4181@bugs.debian.org (full text, mbox, reply):

From: Mike Coleman <coleman@chez-gnu.cstp.umkc.edu>
To: joey@wazergate.north.de, 4181@bugs.debian.org
Subject: Re: Bug#4181: Searching for wrong active file
Date: Sun, 18 Aug 96 17:06 CDT
   Date: Sat, 17 Aug 96 00:35 MET DST
   From: joey@wazergate.north.de (Martin Schulze)

   Debian's INN has its active file located in /var/lib/news/active.
   The nn newsreader mentioned above unfortunately tries to read it 
   from /usr/lib/news/active.

Martin,

[Cool!  My first bug report!  :-]

When I compiled this version of nn, I was assuming that it would be used as an
NNTP-only newsreader, the assumption being that virtually everyone reads news
this way.

It looks like what you're doing here is trying to read news out of a local
spool area.  I suppose if this can be easily supported, it should be, but I'm
not at all sure it will work.  In particular, 'nn' would have to be able to
read NOV (overview) data out of this spool area, too.

Before I start digging further, do you know whether both news and the overview
data are available on your machine?

Thanks,
--Mike


Information forwarded to Mike Coleman <coleman@chez-gnu.cstp.umkc.edu>:
Bug#4181; Package nn. (full text, mbox, link).


Acknowledgement sent to remco@blaakmeer.student.utwente.nl (Remco Blaakmeer):
Extra info received and forwarded to maintainer. Copy sent to Mike Coleman <coleman@chez-gnu.cstp.umkc.edu>. (full text, mbox, link).


Message #20 received at 4181-maintonly@bugs.debian.org (full text, mbox, reply):

From: remco@blaakmeer.student.utwente.nl (Remco Blaakmeer)
To: 4181-maintonly@bugs.debian.org
Subject: Old bugs need to be looked at
Date: Sun, 1 Feb 1998 12:22:00 +0100 (CET)
This is an automated message sent to all bugs older than one year.

This bug is very old. Please take a look at it and see if you can fix it.
If it has already been fixed, please close it.

If you have problems fixing it or if you don't have the time to fix it,
please ask the people on debian-devel@lists.debian.org for help, so that
at least the oldest bugs can be solved before Debian 2.0 is released.

Remco Blaakmeer


Merged 4181 12980. Request was from Martin Schulze <joey@kuolema.Infodrom.North.DE> to control@bugs.debian.org. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri May 3 18:20:22 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.