! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
handling of previous api processes
Status:
RESOLVED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2012-04-03 16:58:44 CEST
Hi,

when upgrading Xfce from 4.8 to 4.10pre1, I had an issue with the xfce4-session upgrade.

I upgraded using just built Debian packages, which totally replaced the previous binaries. Then I wanted to restart Xfce to enter the new 4.10pre1, but I couldn't logout at all, I got a popup saying that a dbus service or method was missing (sorry I didn't take a screenshot, but it should be possible to reproduce easily).

My guess is that's because the various way to logout (panel, desktop, menu…) all call xfce4-session-logout. In my case, that was the new binary, which was using a new API. But the running process for xfce4-session was the 4.8 one, which was still using the old API, and failed.

So that means that Xfce users won't be able to upgrade from within Xfce. I know it might not be recommended, but people usually prefer upgrading from a running session, and it's always painful to handle for large upgrades (in our cases, things like Squeeze -> Wheezy upgrades).

I'm not sure if there are other solutions for this (either in the code or at packaging time), but I though I'd report a bug so it's tracked, and other people (for example packagers) can comment and give idea. If it's the wrong place, then we might discuss this on the mailing list.

Regards,
Comment 1 Nick Schermer editbugs 2012-04-13 19:21:40 CEST
Fixed in 5992ea6.

THe 4.8 panel uses xfce4-session-logout, so patched it there. If people upgraded and restarted the panel and _then_ try to logout, then this won't work (bug the logout menu item would).

Bug #8630

Reported by:
Yves-Alexis Perez
Reported on: 2012-04-03
Last modified on: 2012-04-13

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Attachments

Additional information