Debian Bug report logs - #8092
nn looks for active file in /usr/lib/news/active

version graph

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

Reported by: Richard Braakman <dark@xs4all.nl>

Date: Sun, 16 Mar 1997 04:18:01 UTC

Severity: normal

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

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-bugs-dist@lists.debian.org, Mike Coleman <coleman@chez-gnu.cstp.umkc.edu>:
Bug#8092; Package nn. (full text, mbox, link).


Acknowledgement sent to Richard Braakman <dark@xs4all.nl>:
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: Richard Braakman <dark@xs4all.nl>
To: debian-bugs@pixar.com
Subject: nn looks for active file in /usr/lib/news/active
Date: Sun, 16 Mar 1997 05:07:22 +0100 (MET)
Package: nn
Version: 6.5.0.b3.linux.1.1-01

When I start nn, it aborts immediately:

]night:[dark]~: nn
]could not fetch active file
]
]night:[dark]~: 

I use suck and innd to create a local news spool.  INN (1.4unoff4-1)
keeps its active file in /var/lib/news/active.

I used strace, and it turns out that nn looks for the active file
in /usr/lib/news/active.  This is the wrong place.

I have tried it with the NNTPSERVER environment variable unset,
or set to "localhost", or set to "night" (the hostname).  The
behaviour is the same.

If I set NNTPSERVER to the FQDN, nn segfaults.  But I suspect that
belongs in another bugreport.  I'll send one when I have investigated.

Other details requested by the bug-report doc:
(I doubt they're relevant, but it can't hurt)

Kernel version (uname -a):
   Linux night 2.0.6 #104 Fri Mar 14 01:48:44 MET 1997 i486
Libc version 5.4.20
/etc/debian_version reports 1.1, but that's probably because I
upgraded to a newer dpkg package.  My original install was from
the Sep 1996 Info-Magic disks.

I guess the strace output is also relevant:

mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) = 0x40007000
mprotect(0x40000000, 20301, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x8000000, 207512, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=2727, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
mmap(0, 2727, PROT_READ, MAP_SHARED, 4, 0) = 0x40008000
close(4)                                = 0
stat("/etc/ld.so.preload", 0xbffffba4)  = -1 ERRNO_2 (No such file or directory)
open("/lib/libncurses.so.3.0", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 249856, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) = 0x40009000
mmap(0x40009000, 198134, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0x40009000
mmap(0x4003a000, 30592, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x30000) = 0x4003a000
mmap(0x40042000, 13444, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 4294967295, 0) = 0x40042000
close(4)                                = 0
mprotect(0x40009000, 198134, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/lib/libc.so.5", O_RDONLY)        = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 757760, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) = 0x40046000
mmap(0x40046000, 528099, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0x40046000
mmap(0x400c7000, 22860, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x80000) = 0x400c7000
mmap(0x400cd000, 204720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 4294967295, 0) = 0x400cd000
close(4)                                = 0
mprotect(0x40046000, 528099, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
munmap(0x40008000, 2727)                = 0
mprotect(0x8000000, 207512, PROT_READ|PROT_EXEC) = 0
mprotect(0x40009000, 198134, PROT_READ|PROT_EXEC) = 0
mprotect(0x40046000, 528099, PROT_READ|PROT_EXEC) = 0
mprotect(0x40000000, 20301, PROT_READ|PROT_EXEC) = 0
personality(0)                          = 0
geteuid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
getegid()                               = 1000
brk(0x803e1c8)                          = 0x803e1c8
ioctl(0, 0x5401, {B9600 opost isig icanon echo ...}) = 0
sigaction(SIGTERM, {0x80052d0, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
sigaction(SIGHUP, {0x80052d0, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
sigaction(SIGPIPE, {0x8005310, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
sigaction(SIGALRM, {SIG_IGN}, {SIG_DFL}) = 0
sigaction(SIG30, {0x80052d0, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
getuid()                                = 1000
getgroups(32, [1000])                   = 1
getegid()                               = 1000
geteuid()                               = 1000
getpid()                                = 28572
brk(0x803e1f0)                          = 0x803e1f0
brk(0x803f000)                          = 0x803f000
stat("/var/spool/nn/DATA/0", 0x8037260) = -1 ERRNO_2 (No such file or directory)
sigaction(SIGINT, {0x80052f0, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
sigaction(SIGQUIT, {0x80052f0, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
sigaction(SIGTSTP, {0x8005330, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
stat("/home/dark/.nn", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
uname({sys="Linux", node="night", ...}) = 0
stat("/etc/locale/C/libc.cat", 0xbfffee60) = -1 ERRNO_2 (No such file or directory)
stat("/usr/share/locale/C/libc.cat", 0xbfffee60) = -1 ERRNO_2 (No such file or directory)
stat("/usr/share/locale/libc/C", 0xbfffee60) = -1 ERRNO_2 (No such file or directory)
stat("/usr/share/locale/C/libc.cat", 0xbfffee60) = -1 ERRNO_2 (No such file or directory)
stat("/usr/local/share/locale/C/libc.cat", 0xbfffee60) = -1 ERRNO_2 (No such file or directory)
open("/etc/host.conf", O_RDONLY)        = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=46, ...}) = 0
fcntl(4, F_GETFL)                       = 0 (flags O_RDONLY)
fstat(4, {st_mode=S_IFREG|0644, st_size=46, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) = 0x40008000
lseek(4, 0, SEEK_CUR)                   = 0
read(4, "order hosts,bind\nmulti on\nnosp"..., 4096) = 46
gettimeofday({858485228, 102386}, NULL) = 0
getpid()                                = 28572
open("/etc/resolv.conf", O_RDONLY)      = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=41, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) = 0x400ff000
read(5, "domain xs4all.nl\nnameserver 194"..., 4096) = 41
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x400ff000, 4096)                = 0
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40008000, 4096)                = 0
uname({sys="Linux", node="night", ...}) = 0
open("/etc/hosts", O_RDONLY)            = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=57, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) = 0x40008000
read(4, "127.0.0.1\tnight\tlocalhost\n192"..., 4096) = 57
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40008000, 4096)                = 0
uname({sys="Linux", node="night", ...}) = 0
open("/etc/hosts", O_RDONLY)            = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=57, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) = 0x40008000
read(4, "127.0.0.1\tnight\tlocalhost\n192"..., 4096) = 57
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40008000, 4096)                = 0
brk(0x8042000)                          = 0x8042000
brk(0x8045000)                          = 0x8045000
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, 194), ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 4294967295, 0) = 0x40008000
ioctl(1, 0x5401, {B9600 opost isig icanon echo ...}) = 0
write(1, "could not fetch active file\n", 28) = 28
write(1, "\n", 1)                       = 1
_exit(1)                                = ?



Send a report that this bug log contains spam.


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

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.