2.3 cnfs not compatible with 2.4 ?

Miquel van Smoorenburg list-inn-workers at news.cistron.nl
Wed Apr 4 15:26:49 UTC 2001


My apologies if this has been answered before.

Today I upgraded our feeder from 2.3.1 to 2.4-CVS just to see how
it would work. The kernel, C compiler, include files, configure
options - everything the same between 2.3.1 and 2.4-CVS.

Yet the logfile was full with

Apr  4 16:54:52 wormhole innfeed[6900]: ME munged article @030273646336000000000032F0450000000B@

Sure enough, sm "@030273646336000000000032F0450000000B@" produced garbage
output while sm.OLD <same> printed the article normally.

Is this a known problem? In that case, the text in "NEWS" isn't correct:

    Currently, there are no incompatible differences between INN 2.3 and
    2.4, so a simple "make update" should be sufficient.

I have strace output from both sm and sm.OLD

===================== strace sm (2.4) ========================
open("/news/disk/sdc/6", O_RDONLY)      = 4
fcntl(4, F_GETFD)                       = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
old_mmap(NULL, 458752, PROT_READ, MAP_SHARED, 4, 0) = 0x2abd5000
pread(4, "\0\0\4n:\3135\274\2\0\0\0", 12, 1709214208) = 12
read(4, "CBuf3\0\0\0sdc6\0\0\0\0\0\0\0\0\0\0\0\0/news/di"..., 1134) = 1134
munmap(0x2abd5000, 458752)              = 0
close(4)                                = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabf000
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(1, "CBuf3\0\0\0sdc6\0\0\0\0\0\0\0\0\0\0\0\0/news/di"..., 1024) = 1024
write(1, "$\1(\220\t$A\244\0\4\220\22$\21I\0DE$\1\200\0\0\0H\0\4"..., 36) = 36
write(1, "\20\t\2\221H\22%\0H\22\210\210\10\25!\221R\222\222 at A\22"..., 39) = 39
write(1, "\211D\204$I\20\4\210\220\5\222\210\224\4\"I\0$\21E\222"..., 35) = 35
munmap(0x2aabf000, 4096)                = 0
_exit(0)                                = ?

===================== strace sm.OLD ========================
open("/news/disk/sdc/6", O_RDONLY)      = 4
fcntl(4, F_GETFD)                       = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
lseek(4, 0, SEEK_SET)                   = 0
read(4, "CBuf3\0\0\0sdc6\0\0\0\0\0\0\0\0\0\0\0\0/news/di"..., 192) = 192
lseek(4, 0, SEEK_SET)                   = 0
old_mmap(NULL, 458752, PROT_READ, MAP_SHARED, 4, 0) = 0x2abe4000
lseek(4, 1709214208, SEEK_SET)          = 1709214208
read(4, "\0\0\4n:\3135\274\2\0\0\0", 12) = 12
read(4, "Path: newsgate.cistron.nl!news.m"..., 1134) = 1134
munmap(0x2abe4000, 458752)              = 0
close(4)                                = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabf000
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(1, "Path: newsgate.cistron.nl!news.m"..., 1024) = 1024
write(1, "terview with Dale Jr this mornin"..., 47) = 47
write(1, "Show? It was really very nice.\n", 31) = 31
write(1, "\n", 1)                       = 1
write(1, "\n", 1)                       = 1
write(1, "\n", 1)                       = 1
write(1, "\n", 1)                       = 1
munmap(0x2aabf000, 4096)                = 0
_exit(0)                                = ?

Mike.

-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to miquels at cistron-office.nl (Miquel van Smoorenburg)


More information about the inn-workers mailing list