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
0010981ClearOSapp-samba - Windows Networkingpublic2016-10-20 07:382019-06-13 01:52
ReporterNickH 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version7.2.0 
Target VersionFixed in Version 
Summary0010981: Samba start up does not write to the "interfaces" line of smb.conf
DescriptionIn 5.x (and probably 6.x but I've taken my server down), the "interfaces" parameter was rewritten every time samba was started. This would stop you allowing it to bind to your WAN interface. This does not happen.

When there are interfaces changes e.g moving a NIC from one slot to another, adding/removing a wireless dongle etc, no changes are made to smb.conf.

Changes need to be done either when starting samba or when a network change is detected.

Note I have restored an smb.conf from 6.x so I don't know if a vanilla 7.x configures the line.
Steps To ReproduceSet up samba, move an NIC from one slot to another so it gets renamed, set up the new interface, restart samba.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0004091)
NickH (developer)
2016-10-30 03:31
edited on: 2016-11-06 08:15

This is possibly a bigger issue in 6.x. I moved my old 6.x disk into my spare server so the interfaces changed. The system became unbootable as the winbindd start up hung and did not time out leading to a recovery situation. Fortunately I knew where to look.


- Issue History
Date Modified Username Field Change
2016-10-20 07:38 NickH New Issue
2016-10-20 08:43 user2 Status new => acknowledged
2016-10-30 03:31 NickH Note Added: 0004091
2016-11-06 08:15 NickH Note Edited: 0004091 View Revisions
2019-06-13 01:52 NickH Status acknowledged => closed
2019-06-13 01:52 NickH Resolution open => fixed

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