Symlink problem with /var/spool

l0rdphi1

Verified User
Joined
Jun 22, 2003
Messages
1,471
Due to space issues with my /var partition, I have /var/mail and /var/spool symlinked to /home/spool/mail and /home/spool, respectively. This creates problems when I go to remove a domain. I get-
Domain Deletion Results

Details

Error deleting domaddin.cc

Unable to remove /var/spool/virtual/domaddin.cc as it contains a symbolic link


Unable to open domain pointers file

domaddin.cc's config files have been removed



Click HERE to return
Any ideas?
 
I remember adding that check a few releases ago. It was done globally for the function to remove a directory and it's files. I've just changed the code for you to ignore any symlinks when removing the /var/spool/virtual/domain.com directory. (next release)

John
 
I am having the same problem almost 3 years later. I have /var symlinked to /home/var which is another partition. Whenever I delete a domain is gives the error:

Error deleting tmpdomain.com

Email:destroy: Unable to remove /var/spool/virtual/tmpdomain.com as it contains a symbolic link


tmpdomain.com's config files have been removed
 
Are you sure have a recent version of DA installed? What version are you running?

Jeff
 
Hi Jeff,

I am running version 1.28.1.

I see 1.29 is out now but I doubt that will make a difference unless the issue has specifically been addressed.
 
Found the code, added the flag to ignore the symlink. Available for next relelase.

If you need this fix now, send us an email including your OS and version.

John
 
Back
Top