Ok, I've got to the bottom of this - SELinux. And all related to
mysqld.

The RPM needs to check for SELinux and, if it's present, set some
security contexts. There are several ways to do this - adding a local
policy, or using chcon. I'll go into that later after some comments on
file locations.

Personally, I think some of the files are in the wrong places.

Why are the server and scanner programs in /usr/sbin? squeezecenter 
will not run as root. Surely these should be in /usr/bin or possibly
/usr/libexec?

Why is the CPAN dir in /usr/share/squeezecenter? Surely that should go
under /usr/lib/perl5 somewhere?

Hmmm, it's a noarch RPM but contains the CPAN/arch tree containing i386
and x86_64. That doesn't seem right.

I think the MySQL stuff should go in /var/lib/squeezecenter (not
/var/cache/squeezecenter) and it should also get a separate subdir,
i.e. /var/lib/squeezecenter/mysql.

Anyway, the initial install problem was SELinux-related. It worked fine
when I installed in permissive mode (setenforce 0).

R.


-- 
robinbowes
------------------------------------------------------------------------
robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480
View this thread: http://forums.slimdevices.com/showthread.php?t=39789

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to