rnews assumes it can safely rename spooled tmp files

Joe St Sauver JOE at OREGON.UOREGON.EDU
Fri Feb 25 17:31:00 UTC 2000


After a period when our reader box was down, upon coming back up
rnews attempted to rename files from /news/tmp to 
/var/spool/news/incoming, however, as implemented that involves
a cross-device link and fails. E.G.:

Feb 25 08:41:18 pith rnews: cant rename /news/tmp/38b6b0adFAaq9P 
to /var/spool/news/incoming/38b6b0aeGAaq9P Cross-device link

I'd suggest modifying that behavior to either do a copy instead of
a hard link by default, or to at least test for a cross-device
disk layout, and only do hard links when safe.

Regards,

Joe



More information about the inn-workers mailing list