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#6216 - dbus already outdated

Attached to Project: Arch Linux
Opened by Florian (fk) - Sunday, 14 January 2007, 16:34 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi

I see that dbus 1.0 is released since Nov 9th, 2006, but the Arch repos have already version 0.97, why?

Is anything wrong with dbus 1.0?
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 04 February 2007, 15:43 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Sunday, 14 January 2007, 19:24 GMT
The reason I didn't update it yet is due to two bugs:
- dbus crashes on upgrade because config changed in an incompatible way, have to find a way to find something that the current running dbus will keep running
- gnome-session exits when dbus crashes, causing you to be thrown to the terminal while upgrading.

Since both are quite a big issue (it was crappy back then when XFCE terminal was the only app that used it), the dbus update is on hold until I have some way to fix these two things. Other than that, dbus 1.0 works fine once installed.
Comment by Florian (fk) - Sunday, 14 January 2007, 21:42 GMT
Thanks for the fast answer!

Is this a solution:

In the dbus install script , first stop dbus, than install and than restart dbus?

or, write in the Arch news that anyone must do the upgrade without X?

Can you put the least Version of dbus in Testing or unstabel?
Comment by Jan de Groot (JGC) - Sunday, 14 January 2007, 23:38 GMT
It's all about the session bus which is started by either the user or gnome-session. gnome-session on archlinux contains an exit() call that exits gnome-session when it can't start dbus (the exit call was supposed to exit the forked gnome-session process, but exits the whole gnome-session process instead).

I was surprised to find my whole X environment restarting at the time I executed pacman -U dbus-1.0-1.pkg.tar.gz, I had many windows open and I was not aware of the problem then. I lost quite some open terminals and some temporary data I put into gedit. Just putting some news on the frontpage and letting users just upgrade to dbus with this behaviour is not what we want, people don't read the frontpage, or do so after they find out something is wrong.
Comment by Roman Kyrylych (Romashka) - Tuesday, 16 January 2007, 22:55 GMT
The possible solution might be to put some code into dbus.install that will print fat warning for user and then prompt him/her to enter "yes" to continue, or ask to terminate pacman with Ctrl-C and first exit Gnome session before doing -Su again. Opinions?
Comment by Jan de Groot (JGC) - Wednesday, 17 January 2007, 15:08 GMT
Won't work: when you press CTRL+C, the shell that runs your postinstall gets interrupted and pacman continues installing nicely... at least... until it touches the first config file in dbus :P
Comment by Roman Kyrylych (Romashka) - Wednesday, 17 January 2007, 15:30 GMT
do killall -9 pacman when user answers "no"? :P
Comment by Jan de Groot (JGC) - Tuesday, 23 January 2007, 21:06 GMT
Ok, got some progress here:

- gnome-session is patched to not exit when dbus runs away, instead, it leaves the user with a flaky desktop that allows the user to exit apps cleanly.
- the crash problem has been tracked to a new tag in the default configuration file, I'll see if I can replace it with legacy tags for now.

Loading...