Re: [LAU] Fedora 12 & CCRMA

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Fernando Lopez-Lezcano <nando@...>
Cc: <linux-audio-user@...>
Date: Sunday, May 16, 2010 - 7:15 pm

On Sat, 15 May 2010, Fernando Lopez-Lezcano wrote:

> I you want to try Planet CCRMA you should start by following the

I was following
http://ccrma.stanford.edu/planetccrma/software/installplaneteleven.html,
which is linked off that page. I got stuck at the point of
enabling the CCRMA repository, when it told me that the meta-package
hadn't been built yet for F12, and I was left to browse the repository for
packages. I was also confused by the presence of two separate
repositories: 'PlanetCCRMA' and 'PlanetCCRMA Core'. ISTR fedora being
called 'fedora core' in the early days, and this led me off into a tangent
trying to learn what the difference is, and which I should be using...

> If you start by installing planetccrma-core-* then you should get a

Looking back thru my command history, I find I have attempted the
following:

yum upgrade
rpm -Uvh http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/12...
yum install planetccrma-apps /* didn't work */
yum install ardour
yum install jack ffado /* jack not found, but ffado was installed */
yum install planetccrma-core
yum install qjackctl

At this point,I launched qjackctl and attempted to start jack. It asked
me to update limits.conf for the audio group, so I did, and added myself
to the audio group. I rebooted, and tried it again. This time, not only
did jack fail, but qjackctl aborted as well. ps tells me that jack is
still there, zombified....

So here is where I stand now:
[root@angel ~]# yum list installed planetccrma* jack* ardour* ffado*
Loaded plugins: presto, refresh-packagekit
Installed Packages
ardour.i686 2.8.7-1.fc12 @updates
ffado.i686 2.0.0-1.fc12.ccrma @planetccrma
jack-audio-connection-kit.i686 0.118.0-1.fc12 @updates
planetccrma-core.i686 2010.01.21-1.fc12.ccrma @planetcore
planetccrma-repo.noarch 1.1-2.fc12.ccrma installed

> Then you should upgrade to the jack package that is part of Planet

OK, I'm running `yum upgrade` which is picking up the newer j-a-c-k as
well as 12 others, including several qt and xorg packages.

Now, trying again. I launch qjackctl. The messsage window pops up and
immediately tells me: 'cannot connect to jack server'. I don't worry too
much, because I haven't yet tried to start jack.
So I push the 'start' button, without first even looking at the defaults
in the 'setup' page. The message window scrolls by a bunch of messages,
and I'm able to see that jackdmp v 1.94 is indeed there. But then it
locks up, and I get an SElinux popup with two errors. The first is from
three days ago, when I was making my first attempts:

Summary:

SELinux is preventing /usr/sbin/abrtd (deleted) "write" access on abrt.

...I don't know how 'abrtd' is related to jack, it may be just
coincidence.

Then the second one, today:

Summary:

SELinux is preventing /usr/bin/jackd from loading
/usr/lib/libffado.so.2.0.0
which requires text relocation.

Detailed Description:

The jackd application attempted to load /usr/lib/libffado.so.2.0.0 which
requires text relocation. This is a potential security problem. Most
libraries
do not need this permission. Libraries are sometimes coded incorrectly and
request this permission. The SELinux Memory Protection Tests
(http://people.redhat.com/drepper/selinux-mem.html) web page explains how
to
remove this requirement. You can configure SELinux temporarily to allow
/usr/lib/libffado.so.2.0.0 to use relocation as a workaround, until the
library
is fixed. Please file a bug report.

Allowing Access:

If you trust /usr/lib/libffado.so.2.0.0 to run correctly, you can change
the
file context to textrel_shlib_t. "chcon -t textrel_shlib_t
'/usr/lib/libffado.so.2.0.0'" You must also change the default file
context
files on the system in order to preserve them even on a full relabel.
"semanage
fcontext -a -t textrel_shlib_t '/usr/lib/libffado.so.2.0.0'"

Fix Command:

chcon -t textrel_shlib_t '/usr/lib/libffado.so.2.0.0'

Additional Information:

Source Context
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
023
Target Context system_u:object_r:lib_t:s0
Target Objects /usr/lib/libffado.so.2.0.0 [ file ]
Source jackd
Source Path /usr/bin/jackd
Port
Host angel.aapsc.com
Source RPM Packages jack-audio-connection-kit-1.9.4-1.fc12.ccrma
Target RPM Packages libffado-2.0.0-1.fc12.ccrma
Policy RPM selinux-policy-3.6.32-113.fc12
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Plugin Name allow_execmod
Host Name angel.aapsc.com
Platform Linux angel.aapsc.com
2.6.31.12-1.rt20.1.fc12.ccrma.i686.rtPAE #1
SMP
PREEMPT RT Thu Jan 21 22:07:32 EST 2010 i686
athlon
Alert Count 2
First Seen Sun 16 May 2010 02:50:02 PM EDT
Last Seen Sun 16 May 2010 02:50:02 PM EDT
Local ID d2aeb4a1-1065-4d28-87c0-0f573876e08f
Line Numbers

Raw Audit Messages

node=angel.aapsc.com type=AVC msg=audit(1274035802.313:27312): avc:
denied { execmod } for pid=4623 comm="jackd"
path="/usr/lib/libffado.so.2.0.0" dev=dm-0 ino=7903
scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
tcontext=system_u:object_r:lib_t:s0 tclass=file

node=angel.aapsc.com type=SYSCALL msg=audit(1274035802.313:27312):
arch=40000003 syscall=125 success=no exit=-13 a0=42d92000 a1=176000 a2=5
a3=bf8e6a00 items=0 ppid=4618 pid=4623 auid=500 uid=500 gid=500 euid=500
suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1
comm="jackd" exe="/usr/bin/jackd"
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)

...it gives me two commands to use to reconfigure selinux to allow an
exception for libffado, and I copy and paste them into a root console, but
that does not unlock jack or qjackctl. I was able to kill qjackctl, but
jackd is zombified:

[root@angel ~]# ps aux | grep jack
rtg 2156 99.3 0.0 0 0 ? Zsl May14 3186:39 [jackd]

rtg 4623 0.0 0.9 79948 19284 ? DL 14:50 0:00
/usr/bin/jackd -dalsa -dhw:0 -r48000 -p1024 -n2
root 4685 0.0 0.0 4212 712 pts/0 S+ 15:09 0:00 grep jack

...so it looks like my only option at this point is to send off this email
and reboot the system before trying again.

--
Rick Green

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."
-Benjamin Franklin

"As for our common defense, we reject as false the choice between our
safety and our ideals."
-President Barack Obama 20 Jan 2009
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Fedora 12 &amp; CCRMA, Rick Green, (Sat May 15, 2:48 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Orcan Ogetbil, (Sat May 15, 3:34 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Patrick Shirkey, (Sat May 15, 11:33 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Orcan Ogetbil, (Sat May 15, 11:57 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Patrick Shirkey, (Sat May 15, 9:34 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Sat May 15, 4:33 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Fernando Lopez-Lezcano, (Sat May 15, 7:31 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Sun May 16, 7:59 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Fernando Lopez-Lezcano, (Mon May 17, 1:23 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Orcan Ogetbil, (Sun May 16, 8:27 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Mon May 17, 12:19 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Sun May 16, 9:58 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Niels Mayer, (Mon May 17, 12:02 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Mon May 17, 1:27 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Fernando Lopez-Lezcano, (Mon May 17, 2:13 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Niels Mayer, (Mon May 17, 5:36 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Fernando Lopez-Lezcano, (Mon May 17, 5:49 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Fernando Lopez-Lezcano, (Mon May 17, 5:54 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Wed May 19, 9:58 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, S C Rigler, (Wed May 19, 10:14 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Fernando Lopez-Lezcano, (Mon May 24, 7:07 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Wed May 19, 11:43 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Orcan Ogetbil, (Thu May 20, 1:37 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Thu May 20, 2:22 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Paul Davis, (Thu May 20, 2:44 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Fernando Lopez-Lezcano, (Wed May 19, 11:49 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Thu May 20, 2:39 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Paul Davis, (Thu May 20, 12:47 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Thu May 20, 1:39 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Scott, (Thu May 20, 4:20 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Niels Mayer, (Thu May 20, 4:48 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Thu May 20, 1:59 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Fernando Lopez-Lezcano, (Thu May 20, 2:14 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Thu May 20, 2:59 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Mon May 17, 3:59 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Fernando Lopez-Lezcano, (Mon May 17, 5:36 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Rick Green, (Mon May 17, 2:25 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Jeremy, (Mon May 17, 8:47 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Patrick Shirkey, (Mon May 17, 1:32 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Fernando Lopez-Lezcano, (Mon May 17, 1:59 am)
Re: [LAU] Fedora 12 & CCRMA, Rick Green, (Sun May 16, 7:15 pm)
Re: [LAU] Fedora 12 &amp; CCRMA, Orcan Ogetbil, (Sat May 15, 7:01 am)
Re: [LAU] Fedora 12 &amp; CCRMA, Ng Oon-Ee, (Sat May 15, 2:53 am)