Custom Query (89 matches)

Filters
 
Columns

Show under each result:


Results (1 - 3 of 89)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#2 wontfix windows library importing problems support@ag-projects.com MattiRe

Reported by MattiRe, 22 months ago.

description

With windows compilation I’ve gotten into a point where I’m able to build _pjsip.c into a pyd file with .Net, but currently when trying to import _pjsip in python causes Exception: Calling pjlib from unknown/external thread.. register external threads with pj_thread_register() do you have any clue where I could be going wrong, or how do I call pj_thread_register() before importing library?

#3 fixed SELinux is preventing sip_im_session from loading support@ag-projects.com MichielLeenaars

Reported by MichielLeenaars, 22 months ago.

description

Samenvatting:

SELinux is preventing sip_im_session from loading /usr/lib/python2.5/site-packages/sipclient-0.3.0-py2.5-linux-i686.egg/pypjua/_pjsip.so which requires text relocation.

Gedetailleerde omschrijving:

The sip_im_session application attempted to load /usr/lib/python2.5/site-packages/sipclient-0.3.0-py2.5-linux-i686.egg/pypjua/_pjsip.so 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/python2.5/site-packages/sipclient-0.3.0-py2.5-linux-i686.egg/pypjua/_pjsip.so to use relocation as a workaround, until the library is fixed. Please file a bug report ( http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.

Allowing Access:

If you trust /usr/lib/python2.5/site-packages/sipclient-0.3.0-py2.5-linux-i686.egg/pypjua/_pjsip.so to run correctly, you can change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t '/usr/lib/python2.5/site-packages/sipclient-0.3.0-py2.5-linux-i686.egg/pypjua/_pjsip.so'" 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/python2.5/site-packages/sipclient-0.3.0-py2.5-linux-i686.egg/pypjua/_pjsip.so'"

Fix Command:

chcon -t textrel_shlib_t '/usr/lib/python2.5/site-packages/sipclient-0.3.0-py2.5-linux-i686.egg/pypjua/_pjsip.so'

Additionele informatie:

Source Context unconfined_u:unconfined_r:unconfined_t:s0 Target Context unconfined_u:object_r:lib_t:s0 Target Objects /usr/lib/python2.5/site-packages/sipclient-0.3.0-p

y2.5-linux-i686.egg/pypjua/_pjsip.so [ file ]

Bron sip_im_session Source Path /usr/bin/python Poort <Onbekend> Host fd.taste Source RPM Packages python-2.5.2-1.fc10 Target RPM Packages Policy RPM selinux-policy-3.5.13-18.fc10 SELinux aangezet True Policy Type targeted MLS aangezet True Enforcing Mode Enforcing Pluginnaam allow_execmod Hostnaam fd.taste Platform Linux fd.taste 2.6.27.5-117.fc10.i686 #1 SMP Tue

Nov 18 12:19:59 EST 2008 i686 i686

Aantal waarschuwingen 2 Eerst gezien op za 29 nov 2008 03:36:12 CET Laatst gezien op za 29 nov 2008 03:36:24 CET Local ID b9ebb718-3798-423f-ad8a-496778e2aef1 Regelnummers

Raw Audit Messages

node=fd.taste type=AVC msg=audit(1227926184.725:41): avc: denied { execmod } for pid=11163 comm="sip_im_session" path="/usr/lib/python2.5/site-packages/sipclient-0.3.0-py2.5-linux-i686.egg/pypjua/_pjsip.so" dev=sda12 ino=374953 scontext=unconfined_u:unconfined_r:unconfined_t:s0 tcontext=unconfined_u:object_r:lib_t:s0 tclass=file

node=fd.taste type=SYSCALL msg=audit(1227926184.725:41): arch=40000003 syscall=125 success=no exit=-13 a0=762000 a1=165000 a2=5 a3=bfb29270 items=0 ppid=11025 pid=11163 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts5 ses=1 comm="sip_im_session" exe="/usr/bin/python" subj=unconfined_u:unconfined_r:unconfined_t:s0 key=(null)

#5 wontfix Clean install results in failure under Fedora and FreeBSD support@ag-projects.com MichielLeenaars

Reported by MichielLeenaars, 20 months ago.

description

I checked out trunk cleanly and updated all dependencies. I get the same error under Fedora and FreeBSD; however, under Ubuntu the same procedure results in a working instance.

For sip_im_conference:

File "/usr/local/bin/sip_im_conference", line 9, in <module>

from pypjua import Credentials, PyPJUAError

ImportError: cannot import name PyPJUAError

For sip_im_session:

Traceback (most recent call last):

File "/usr/local/bin/sip_im_session", line 15, in <module>

from pypjua import Credentials, SDPSession, SDPConnection, SIPURI, PyPJUAError

ImportError: cannot import name PyPJUAError

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.