[SlimDevices: Beta] Updated SqueezeCenter RPM available for testing via yum
Fletch
Fletch.2zbx9b1193853001 at no-mx.forums.slimdevices.com
Wed Oct 31 10:46:08 PDT 2007
The yum repo has a new nightly including Robin's SELinux changes.
Please test.
Robin Bowes;239188 Wrote:
>
> On install, the RPM should do the following (before starting up the
> server):
>
> if selinuxenabled; then
> semanage port -a -t mysqld_port_t -p tcp 9092 semanage fcontext -a
> -t mysqld_db_t "/var/cache/squeezecenter(/.*)?" restorecon -R
> /var/cache/squeezecenter
> fi
FYI, by default %pre fires on both new installs and updates. That's
probably OK, just wanted to point it out.
> Now, there may be other issues that crop up as the server tries to write
> to various locations (playlists? favourites?) but I'm not sure. I guess
> we need to fix those as and when they crop up.
Playlists could be a problem. There's no way for the RPM to know this
at install time.
> I've also added some script foo that pulls the mysql port and cachedir
> from the prefs file but I'm not sure that is the right thing to do so
> I've left it disabled for now.
FWIW, I don't think this is really necessary. If the user has changed
this, he has already figured out how to manually fixup the SELinux
stuff.
> Talking of which, I have a Makefile that will allow an RPM build direct
> from svn. I must look into making it work with squeezecenter...
This is what makerelease.pl does. I'm working on a patch to make it
work with the changes to the SC spec file.
--
Fletch
------------------------------------------------------------------------
Fletch's Profile: http://forums.slimdevices.com/member.php?userid=529
View this thread: http://forums.slimdevices.com/showthread.php?t=39789
More information about the beta
mailing list