FS#44338 - [firewalld] Missing dep on dbus-glib

Attached to Project: Community Packages
Opened by Tomáš Havlas (tomashavlas) - Wednesday, 25 March 2015, 18:34 GMT
Last edited by Maxime Gauduin (Alucryd) - Friday, 27 March 2015, 15:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
firewalld should have dbus-glib as dependency, when firewalld is installed without dbus-glib, attempt to start firewalld service fails with error that libdbus-glib-1.so.2 is missing

Additional info:
* package version 0.3.13-1


Steps to reproduce:
1. Install firewalld on system where dbus-glib is not installed
2. run systemctl start firewalld
3. firewalld fails to start
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Friday, 27 March 2015, 15:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.3.13-2, thx for the report.
Comment by Doug Newgard (Scimmia) - Thursday, 26 March 2015, 03:26 GMT
firewalld doesn't contain any binaries, so I doubt the problem is there. What is the exact error message?
Comment by Tomáš Havlas (tomashavlas) - Thursday, 26 March 2015, 20:10 GMT
When I run `systemctl start firewalld` I get
Job for firewalld.service failed. See "systemctl status firewalld.service" and "journalctl -xe" for details.
When I run `systemctl status firewalld` or `journalctl -xe` there is (not much helping)
Failed to start firewalld - dynamic firewall daemon.
However when I rung `/usr/bin/firewalld --nofork --nopid` (what is command in firewalld.service) I get
Traceback (most recent call last):
File "/usr/bin/firewalld", line 132, in <module>
from firewall.server import server
File "/usr/lib/python3.4/site-packages/firewall/server/server.py", line 37, in <module>
import dbus.mainloop.glib
File "/usr/lib/python3.4/site-packages/dbus/mainloop/glib.py", line 29, in <module>
from _dbus_glib_bindings import DBusGMainLoop, gthreads_init
ImportError: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory

When I install dbus-glib manually I can run firewalld both as server and as command.

To be more specific I did clean installation of arch (nothing but base and syslinux) after reboot I installed firewalld and tried to run it.
Comment by Doug Newgard (Scimmia) - Thursday, 26 March 2015, 20:43 GMT
So it's python-dbus that's needing dbus-glib, and it's already an optional dep of that package. Using optional features of a lib, the deps are usually included, so I'll go ahead and assign this.

Loading...