On Mon, 2013-02-18 at 13:13 -0300, Cristian Rodríguez wrote:
Yeah, the package manager does not know if you need to reboot or re-login. that would require having a list of software which is known to require reboot for upgrade.. Well for this discussion the concern is the difference between offline updates and online updates. Right now it is "anything that installs a .desktop can be safely updated online, anything else should be an offline update." Upstream acknowledges that's dumb and will come up with something better eventually.
(And when preparing patches for openSUSE the packager is responsible for selecting whether to recommend relogin or reboot.)
I'm afraid that for this to work as expected ( that's different from getting it to work) It needs to apply the updates in a all-or-nothing transaction and return sucess or fail. That's exactly how systemd does it. =)
Currently the package manager installs updates one by one using rpm --force.. that's insane.. but it is the way it is :-|