SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000605ClearOSapp-flexshare - Flexsharespublic2012-05-14 06:292012-06-05 17:52
Reportertimb80 
Assigned Touser2 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.2.0 
Target VersionFixed in Version6.2.0 Updates 
Summary0000605: Flexshare creates mount bind loop
DescriptionWhen 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
Additional InformationIt 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
TagsNo tags attached.
Attached Files

- Relationships

-  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

- Issue History
Date Modified Username Field Change
2012-05-14 06:29 timb80 New Issue
2012-05-14 15:14 user2 Status new => acknowledged
2012-05-16 15:17 user2 Checkin
2012-05-16 15:17 user2 Note Added: 0000511
2012-05-16 15:19 user2 Checkin
2012-05-16 15:19 user2 Note Added: 0000512
2012-05-16 15:19 user2 Status acknowledged => resolved
2012-05-16 15:19 user2 Fixed in Version => 6.2.0 Updates
2012-05-16 15:19 user2 Resolution open => fixed
2012-05-16 15:19 user2 Assigned To => user2
2012-06-05 17:52 user2 Status resolved => closed

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7