Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12266 - Wicd install scripts should restart dbus daemon

Attached to Project: Arch Linux
Opened by Eyolf Østrem (eyolf) - Friday, 28 November 2008, 09:39 GMT
Last edited by Anonymous Submitter - Sunday, 30 November 2008, 11:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The install scripts for wicd stop the wicd daemon before installation and restart it after. This should be done with the dbus daemon as well. At least on some upgrades, I get errors with the wicd-client, related to this.
If the wicd and dbus daemons are stopped and started again, the client works again.


Additional info:
* package version(s) 1.5.4-3-i686
* config and/or log files etc.


Steps to reproduce:
Install new (or old) version.
Re-start wicd-client.
Output:
eyolf[/var/cache/pacman/pkg]% pacman -U wicd-1.5.4-2-i686.pkg.tar.gz
loading package data...
checking dependencies...
(1/1) checking for file conflicts [##########################################################################################################################] 100%
:: Stopping wicd Daemon [BUSY] [DONE]

==> Disable networkmanager,dhcdbd or other networking
==> utility and add 'wicd' to DAEMONS
==> in /etc/rc.conf
==> 'dbus' HAS to be before 'wicd' in rc.conf in the
==> DAEMONS array
(1/1) upgrading wicd [##########################################################################################################################] 100%
:: Starting wicd Daemon [BUSY] [DONE]

Wireless Interface Connection Daemon

==> To run: wicd-client
Optional dependencies for wicd
hicolor-icon-theme
wireless_tools
eyolf[/var/cache/pacman/pkg]% wicd-client
Traceback (most recent call last):
File "/usr/lib/wicd/wicd-client.py", line 50, in <module>
import wicd.gui as gui
File "/usr/lib/python2.6/site-packages/wicd/gui.py", line 2006, in <module>
setup_dbus()
File "/usr/lib/python2.6/site-packages/wicd/gui.py", line 174, in setup_dbus
proxy_obj = bus.get_object("org.wicd.daemon", '/org/wicd/daemon')
File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 244, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 241, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 183, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 281, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.wicd.daemon was not provided by any .service files


This task depends upon

Closed by  Anonymous Submitter
Sunday, 30 November 2008, 11:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in wicd-1.5.4-4
Comment by Jan de Groot (JGC) - Friday, 28 November 2008, 10:00 GMT
Since when did we restart daemons in the upgrade procedure?
Comment by Eyolf Østrem (eyolf) - Friday, 28 November 2008, 14:44 GMT
to whoever wrote the closure request ("Please use your brain next time."): Well, thank you very much -- no need to be rude. I *did* use my brain. That wasn't the problem. The problem was an install script that did too much or too little. I didn't write that install script either, I just reported it, as the bug I consider it to be. Geeze...
Comment by Jan de Groot (JGC) - Friday, 28 November 2008, 14:52 GMT
This bug has a valid point. The wicd postinstall is doing something it shouldn't do, and it's not even doing that correct.
Comment by Anonymous Submitter - Friday, 28 November 2008, 17:44 GMT
Actually, I'm not the wicd maintainer.
Assigne it to Eduardo (see latest upgrade).
Please, don't assigne it to me again.
Comment by Jan de Groot (JGC) - Friday, 28 November 2008, 18:19 GMT
At this moment wicd is orphaned. You're the one who added the modified install scriptlet, so I assigned it to you.
Comment by Anonymous Submitter - Saturday, 29 November 2008, 16:23 GMT Comment by wstong (dangdang) - Sunday, 30 November 2008, 04:43 GMT
I meet the same problem on my ArchLinux 2008.06 which installed yesterday. Who can tell me how to solve this problem? Thanks!
Wait you send me email:jenux@live.com

Loading...