Subject: Bug#4181: Searching for wrong active file

From: [email-masked] (Martin Schulze)
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