Bug 1227406
| Summary: | libnm-glib-WARNING **: (nm-object.c:159):constructor: code should not be reached | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomáš Hozza <thozza> | ||||
| Component: | dnssec-trigger | Assignee: | Paul Wouters <pwouters> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 22 | CC: | dcbw, jklimes, pj.pandit, psimerda, pspacek, pwouters, thozza | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-06-09 15:32:51 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1182488 | ||||||
| Attachments: |
|
||||||
|
Description
Tomáš Hozza
2015-06-02 15:26:08 UTC
Looks like a regression in NetworkManager's library, as this used to work. I was debugging it a bit and found out that running dnssec-trigger-script from the command line works fine.
However, when dnssec-triggerd systemd unit is run (which executes dnssec-trigger-script), the error appears. In the end, it showed up that the problem was caused by SELinux. The script runs fine out of systemd unit with 'getenforce 0'.
The issue seems to be that access is denied for D-BUS system bus:
type=AVC msg=audit(1433820820.962:7636): avc: denied { write } for pid=18620 comm="dnssec-trigger-" name="system_bus_socket" dev="tmpfs" ino=25341 scontext=system_u:system_r:dnssec_trigger_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=sock_file permissive=0
However, there are a few more AVCs too. I will include them as an attachment.
Created attachment 1036809 [details]
SELinux AVC messages for running dnssec-triggerd systemd unit
*** This bug has been marked as a duplicate of bug 1227239 *** |