Joined: Oct. 2003
||Posted: Aug. 02 2007,04:36
The weirdness that you are seeing is like mikshaw pointed out. The original /etc/smb.conf was linked to /opt/samba/smb.conf which samba.unc mounted on /opt/samba -- ouch!
Additionally, in order for me to support both legacy and unionfs not all directories participate, i.e., /opt is by default writable and therefore not part of unionfs.
Without testing, I would suggest to rename samba.unc to something else to avoid this.
There are limitations with unionfs and mounting over directories that contain linked files appears to be one.
Unfortunately, newer versions of unionfs do not support 2.4. Not that would necessarliy solve this issue. However, that does not diminish current unionfs usefulness, especailly for lower memory systems.
Since legacy required many links to be created in /opt and unionfs, as I have implemented it, also want to mount in /opt; I will check if these /opt mountpoints exist as links or directories, and if so, not allow this situation to occur. This should then avoid this problem. I will implement in 3.4.1 as well as 4.0
[EDIT] On second thought this test should be in the declobber script and not have pay a penalty to test everytime any unc is loaded.
Edited by roberts on Aug. 02 2007,05:09