Re: Restarting desktop session services on RPM upgrade?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



John Dennis wrote:
We've long had a way to restart system services on an RPM upgrade via
condrestart in the initscript. However, there is another kind of service
which runs, services bound to desktop sessions. Rather that global,
these are per user session.

Is there a mechanism by which an RPM which installs a desktop service
can perform the equivalent of a condrestart on the session service?

I imagine such a mechanism would work by iterating over every DBus
session bus, query for the existence of the service, if it exists send
it a stop signal and then after the service leaves the bus perform a
StartServiceByName within the session.

Do we have anything like that? I suspect not. If not then how can a root
process iterate over existing sessions?


The SELinux avc monitoring tool, sealert does simply restarts the app and setroubleshoot service. Might want to see how it handles that.

--
Fedora-desktop-list mailing list
Fedora-desktop-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-desktop-list

[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux