Bug 17819 - Squeezebox folder is breaking ReadyNAS Samba configuration
: Squeezebox folder is breaking ReadyNAS Samba configuration
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Platform Support
: 7.7.1
: Infrant ReadyNAS Debian Linux
: P3 normal (vote)
: 7.7.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-16 06:03 UTC by Michael Herger
Modified: 2012-01-09 08:39 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2011-12-16 06:03:01 UTC
Not really our fault, but Netgear's: they apply some magic in /etc/init.d/rc3 to re-build the shares file (/etc/frontview/samba/Shares.conf) which seems to be broken. The media share becomes overwritten with whatever other folder there is in /c/. File's content after I had created a folder "/c/build" and a reboot:

[media]
  path = /c/build
  comment = "Media Server Share"
...

Then installed LMS and rebooted:

[media]
  path = /c/squeezeboxserver
  comment = "Media Server Share"
  oplocks = 1
...

This seems to be a known issue, as other add-in suffer from the same problem:
http://www.readynas.com/forum/viewtopic.php?f=23&t=57865

Netgear suggested we use a hidden folder .squeezeboxserver instead.
Comment 1 Michael Herger 2011-12-16 06:34:15 UTC
*** Bug 17820 has been marked as a duplicate of this bug. ***
Comment 2 Mikael Nyberg 2011-12-18 03:33:11 UTC
netgear has an beta that fixes the issue

Se bugfix T4

http://www.readynas.com/forum/viewtopic.php?f=51&t=57193

I have no idea about how stable a readynas beta is or how safe it is to use it or how often they release new official upgrades ?
Comment 3 kllngtme82 2011-12-18 08:08:55 UTC
(In reply to comment #2)
> netgear has an beta that fixes the issue
> 
> Se bugfix T4
> 
> http://www.readynas.com/forum/viewtopic.php?f=51&t=57193
> 
> I have no idea about how stable a readynas beta is or how safe it is to use it
> or how often they release new official upgrades ?

That's for x86, any idea if a SPARC beta has been released?
Comment 4 SVN Bot 2011-12-19 21:55:04 UTC
 == Auto-comment from SVN commit #33755 to the slim repo by mherger ==
 == http://svn.slimdevices.com/slim?view=revision&revision=33755 ==

Bug: 17819
Description: rename our data folder once again, to work around a bug in the ReadyNAS firmware, messing up its Samba configuration.
Comment 5 SVN Bot 2011-12-20 21:24:37 UTC
 == Auto-comment from SVN commit #33756 to the slim repo by mherger ==
 == http://svn.slimdevices.com/slim?view=revision&revision=33756 ==

Bug: 17819
Description: don't just move the old folder's content, but rename the folder instead
Comment 6 SVN Bot 2011-12-20 22:37:12 UTC
 == Auto-comment from SVN commit #33759 to the slim repo by mherger ==
 == http://svn.slimdevices.com/slim?view=revision&revision=33759 ==

Bug: 17819
Description: fix typo in condition
Comment 7 SVN Bot 2011-12-21 00:22:51 UTC
 == Auto-comment from SVN commit #33760 to the slim repo by mherger ==
 == http://svn.slimdevices.com/slim?view=revision&revision=33760 ==

Bug: 17819
Description: don't try to move files, but copy them instead. Moving can fail if target already exists. 

Remove debugging code.
Comment 8 Michael Herger 2011-12-21 00:44:45 UTC
Please give the next nightly 7.7.2 build (r33760 or later) another try.