ClearFoundation Tracker - ClearOS
View Issue Details
0000605ClearOSapp-flexshare - Flexsharespublic2012-05-14 06:292012-06-05 17:52
timb80 
user2 
normalmajorsometimes
closedfixed 
6.2.0 
6.2.0 Updates 
0000605: Flexshare creates mount bind loop
When creating a new flexshare its possible for the system to create a mount --bind entry for the share to itself, effectively creating a filesystem loop

I.e /var/flexshare/shares is mounted to /var/flexshare/shares/sharename

This can be seen by looking at /etc/fstab after creating flexshare

Steps to reproduce are in the following thread
http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,13/func,view/id,41241/#41241 [^]

Temporary work around is to remove the offending line in /etc/fstab
It would appear the flexshare system is creating a mount bind entry when it doesn't need too. This method is used for mounting web based shares into the flexshare system but shouldn't be called for normal / windows or FTP shares
No tags attached.
Issue History
2012-05-14 06:29timb80New Issue
2012-05-14 15:14user2Statusnew => acknowledged
2012-05-16 15:17user2Checkin
2012-05-16 15:17user2Note Added: 0000511
2012-05-16 15:19user2Checkin
2012-05-16 15:19user2Note Added: 0000512
2012-05-16 15:19user2Statusacknowledged => resolved
2012-05-16 15:19user2Fixed in Version => 6.2.0 Updates
2012-05-16 15:19user2Resolutionopen => fixed
2012-05-16 15:19user2Assigned To => user2
2012-06-05 17:52user2Statusresolved => closed

Notes
(0000511)
user2   
2012-05-16 15:17   
Source Code Changelog
---------------------------------------------------
- Fixed mount bind loop [tracker 0000605]

File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=4171 [^]
U webconfig/apps/flexshare/trunk/libraries/Flexshare.php
(0000512)
user2   
2012-05-16 15:19   
Source Code Changelog
---------------------------------------------------
- Added upgrade script to fix broken mount bind entries [tracker 0000605]

File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=4172 [^]
A webconfig/apps/flexshare/trunk/deploy/fix-share-dir
U webconfig/apps/flexshare/trunk/deploy/upgrade