[bug #13853] creation of archive with attachments writes over symlinks

2005-12-10 09:40:47

Follow-up Comment #4, bug #13853 (project mhonarc):

I stumbled on the same problem with the symlink error msg, when
I installed V 2.6.15.
I keep archives in yearly directories and there is a symlink
current -> 2005.
The archiver, invoked from mailman, is

PRIVATE_EXTERNAL_ARCHIVER = "/usr/local/bin/mhonarc -add -outdir
/www/mailman/archives/private/%(listname)s/current >> /tmp/mhonarc-mc.log"

in this way, at midnight, new year's day, all I have to do is switch the
symlink around, no messing with mailman configs or editing an alias file. As
I understand, this alone would be OK,  but by default the outdir is also the
attachmentdir, and this is where mhonarc trips over the symlink (BTW: while
it might be ok to print the error and exit, I don't think is ok to try to
delete the symlink). I did not see this problem with existing archives, which
I did not recreate after switching to 2.6.15, but with any archives that I
redid after the update.

One might try to define a relative AttachmentDir to solve the problem.


but this does not work, as was noted in the mhonarc-user mailing list
with the mhonarc invoked as above, the attachments directory is created in
the processes' working directory, which is mailman's home directory,
/www/mailman. It is not created in the outdir and any existing one there is
not used.



Reply to this item at:


  Nachricht geschickt von/durch Savannah

To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the

<Prev in Thread] Current Thread [Next in Thread>