Bug 1126930
| Summary: | bitlbee 3.2.2 dbus problem on centos 6 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Andrei Berceanu <berceanu> |
| Component: | bitlbee | Assignee: | Robert Scheck <redhat-bugzilla> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | mcepl, mcepl, redhat-bugzilla |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | bitlbee-3.2.2-4.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-22 19:17:08 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Andrei Berceanu
2014-08-05 15:45:16 UTC
the kind folks over at #bitlbee on oftc helped me trace the problem down to a SELinux policy issue. Here is my audit log: http://nopaste.info/c8dbff4284.html I (temporarily?) solved the issue by doing grep bitlbee /var/log/audit/audit.log | audit2allow -M mypol semodule -i mypol.pp //A I attach here the audit log, in case the nopaste link ever expires:
type=SYSCALL msg=audit(1407412822.275:113): arch=c000003e syscall=2 success=no exit=-13 a0=7ffcf6d306a4 a1=0 a2=7fffdff6a840 a3=7fffdff6a4d0 items=0 ppid=1563 pid=2533 auid=4294967295 uid=497 gid=497 euid=497 suid=497 fsuid=497 egid=497 sgid=497 fsgid=497 tty=(none) ses=4294967295 comm="bitlbee" exe="/usr/sbin/bitlbee" subj=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 key=(null)
type=ANOM_ABEND msg=audit(1407412822.275:114): auid=4294967295 uid=497 gid=497 ses=4294967295 subj=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 pid=2533 comm="bitlbee" sig=6
type=AVC msg=audit(1407413519.664:167): avc: denied { search } for pid=2729 comm="bitlbee" name="dbus" dev=md2 ino=141820693 scontext=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 tcontext=system_u:object_r:system_dbusd_var_lib_t:s0 tclass=dir
type=AVC msg=audit(1407413519.664:167): avc: denied { read } for pid=2729 comm="bitlbee" name="machine-id" dev=md2 ino=141820518 scontext=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 tcontext=system_u:object_r:system_dbusd_var_lib_t:s0 tclass=file
type=AVC msg=audit(1407413519.664:167): avc: denied { open } for pid=2729 comm="bitlbee" name="machine-id" dev=md2 ino=141820518 scontext=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 tcontext=system_u:object_r:system_dbusd_var_lib_t:s0 tclass=file
type=SYSCALL msg=audit(1407413519.664:167): arch=c000003e syscall=2 success=yes exit=6 a0=7f082316b6a4 a1=0 a2=7fff6def5730 a3=7fff6def53c0 items=0 ppid=1563 pid=2729 auid=4294967295 uid=497 gid=497 euid=497 suid=497 fsuid=497 egid=497 sgid=497 fsgid=497 tty=(none) ses=4294967295 comm="bitlbee" exe="/usr/sbin/bitlbee" subj=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1407413519.664:168): avc: denied { getattr } for pid=2729 comm="bitlbee" path="/var/lib/dbus/machine-id" dev=md2 ino=141820518 scontext=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 tcontext=system_u:object_r:system_dbusd_var_lib_t:s0 tclass=file
type=SYSCALL msg=audit(1407413519.664:168): arch=c000003e syscall=5 success=yes exit=0 a0=6 a1=7fff6def5650 a2=7fff6def5650 a3=7fff6def53c0 items=0 ppid=1563 pid=2729 auid=4294967295 uid=497 gid=497 euid=497 suid=497 fsuid=497 egid=497 sgid=497 fsgid=497 tty=(none) ses=4294967295 comm="bitlbee" exe="/usr/sbin/bitlbee" subj=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1407413519.743:169): avc: denied { search } for pid=2729 comm="bitlbee" name="dbus" dev=md2 ino=141820695 scontext=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=dir
type=AVC msg=audit(1407413519.743:169): avc: denied { write } for pid=2729 comm="bitlbee" name="system_bus_socket" dev=md2 ino=141820208 scontext=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=sock_file
type=AVC msg=audit(1407413519.743:169): avc: denied { connectto } for pid=2729 comm="bitlbee" path="/var/run/dbus/system_bus_socket" scontext=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 tcontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tclass=unix_stream_socket
type=SYSCALL msg=audit(1407413519.743:169): arch=c000003e syscall=42 success=yes exit=0 a0=7 a1=7fff6def57d0 a2=21 a3=7fff6def5540 items=0 ppid=1563 pid=2729 auid=4294967295 uid=497 gid=497 euid=497 suid=497 fsuid=497 egid=497 sgid=497 fsgid=497 tty=(none) ses=4294967295 comm="bitlbee" exe="/usr/sbin/bitlbee" subj=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 key=(null)
type=USER_AVC msg=audit(1407413519.755:170): user pid=1405 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.DBus member=Hello dest=org.freedesktop.DBus spid=2729 scontext=system_u:system_r:bitlbee_t:s0-s0:c0.c1023 tcontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tclass=dbus exe="/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
bitlbee-3.2.2-4.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/bitlbee-3.2.2-4.el6 bitlbee-3.2.2-4.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/bitlbee-3.2.2-4.el5 Package bitlbee-3.2.2-4.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing bitlbee-3.2.2-4.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2154/bitlbee-3.2.2-4.el5 then log in and leave karma (feedback). I tried # su -c 'yum update --enablerepo=epel-testing bitlbee-3.2.2-4.el5' and get No Match for argument: bitlbee-3.2.2-4.el5 No package bitlbee-3.2.2-4.el5 available. ok, so i can download it from that link - then what? :) Either a bit more patience till it reached your mirror as well or you have to download and install it manually yourself before (yum localinstall <*.rpm>). ok, np, i can wait. tnx! bitlbee-3.2.2-4.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. bitlbee-3.2.2-4.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |