Dne Po 18. ledna 2016 14:33:34, Raymond Wooninck napsal(a):
On Monday, 18 January 2016 14:13:43 CET Vojtěch Zeisek wrote:
The update/install process is running as root, it cannot stop the users' akonadi(s) that might be running.
Why not? Why couldn't it detect user process running, peacefully terminate it, perform the update and launch user process again? Sorry, I really do not see why this is impossible...
If you would have copied also the other part of Wolfgang's message, then you would know why. As indicated the update process runs under the root user, while the akonadi process is running under an users account. The only way for root to terminate the process, is to kill it. I wouldn't really call this peacefully :)
Yes, killing is not peaceful. :-) I thought root can send something like su CURRENTUSER -c 'akonadictl stop' and similarly start it again after upgrade.
But if you have another way that we can do this, then please let us know and we will incorporate it into the package.
Sorry, I may be missing something, but it seems doable with su... Sincerely, -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/