[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] trying to change home directory for news...



<x-flowed>


It's a compile time option, and if you change the home, you'll
effectively lose your spool. While there are ways to copy over the hard
links (cpio or tar), the hashing function used to distribute the
message.id files will break because it has a bug that takes the length
of the full path (including the prefix) -- I cannot fix this in leafnode
1.9 because people would lose their spool just from updating if I made
this change.
A reasonable workaround though is to copy everything over WHILE KEEPING
THE HARD LINKS AS HARD LINKS, remove /var/spool/news and then place a
symlink from /var/spool/news to the new location, say you copied it to
/home/spool/news:
ln -sfn /home/spool/news /var/spool/news

Uh oh.... too late.

I copied everything over, but I had no idea that hard links were being 
employed..... so it's a little late for that.
I have no qualms in deleting all stored messages and starting again 
though... is that what I should do? Uninstall the rpm, and then 
reinstall it, this time doing the copy with the hard links intact?

Or is there some way to repair it? (Again, I don't mind wiping out all 
stored articles).

Right now, leafnode seems to work, but there is something going on re: 
posting... I haven't been able to post messages. It looks like they go 
through, but never end up in the newsgroup.

Also...  why use the f and n options when doing the symlink?

G

--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list
</x-flowed>