Re: Potential PackageKit improvement???

2009-08-26 Thread Nathanael Noblet


On Aug 26, 2009, at 1:24 AM, Richard Hughes wrote:


2009/8/25 Kevin Kofler kevin.kof...@chello.at:

Richard Hughes wrote:
(but Bodhi / the metadata / PackageKit have no way of marking a  
restart of

only the session as recommended) for that kind of updates.


PackageKit detects if the process is running, and asks the user to
logout and log back in in this case.


So in my case, I'm running gnome, I get a kde update and was required  
to reboot because it was marked as needing a reboot, not a logout/ 
login? Is that erroneous? KDE required a system reboot?


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list


Re: Potential PackageKit improvement???

2009-08-26 Thread Kevin Kofler
Nathanael Noblet wrote:
 So in my case, I'm running gnome, I get a kde update and was required
 to reboot because it was marked as needing a reboot, not a logout/
 login? Is that erroneous? KDE required a system reboot?

KDE really just requires a session restart, not a full reboot (and only if 
you're actually running it while upgrading). If PackageKit now detects the 
need for a session start automatically, I guess we can rely on that in the 
future (but we'll need to get the sticky requires reboot flag cleared on 
all those packages in the Bodhi server, I think a lot of packages carry this 
by now due to how it spreads in grouped updates).

Kevin Kofler

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list


Potential PackageKit improvement???

2009-08-25 Thread Nathanael D. Noblet

Hi, before I file anything about this, just wanted to ask.

Today I received a KDE update, I don't run the kde desktop. It wants to 
reboot my whole computer... Perhaps it could be smarter to know whether 
it needs a reboot, a logout / login, particularly if I'm running gnome 
vs KDE...


Is this a legitimate request? Should I file a bug / feature request?
--
Nathanael d. Noblet

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list


Re: Potential PackageKit improvement???

2009-08-25 Thread Richard Hughes
2009/8/25 Nathanael D. Noblet nathan...@gnat.ca:
 Is this a legitimate request? Should I file a bug / feature request?

It depends. If the bodhi metadata says restart-required then
PackageKit honours this.

Richard.

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list


Re: Potential PackageKit improvement???

2009-08-25 Thread Kevin Kofler
Richard Hughes wrote:
 It depends. If the bodhi metadata says restart-required then
 PackageKit honours this.

That said, that flag is somehow sticky in Bodhi: if an update to a package 
XYZ had that flag set, any future update to that same package XYZ will get 
it set automatically. Particularly annoying for update groups like KDE, 
where an update of just, say, kdenetwork doesn't really require a restart. 
Nor updates which just add a patch. Whereas running a mix of KDE 4.2 and 4.3 
tends to be unstable, so we do have to recommend to restart at least X11 
(but Bodhi / the metadata / PackageKit have no way of marking a restart of 
only the session as recommended) for that kind of updates.

Fixing Bodhi to not make that flag stick in the way it currently does 
would probably be a good start, I'm going to file a bug in the Bodhi tracker 
for that.

Kevin Kofler

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list