Bug 3261 - SlimServer fails to run on Fedora Core 5 machine with SELinux enabled
: SlimServer fails to run on Fedora Core 5 machine with SELinux enabled
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: RPM
: 6.2.1
: PC Linux (other)
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-12 07:30 UTC by Ian Peters
Modified: 2008-09-15 14:38 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Peters 2006-04-12 07:30:44 UTC
I'm getting the following error in /var/log/messages while trying to start any version of SlimServer on Fedora Core 5:

Apr 12 09:44:17 harmony kernel: audit(1144849457.775:78): avc:  denied  { execmod } for  pid=13313 comm="slimserver.pl" name="Expat.so" dev=hda2 ino=622232 scontext=user_u:system_r:initrc_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=file

I don't know enough about SELinux to suggest a resolution, although I'm looking into it as best as possible.  Disabling SELinux is a relatively undesirable solution -- are there any other known workarounds?
Comment 1 Blackketter Dean 2006-04-23 08:35:04 UTC
Any idea here, Dan.  Looks like it's complaining about something in expat.
Comment 2 Kevin Pearsall 2006-04-24 10:33:13 UTC
i think there's a little more going on here...  the rpm just seems to be pretty broken on fc5 in general.  for instance, you can't even install without manually creating the folder /usr/local/slimserver.  just with the default installation of fc5, you get something that looks like this:

groupadd: group slimserver exists <-- because I'd already tried to install
useradd: cannot create directory /usr/local/slimserver <-- the problem
error: %pre(slimserver-2006_04_24-1.noarch) scriptlet failed, exit status 12
error:    install %pre scriptlet failed (2), skipping slimserver-2006_04_24-1
Comment 3 Dan Sully 2006-04-30 16:08:20 UTC
This has been fixed in the 6.3 and 6.5 nightlies.
Comment 4 Chris Owens 2006-06-27 14:21:45 UTC
This bug fix is now part of a released version, and so has been marked closed. If you are still experiencing this problem, please reopen the bug.