After rebuilding my server with Fedora 8, I installed SC7 from the
"squeezecenter-testing" repo via yum.  I also downloaded the svn trunk
code to /usr/share/squeezecenter_trunk.  I've been able to create a
"squeezecenter_trunk" service in /etc/rc.d/init.d which gets it's
startup vars from /etc/sysconfig/squeezecenter_trunk.  I can get it to
start and run just fine.  However, it's looking like the trunk code is
calling sections of the yum-installed SC7 code.  For instance, when
scanning, this is what ps ax shows:


Code:
--------------------
    
  5743 ?        Ss     0:14 /usr/bin/perl -w 
/usr/share/squeezecenter_trunk/server/slimserver.pl --daemon 
--prefsdir=/var/lib/squeezecenter_trunk/prefs 
--logdir=/var/log/squeezecenter_trunk 
--cachedir=/var/lib/squeezecenter_trunk/cache
  5866 ?        S      0:00 
/usr/share/squeezecenter/Bin/i386-linux/mDNSResponderPosix -f 
/var/lib/squeezecenter_trunk/cache/mDNS.conf
  5869 ?        R      0:05 /usr/bin/perl /usr/libexec/squeezecenter-scanner 
--prefsdir=/var/lib/squeezecenter_trunk/prefs 
--logconfig=/var/lib/squeezecenter_trunk/prefs/log.conf --priority=-16 
--logdir=/var/log/squeezecenter_trunk --rescan --cleanup
  
--------------------

Obviously, the trunk code is calling the yum-installed scanner, and
also calling the mDSN binary from the yum-installed Bin directory. 
Also, I've noticed that the trunk code apparently looks for
convert.conf first in /etc/squeezecenter.  And, I suspect that itÂ’s
picking up the user plugins from /var/lib/squeezecenter/Plugins rather
than from /var/lib/squeezecenter_trunk/Plugins.

I've already gone through the prefs files and replaced every path name
I can find that includes "squeezecenter" with "squeezecenter_trunk". 
But it looks like the code is still calling routines from the other
installation.

Are all these paths actually hard-coded into the code???  If so, where?
And why?

A more general question:  shouldn't it be possible to have both a
released SC7 and the SVN trunk code installed on the same server and be
able to run one or the other without their code becoming dangerously
intermingled?


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=42801

_______________________________________________
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to