On 07.03.2014 00:59, Matthew Miller wrote:
On Thu, Mar 06, 2014 at 05:01:24PM -0500, Stephen Gallagher wrote:
> I'm not sure exactly where the GUI is coming into play here, but the
> way I envisioned things was that we'd have a command-line tool that
> could talk the D-BUS API that we could invoke in the kickstart %post.
> This of course assumes that such a D-BUS API listener can be running
> in %post; I'm unclear on that.
This won't work, I'm afraid. The %post runs chrooted into the anaconda
environment, not in the installed one.
I've done it with realmd, where we chroot the daemon and use p2p dbus
... and it works well. You do have to take it into consideration when
building the DBus service.
Cheers,
Stef