Re: [systemd-devel] if StandardInput is set, echo messages from script doesn't show up on terminal.

2016-01-21 Thread Chris Morgan
On Thu, Jan 21, 2016 at 11:59 AM, Navneet Sinha wrote: > Gentle Reminder mail for looking into the issue. > > Thanks > Navneet > > On Mon, Jan 18, 2016 at 11:05 PM, Navneet Sinha < > nnavneetsinha1...@gmail.com> wrote: > >> Any updates ? >> >> On Fri, Jan 15, 2016 at 11:16 AM, Navneet Sinha < >>

[systemd-devel] Why are some of my units starting later than others?

2015-10-27 Thread Chris Morgan
Hello. Systemd 219 here on an embedded target (yocto build). I'm looking at the bootchart output and seeing some units that are WantedBy multi-user.target that are starting much later than others. There are no other requires on these service units so I'm not sure why one would start 4 seconds lat

Re: [systemd-devel] How to provision a container after creation via a script

2015-06-23 Thread Chris Morgan
On Tue, Jun 23, 2015 at 4:18 PM, Matthew Karas wrote: > I have a few gigs - so it shouldn't be a problem. I'm using parallels > 9. I will try manually when I have the time. > > On Tue, Jun 23, 2015 at 2:18 PM, Johannes Ernst > wrote: >> >>> On Jun 23, 2015, at 7:45, Matthew Karas wrote: >>> >>

Re: [systemd-devel] Fedora 21 and systemd-nspawn

2015-06-15 Thread Chris Morgan
On Monday, June 15, 2015, Lennart Poettering wrote: > On Mon, 15.06.15 13:22, Matthew Karas (mkarasc...@gmail.com ) > wrote: > > > Yes - that seems to have let me set the password. Now I can get > > started learning about this. > > > > Thanks a lot! > > > > Though it does return an error about s

Re: [systemd-devel] Performance of systemctl status tab completion

2015-06-02 Thread Chris Morgan
On Tue, Jun 2, 2015 at 2:28 PM, Cristian Rodríguez wrote: > On Tue, Jun 2, 2015 at 1:18 PM, Chris Morgan wrote: >> Hi all. >> >> systemd 216 here on an embedded arm system, 1ghz with a load of 60% or >> more. I enabled tab completion, because I really don't like t

[systemd-devel] Performance of systemctl status tab completion

2015-06-02 Thread Chris Morgan
Hi all. systemd 216 here on an embedded arm system, 1ghz with a load of 60% or more. I enabled tab completion, because I really don't like to type, and quickly found out that something like: systemctl status xx Takes a really long time to complete. In some cases something like 20+ seconds. Inte

Re: [systemd-devel] how to call dbus ListUnits for user units?

2015-05-27 Thread Chris Morgan
On Wed, May 27, 2015 at 5:23 AM, Simon McVittie wrote: > On 26/05/15 20:22, Mantas Mikulėnas wrote: >> But right now, the 'user' bus does not exist by default. To create it, >> you need either >> a) enable/install/boot with kdbus, >> or b) obtain the "dbus.service" & "dbus.socket" user units. (The

Re: [systemd-devel] how to call dbus ListUnits for user units?

2015-05-26 Thread Chris Morgan
On Tue, May 26, 2015 at 4:05 PM, Mantas Mikulėnas wrote: > On Tue, May 26, 2015 at 10:32 PM, Chris Morgan wrote: >> >> On Tue, May 26, 2015 at 3:22 PM, Mantas Mikulėnas >> wrote: >> > On Tue, May 26, 2015 at 9:33 PM, Chris Morgan >> > wrote: >> >

Re: [systemd-devel] how to call dbus ListUnits for user units?

2015-05-26 Thread Chris Morgan
On Tue, May 26, 2015 at 3:22 PM, Mantas Mikulėnas wrote: > On Tue, May 26, 2015 at 9:33 PM, Chris Morgan wrote: >> >> But I can't seem to figure out how to do the same for user units. >> There doesn't seem to be an org.freedesktop.systemd1 interface on my >

[systemd-devel] how to call dbus ListUnits for user units?

2015-05-26 Thread Chris Morgan
Hello. I'm able to use: dbus-send --system --print-reply --reply-timeout=2000 --type=method_call \ --dest=org.freedesktop.systemd1 \ /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager.ListUnits to list system units. But I can't seem to figure out how to do the same for user units. There

Re: [systemd-devel] possible to detect journald rate limiting?

2015-03-30 Thread Chris Morgan
On Mon, Mar 23, 2015 at 8:09 PM, Chris Morgan wrote: > Hello. > > I have a journal test that fails periodically. When observing the test > with journalctl -f in the cases that fail I don't see any journal > entries from the journalctl -f. I'm wondering if I'm hitti

[systemd-devel] possible to detect journald rate limiting?

2015-03-23 Thread Chris Morgan
Hello. I have a journal test that fails periodically. When observing the test with journalctl -f in the cases that fail I don't see any journal entries from the journalctl -f. I'm wondering if I'm hitting rate limiting here on F21 (systemd 216). Is there some way to detect at the application that

Re: [systemd-devel] [PATCH] Create journal-remote.conf.xml to document the format of the configuration file for systemd-journal-remote

2015-03-23 Thread Chris Morgan
On Sun, Mar 22, 2015 at 9:49 PM, Zbigniew Jędrzejewski-Szmek wrote: > Applied. > > What Michael wrote about: there should be a conditional='HAVE_MICROHTTPD' > attribute, to make this man page conditional on the same build option > as systemd-journal-remote itself. I added that. > > Zbyszek > Yep

[systemd-devel] [PATCH] Create journal-remote.conf.xml to document the format of the configuration file for systemd-journal-remote

2015-03-22 Thread Chris Morgan
onf +systemd + + + +Developer + Chris +Morgan +chmor...@gmail.com + + + + + +journal-remote.conf +5 + + + +journal-remote.conf +journal-remote.conf.d +Journal remote service configuration files + + + +/etc/systemd/journal-remot

[systemd-devel] [PATCH] Create journal-remote.conf.xml to document the format of the configuration file for systemd-journal-remote

2015-03-21 Thread Chris Morgan
onf +systemd + + + +Developer + Chris +Morgan +chmor...@gmail.com + + + + + +journal-remote.conf +5 + + + +journal-remote.conf +journal-remote.conf.d +Journal remote service configuration files + + + +/etc/systemd/journal-remote.conf +

Re: [systemd-devel] [PATCH] Create journal-remote.conf.xml to document the format of the configuration file for systemd-journal-remote

2015-03-19 Thread Chris Morgan
On Thu, Mar 19, 2015 at 9:23 AM, David Herrmann wrote: > Hi > > On Mon, Mar 16, 2015 at 1:49 PM, Chris Morgan wrote: >> --- >> man/journal-remote.conf.xml| 111 >> + >> man/systemd-journal-remote.xml | 1 + &g

[systemd-devel] [PATCH] Create journal-remote.conf.xml to document the format of the configuration file for systemd-journal-remote

2015-03-16 Thread Chris Morgan
100644 index 000..84e07ee --- /dev/null +++ b/man/journal-remote.conf.xml @@ -0,0 +1,111 @@ + +http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";> + + + +http://www.w3.org/2001/XInclude";> + +journal-remote.conf +systemd + + + +Develope

Re: [systemd-devel] journald on embedded systems

2015-03-14 Thread Chris Morgan
On Sat, Mar 14, 2015 at 11:07 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Mar 14, 2015 at 10:59:42AM -0400, Chris Morgan wrote: >> On Fri, Mar 13, 2015 at 11:03 PM, Zbigniew Jędrzejewski-Szmek >> wrote: >> > On Fri, Mar 13, 2015 at 06:35:38PM -0400, Chris M

Re: [systemd-devel] journald on embedded systems

2015-03-14 Thread Chris Morgan
On Fri, Mar 13, 2015 at 11:03 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Mar 13, 2015 at 06:35:38PM -0400, Chris Morgan wrote: >> Hello. >> >> I posted this, >> http://lists.freedesktop.org/archives/systemd-devel/2013-July/011926.html, >> some time ago

Re: [systemd-devel] journald on embedded systems

2015-03-14 Thread Chris Morgan
On Sat, Mar 14, 2015 at 12:37 AM, Umut Tezduyar Lindskog wrote: > Getting inspiration from what you are proposing, you can already forward > messages to a datagram socket (syslog). You could implement a program to > empty out the datagram socket and only write the messages you want. Syslog > forma

[systemd-devel] journald on embedded systems

2015-03-13 Thread Chris Morgan
Hello. I posted this, http://lists.freedesktop.org/archives/systemd-devel/2013-July/011926.html, some time ago about tiered logging for embedded systems. The goal is to guarantee that the flash memory will last the duration of the product by carefully controlling who writes to it. I'm back look

Re: [systemd-devel] sd_journal_add_match if not using the form of "FIELD=value"

2015-03-09 Thread Chris Morgan
On Mon, Mar 9, 2015 at 1:44 AM, Mantas Mikulėnas wrote: > On Mon, Mar 9, 2015 at 12:53 AM, Lennart Poettering > wrote: >> >> On Fri, 06.03.15 21:28, Chris Morgan (chmor...@gmail.com) wrote: >> >> > >> > http://www.freedesktop.org/software/systemd/ma

[systemd-devel] sd_journal_add_match if not using the form of "FIELD=value"

2015-03-06 Thread Chris Morgan
http://www.freedesktop.org/software/systemd/man/sd_journal_add_match.html is pretty clear that the matches are in the form of 'FIELD=value' but it doesn't mention the why. What if I've written a field like "FIELD", can I then match on it as "FIELD"? I presume that sd_journal_add_match is doing an

Re: [systemd-devel] order of sd_journal_query_unique()?

2015-03-06 Thread Chris Morgan
On Fri, Mar 6, 2015 at 6:45 PM, Daurnimator wrote: > On 6 March 2015 at 16:13, Chris Morgan wrote: >> So is SD_JOURNAL_FOREACH_BACKWARDS the fastest way to find the newest >> journal entry with a given field? journalctl seems a ton faster than >> my c application is when

Re: [systemd-devel] order of sd_journal_query_unique()?

2015-03-06 Thread Chris Morgan
On Fri, Mar 6, 2015 at 2:38 PM, Daurnimator wrote: > On 6 March 2015 at 14:25, Chris Morgan wrote: >> I was using a journal iterator to search from the newest journal entry >> backwards for a matching field, using SD_JOURNAL_FOREACH_BACKWARDS. >> This appears to be pretty s

[systemd-devel] order of sd_journal_query_unique()?

2015-03-06 Thread Chris Morgan
I was using a journal iterator to search from the newest journal entry backwards for a matching field, using SD_JOURNAL_FOREACH_BACKWARDS. This appears to be pretty slow but journalctl is really fast. I went looking and found sd_journal_query_unique() (although I'm not 100% positive this is why jou

[systemd-devel] looking for an 'uptime' value from a journal entry

2015-02-25 Thread Chris Morgan
Hello. I'm looking to store some process tick values from /proc//stat into the journal and retrieve them later to look at cpu load. This information is most useful if I can also retrieve how long the system has been up since last boot. From http://www.freedesktop.org/software/systemd/man/systemd

Re: [systemd-devel] User systemd unit files

2014-10-22 Thread Chris Morgan
On Wed, Oct 22, 2014 at 12:20 PM, Lennart Poettering wrote: > On Thu, 11.09.14 07:07, Chris Morgan (chmor...@gmail.com) wrote: > >> Hmm. I figured that the environment was used when the systemd user >> instance was started. >> >> I tried systemctl --user set-enviro

Re: [systemd-devel] User systemd unit files

2014-09-11 Thread Chris Morgan
On Thu, Sep 11, 2014 at 5:03 AM, Colin Guthrie wrote: > Chris Morgan wrote on 11/09/14 02:32: >> >> On Sep 10, 2014 5:46 PM, "Zbigniew Jędrzejewski-Szmek" >> mailto:zbys...@in.waw.pl>> wrote: >>> >>> On Tue, Sep 09, 2014 at 07:39:17PM -0400

Re: [systemd-devel] User systemd unit files

2014-09-10 Thread Chris Morgan
On Sep 10, 2014 5:46 PM, "Zbigniew Jędrzejewski-Szmek" wrote: > > On Tue, Sep 09, 2014 at 07:39:17PM -0400, Chris Morgan wrote: > > >> >> Specifically, running `systemd --user` directly is not supported > > >> >> anymore. The user mode still w

Re: [systemd-devel] User systemd unit files

2014-09-09 Thread Chris Morgan
On Tue, Sep 9, 2014 at 7:09 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Sep 09, 2014 at 10:15:06AM -0400, Chris Morgan wrote: >> On Mon, Sep 8, 2014 at 3:45 PM, Chris Morgan wrote: >> > On Mon, Sep 8, 2014 at 3:30 PM, Mantas Mikulėnas wrote: >> >> On Mon,

Re: [systemd-devel] User systemd unit files

2014-09-09 Thread Chris Morgan
On Mon, Sep 8, 2014 at 3:45 PM, Chris Morgan wrote: > On Mon, Sep 8, 2014 at 3:30 PM, Mantas Mikulėnas wrote: >> On Mon, Sep 8, 2014 at 9:27 PM, Chris Morgan wrote: >>> Hello. >>> >>> We have a build environment that we use to build our software for >>

Re: [systemd-devel] User systemd unit files

2014-09-08 Thread Chris Morgan
On Mon, Sep 8, 2014 at 3:30 PM, Mantas Mikulėnas wrote: > On Mon, Sep 8, 2014 at 9:27 PM, Chris Morgan wrote: >> Hello. >> >> We have a build environment that we use to build our software for >> desktop Linux and we are currently using Yocto to build for an >> e

[systemd-devel] User systemd unit files

2014-09-08 Thread Chris Morgan
Hello. We have a build environment that we use to build our software for desktop Linux and we are currently using Yocto to build for an embedded target. I'm looking for a way for developers to use the systemd unit files for our services out of their user owned build directory during development s

Re: [systemd-devel] Configuration file parser library

2013-11-11 Thread Chris Morgan
On Mon, Nov 11, 2013 at 4:09 PM, Mantas Mikulėnas wrote: > On Mon, Nov 11, 2013 at 10:29 PM, Chris Morgan wrote: >> I don't see that GKeyFile supports nested groups. For my users I was >> hoping to present something like: >> >> [Clients] >> >

Re: [systemd-devel] Configuration file parser library

2013-11-11 Thread Chris Morgan
On Sun, Nov 10, 2013 at 4:54 PM, Lennart Poettering wrote: > On Sat, 09.11.13 09:02, Chris Morgan (chmor...@gmail.com) wrote: > >> Hello. >> >> I wanted to implement a configuration file format for an application of >> mine that uses a similar format to what sy

Re: [systemd-devel] Configuration file parser library

2013-11-09 Thread Chris Morgan
On Sat, Nov 9, 2013 at 9:49 AM, Holger Winkelmann wrote: > There is also TOML which jumps to my mind: > > https://github.com/mojombo/toml > > available for nearly all languages, used by Tom for Github work.. > > Holger > > > > Hello. > > I wanted to implement a con

[systemd-devel] Configuration file parser library

2013-11-09 Thread Chris Morgan
Hello. I wanted to implement a configuration file format for an application of mine that uses a similar format to what systemd uses. I was wondering if the parser used today was from an external library. I googled a bit but wasn't able to dig anything up. I haven't looked at the code in detail yet

[systemd-devel] journald tiered logging for embedded system with flash?

2013-07-15 Thread Chris Morgan
Hello. I'm looking at journald.conf for a way to log all messages to ram but only messages lower than a certain level to disk (which in this case is flash and is slow/has a limited number of write cycles). I see MaxLevelStore etc and Storage but I don't see any combination that would work as desir