Re: [systemd-devel] Work on adding polkit support to systemd1

2014-09-03 Thread Lennart Poettering
On Mon, 01.09.14 15:28, Stef Walter ([email protected]) wrote: > > We had the idea to reserve a single bit in the dbus message header for > > that. See the discussion on the dbus-ML: > > http://lists.freedesktop.org/archives/dbus/2014-August/016294.html > > Thanks. I have now posted a patch

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-09-01 Thread Stef Walter
On 01.09.2014 11:47, David Herrmann wrote: > Hi > > On Mon, Sep 1, 2014 at 9:51 AM, Stef Walter wrote: >> On 18.08.2014 18:22, Lennart Poettering wrote: >>> I have now pushed this, after reworking this on top some major changes >>> to bus_verify_polkit(), which avoids having to pass the original

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-09-01 Thread David Herrmann
Hi On Mon, Sep 1, 2014 at 9:51 AM, Stef Walter wrote: > On 18.08.2014 18:22, Lennart Poettering wrote: >> I have now pushed this, after reworking this on top some major changes >> to bus_verify_polkit(), which avoids having to pass the original >> callbacks through to the function that ultimately

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-09-01 Thread Stef Walter
On 18.08.2014 18:22, Lennart Poettering wrote: > On Fri, 15.08.14 19:28, Stef Walter ([email protected]) wrote: > >> >> On 15.08.2014 18:56, Lennart Poettering wrote: >>> On Fri, 15.08.14 18:25, Stef Walter ([email protected]) wrote: >>> On 13.08.2014 20:27, Lennart Poettering wrote: >

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-08-18 Thread Lennart Poettering
On Fri, 15.08.14 19:28, Stef Walter ([email protected]) wrote: > > On 15.08.2014 18:56, Lennart Poettering wrote: > > On Fri, 15.08.14 18:25, Stef Walter ([email protected]) wrote: > > > >> > >> On 13.08.2014 20:27, Lennart Poettering wrote: > >>> On Wed, 06.08.14 13:23, Stef Walter (st...@redhat.

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-08-15 Thread Stef Walter
On 15.08.2014 18:56, Lennart Poettering wrote: > On Fri, 15.08.14 18:25, Stef Walter ([email protected]) wrote: > >> >> On 13.08.2014 20:27, Lennart Poettering wrote: >>> On Wed, 06.08.14 13:23, Stef Walter ([email protected]) wrote: >>> I've done initial work on adding polkit support to system

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-08-15 Thread Lennart Poettering
On Fri, 15.08.14 18:25, Stef Walter ([email protected]) wrote: > > On 13.08.2014 20:27, Lennart Poettering wrote: > > On Wed, 06.08.14 13:23, Stef Walter ([email protected]) wrote: > > > >> I've done initial work on adding polkit support to systemd1 DBus > >> methods. You can see it here: > > Tha

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-08-15 Thread Stef Walter
On 13.08.2014 20:27, Lennart Poettering wrote: > On Wed, 06.08.14 13:23, Stef Walter ([email protected]) wrote: > >> I've done initial work on adding polkit support to systemd1 DBus >> methods. You can see it here: Thanks for the review. Worked on this a bit more. I might drop off the face of the

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-08-13 Thread Lennart Poettering
On Wed, 06.08.14 13:23, Colin Guthrie ([email protected]) wrote: > > Stef Walter wrote on 06/08/14 12:23: > > I've done initial work on adding polkit support to systemd1 DBus > > methods. > > Hmmm, I thought this was deliberately not included as it meant a > circular dep on polkit when talkin

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-08-13 Thread Lennart Poettering
On Wed, 06.08.14 13:23, Stef Walter ([email protected]) wrote: > I've done initial work on adding polkit support to systemd1 DBus > methods. You can see it here: > > https://github.com/stefwalter/systemd/commits/polkit-systemd1 > > Basic rules: > > * Read access for everyone > > * Methods tha

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-08-06 Thread Colin Guthrie
Stef Walter wrote on 06/08/14 13:44: > On 06.08.2014 14:23, Colin Guthrie wrote: >> > Stef Walter wrote on 06/08/14 12:23: >>> >> I've done initial work on adding polkit support to systemd1 DBus >>> >> methods. >> > >> > Hmmm, I thought this was deliberately not included as it meant a >> > circula

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-08-06 Thread Stef Walter
On 06.08.2014 14:23, Colin Guthrie wrote: > Stef Walter wrote on 06/08/14 12:23: >> I've done initial work on adding polkit support to systemd1 DBus >> methods. > > Hmmm, I thought this was deliberately not included as it meant a > circular dep on polkit when talking to the system that's used to s

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-08-06 Thread Colin Guthrie
Stef Walter wrote on 06/08/14 12:23: > I've done initial work on adding polkit support to systemd1 DBus > methods. Hmmm, I thought this was deliberately not included as it meant a circular dep on polkit when talking to the system that's used to start up polkitd itself... what happens if you try to

[systemd-devel] Work on adding polkit support to systemd1

2014-08-06 Thread Stef Walter
I've done initial work on adding polkit support to systemd1 DBus methods. You can see it here: https://github.com/stefwalter/systemd/commits/polkit-systemd1 Basic rules: * Read access for everyone * Methods that modifies running unit state is controlled by a polkit action: org.freedesktop.