Re: [systemd-devel] Getting boot progress and messages

2015-06-24 Thread Umut Tezduyar Lindskog
You can use PID 1's DBUS API - http://www.freedesktop.org/wiki/Software/systemd/dbus/. Particularly you should be interested in NJobs and Progress property. Since it is too late to wait for DBus to come up you need to connect to systemd directly (instead of going through dbus-daemon). The socket

Re: [systemd-devel] Getting boot progress and messages

2015-06-24 Thread Colin Guthrie
Thomas Schmidt wrote on 24/06/15 11:20: Hello, many thanks for your replies! Is there an advise what should be used instead ? SDBus/DBus is too late activated, private socket looks like a short term solution. Is there anything already there which would be the optimal way ? or will something

Re: [systemd-devel] Getting boot progress and messages

2015-06-24 Thread Daniel Mack
On 06/24/2015 12:20 PM, Thomas Schmidt wrote: Hello, many thanks for your replies! Is there an advise what should be used instead ? SDBus/DBus is too late activated, private socket looks like a short term solution. Is there anything already there which would be the optimal way ? No. That's

Re: [systemd-devel] Getting boot progress and messages

2015-06-24 Thread Umut Tezduyar Lindskog
On Wed, Jun 24, 2015 at 11:53 AM, Daniel Mack dan...@zonque.org wrote: On 06/24/2015 11:30 AM, Umut Tezduyar Lindskog wrote: IMPORTANT: Man page says This interface is private to systemd and should not be used in external projects. for /run/systemd/private. I am not sure if this is still the

Re: [systemd-devel] Getting boot progress and messages

2015-06-24 Thread Thomas Schmidt
Hello, many thanks for your replies! Is there an advise what should be used instead ? SDBus/DBus is too late activated, private socket looks like a short term solution. Is there anything already there which would be the optimal way ? or will something be introduced once the code handling

Re: [systemd-devel] Getting boot progress and messages

2015-06-24 Thread Daniel Mack
On 06/24/2015 11:57 AM, Umut Tezduyar Lindskog wrote: On Wed, Jun 24, 2015 at 11:53 AM, Daniel Mack dan...@zonque.org wrote: On 06/24/2015 11:30 AM, Umut Tezduyar Lindskog wrote: IMPORTANT: Man page says This interface is private to systemd and should not be used in external projects. for

Re: [systemd-devel] Getting boot progress and messages

2015-06-24 Thread Daniel Mack
On 06/24/2015 11:30 AM, Umut Tezduyar Lindskog wrote: IMPORTANT: Man page says This interface is private to systemd and should not be used in external projects. for /run/systemd/private. I am not sure if this is still the case. Yes it is. The private socket is a hack that will go away mid-term

Re: [systemd-devel] Getting boot progress and messages

2015-06-24 Thread Thomas Schmidt
Hello, I’ll check this (it was already in my mind but as you said manuals claim that it should not be used for external projects so i didn’t touch it yet...) I’m very thankful for your fast reply Kind Regards Thomas Schmidt Am 24.06.2015 um 11:30 schrieb Umut Tezduyar Lindskog