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

[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

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 mkarasc...@gmail.com 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 johannes.er...@gmail.com wrote: On Jun 23, 2015, at

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

2015-06-15 Thread Chris Morgan
On Monday, June 15, 2015, Lennart Poettering lenn...@poettering.net wrote: On Mon, 15.06.15 13:22, Matthew Karas (mkarasc...@gmail.com javascript:;) 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

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 crrodrig...@opensuse.org wrote: On Tue, Jun 2, 2015 at 1:18 PM, Chris Morgan chmor...@gmail.com 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

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 simon.mcvit...@collabora.co.uk 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

[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.

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 graw...@gmail.com wrote: On Tue, May 26, 2015 at 9:33 PM, Chris Morgan chmor...@gmail.com 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 current

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 graw...@gmail.com wrote: On Tue, May 26, 2015 at 10:32 PM, Chris Morgan chmor...@gmail.com wrote: On Tue, May 26, 2015 at 3:22 PM, Mantas Mikulėnas graw...@gmail.com wrote: On Tue, May 26, 2015 at 9:33 PM, Chris Morgan chmor...@gmail.com

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 zbys...@in.waw.pl 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.

[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

[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
; + +!-- + This file is part of systemd. + + Copyright 2015 Chris Morgan + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option

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 dh.herrm...@gmail.com wrote: Hi On Mon, Mar 16, 2015 at 1:49 PM, Chris Morgan chmor...@gmail.com wrote: --- man/journal-remote.conf.xml| 111 + man/systemd-journal-remote.xml | 1 + 2 files

[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
. + + Copyright 2015 Chris Morgan + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + systemd

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 zbys...@in.waw.pl 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 zbys...@in.waw.pl wrote: On Fri, Mar 13, 2015 at 06:35:38PM -0400, Chris Morgan

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 u...@tezduyar.com 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.

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 zbys...@in.waw.pl 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 about tiered logging

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 graw...@gmail.com wrote: On Mon, Mar 9, 2015 at 12:53 AM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 06.03.15 21:28, Chris Morgan (chmor...@gmail.com) wrote: http://www.freedesktop.org/software/systemd/man

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 q...@daurnimator.com wrote: On 6 March 2015 at 16:13, Chris Morgan chmor...@gmail.com 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

[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

[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

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 q...@daurnimator.com wrote: On 6 March 2015 at 14:25, Chris Morgan chmor...@gmail.com 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

Re: [systemd-devel] User systemd unit files

2014-10-22 Thread Chris Morgan
On Wed, Oct 22, 2014 at 12:20 PM, Lennart Poettering lenn...@poettering.net 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-environment and it shows

Re: [systemd-devel] User systemd unit files

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

Re: [systemd-devel] User systemd unit files

2014-09-10 Thread Chris Morgan
On Sep 10, 2014 5:46 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl 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 works, but only for one user instance per UID

Re: [systemd-devel] User systemd unit files

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

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 zbys...@in.waw.pl 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 chmor...@gmail.com wrote: On Mon, Sep 8, 2014 at 3:30 PM, Mantas Mikulėnas graw...@gmail.com wrote

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 graw...@gmail.com wrote: On Mon, Sep 8, 2014 at 9:27 PM, Chris Morgan chmor...@gmail.com 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 embedded

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 graw...@gmail.com wrote: On Mon, Nov 11, 2013 at 10:29 PM, Chris Morgan chmor...@gmail.com wrote: I don't see that GKeyFile supports nested groups. For my users I was hoping to present something like: [Clients] [ObjectNameHere] type

[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

Re: [systemd-devel] Configuration file parser library

2013-11-09 Thread Chris Morgan
On Sat, Nov 9, 2013 at 9:49 AM, Holger Winkelmann hwin...@tpip.net 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