[PD] setuid root problem: "failed to map segment from shared object: Resource temporarily unavailable"
derek holzer
derek at x-i.net
Mon Jan 3 17:02:26 CET 2005
Hi gang,
just recommended Wade try the "chown root/chmod u+s" trick, and now it
see it causes me some headaches that weren't there before.
I was also unable to run pd -rt with realtime-lsm as a user, but *only*
on my laptop. I must have done something different to my dekstop a while
back, but who knows what that was!!! I also could not connect a "sudo pd
-rt" to a "qjackctl" running RT as a user. I did not get a failure
connect segfault, but I'm also not running pd 0.38 [only pd 0.37-4].
So, to cut to the chase...after doing this:
chown root /usr/local/bin/pd
chmod u+s /usr/local/bin/pd
and running pd -rt, I get some problems loading externals:
priority 8 scheduling enabled.
memory locking enabled.
priority 6 scheduling enabled.
memory locking enabled.
zexy: can't load library
/usr/local/lib/pd/extra/iemlib1.pd_linux:
/usr/local/lib/pd/extra/iemlib1.pd_linux: failed to map segment from
shared object: Resource temporarily unavailable
iemlib1: can't load library
/usr/local/lib/pd/extra/iemlib2.pd_linux:
/usr/local/lib/pd/extra/iemlib2.pd_linux: failed to map segment from
shared object: Resource temporarily unavailable
iemlib2: can't load library
/usr/local/lib/pd/extra/iem_mp3.pd_linux:
/usr/local/lib/pd/extra/iem_mp3.pd_linux: failed to map segment from
shared object: Resource temporarily unavailable
iem_mp3: can't load library
iem_t3_lib (R-1.15) library loaded!
But this problem does not occur when I do not run -rt.
Curiously, iem_t3_lib loads, even though all have the same permissions:
-rwxr-xr-x 1 root root 17176 Jan 3 16:52 iem_t3_lib.pd_linux
-rwxr-xr-x 1 root root 71364 Jan 3 16:54 iemlib1.pd_linux
-rwxr-xr-x 1 root root 99664 Jan 3 16:52 iemlib2.pd_linux
-rwxr-xr-x 1 root root 69388 Jan 3 16:52 iem_mp3.pd_linux
Can anyone explain this one?
d.
--
derek holzer ::: http://www.umatic.nl
---Oblique Strategy # 36:
"Consult other sources
-promising
-unpromising"
More information about the Pd-list
mailing list