[systemd-devel] [PATCH] Debian: add hostname path, m4 units

2011-12-02 Thread Ramkumar Ramachandra
Teach systemd about the location of the hostname, distribution version file, and tweak the various m4 scripts in units/. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- Started using systemd on my Debian machine yesterday- here's a quick patch for starters. Thanks for reading.

[systemd-devel] Linux Journal API/client lib

2011-12-02 Thread Rainer Gerhards
Hi there, as you probably know, I am not a big fan of the journald proposal, but that's not the point of my question. I am thinking about how to integrate journal data into a syslog logging solution. So I have a couple of questions in regard to accessing the journal. The most important one is how

Re: [systemd-devel] Linux Journal API/client lib

2011-12-02 Thread Kay Sievers
On Fri, Dec 2, 2011 at 13:59, Rainer Gerhards rgerha...@gmail.com wrote: as you probably know, I am not a big fan of the journald proposal, but that's not the point of my question. I am thinking about how to integrate journal data into a syslog logging solution. You know that the syslog daemon

Re: [systemd-devel] [PATCH] Debian: add hostname path, m4 units

2011-12-02 Thread Tollef Fog Heen
]] Ramkumar Ramachandra | diff --git a/src/hostname-setup.c b/src/hostname-setup.c | index 2c2f10c..918525d 100644 | --- a/src/hostname-setup.c | +++ b/src/hostname-setup.c | @@ -32,6 +32,8 @@ | | #if defined(TARGET_FEDORA) || defined(TARGET_ALTLINUX) || defined(TARGET_MANDRIVA) ||

Re: [systemd-devel] [PATCH] Debian: add hostname path, m4 units

2011-12-02 Thread Ramkumar Ramachandra
Hi Tollef, Tollef Fog Heen wrote: | diff --git a/src/hostname-setup.c b/src/hostname-setup.c | index 2c2f10c..918525d 100644 | --- a/src/hostname-setup.c | +++ b/src/hostname-setup.c | @@ -32,6 +32,8 @@ [...] Not needed, the top of read_hostname from the same file. and | diff --git

Re: [systemd-devel] Linux Journal API/client lib

2011-12-02 Thread Rainer Gerhards
On Fri, Dec 2, 2011 at 2:49 PM, Kay Sievers kay.siev...@vrfy.org wrote: On Fri, Dec 2, 2011 at 13:59, Rainer Gerhards rgerha...@gmail.com wrote: as you probably know, I am not a big fan of the journald proposal, but that's not the point of my question. I am thinking about how to integrate

Re: [systemd-devel] Linux Journal API/client lib

2011-12-02 Thread Kay Sievers
On Fri, Dec 2, 2011 at 16:14, Rainer Gerhards rgerha...@gmail.com wrote: On Fri, Dec 2, 2011 at 2:49 PM, Kay Sievers kay.siev...@vrfy.org wrote: On Fri, Dec 2, 2011 at 13:59, Rainer Gerhards rgerha...@gmail.com wrote: as you probably know, I am not a big fan of the journald proposal, but

Re: [systemd-devel] Linux Journal API/client lib

2011-12-02 Thread Rainer Gerhards
On Fri, Dec 2, 2011 at 4:39 PM, Kay Sievers kay.siev...@vrfy.org wrote: On Fri, Dec 2, 2011 at 16:14, Rainer Gerhards rgerha...@gmail.com wrote: On Fri, Dec 2, 2011 at 2:49 PM, Kay Sievers kay.siev...@vrfy.org wrote: On Fri, Dec 2, 2011 at 13:59, Rainer Gerhards rgerha...@gmail.com wrote: as

[systemd-devel] [PATCH 0/3] Fix some minor annoyances

2011-12-02 Thread Ramkumar Ramachandra
Hi, I've just started scratching the surface: lack of autocomplete in ZSH is annoying. So, here are a couple of patches fixing that, along with a better version of a patch I messed up earlier today [1]. Thanks for reading. -- Ram [1]: 1322818483-3506-1-git-send-email-artag...@gmail.com

[systemd-devel] [PATCH 1/3] Debian: update m4 scripts in units/

2011-12-02 Thread Ramkumar Ramachandra
Teach the console, getty, and serial m4 scripts about Debian. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- units/console-shell.service.m4 |3 +++ units/getty@.service.m4|3 +++ units/serial-getty@.service.m4 |3 +++ 3 files changed, 9 insertions(+), 0

[systemd-devel] [PATCH 2/3] completion: fix typo in accessing array index

2011-12-02 Thread Ramkumar Ramachandra
Remove spurious '}'. This error went unnoticed so far because Bash doesn't complain. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- src/systemd-bash-completion.sh |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systemd-bash-completion.sh

Re: [systemd-devel] Linux Journal API/client lib

2011-12-02 Thread Kay Sievers
On Fri, Dec 2, 2011 at 17:02, Rainer Gerhards rgerha...@gmail.com wrote: On Fri, Dec 2, 2011 at 4:39 PM, Kay Sievers kay.siev...@vrfy.org wrote: /dev/log will be read by journald. The syslog.socket filedescriptor that the syslog daemon receives, will be provided by journald and have all the

Re: [systemd-devel] Linux Journal API/client lib

2011-12-02 Thread Rainer Gerhards
On Fri, Dec 2, 2011 at 6:59 PM, Kay Sievers kay.siev...@vrfy.org wrote: On Fri, Dec 2, 2011 at 17:02, Rainer Gerhards rgerha...@gmail.com wrote: On Fri, Dec 2, 2011 at 4:39 PM, Kay Sievers kay.siev...@vrfy.org wrote: /dev/log will be read by journald. The syslog.socket filedescriptor that the

[systemd-devel] self domuneting and customizable

2011-12-02 Thread Wouter De Borger
Hi all, I'm just learning to know systemd and it seems very nice, but I have one question/consideration. System V init scripts are self documenting and customizable: they are scripts. It is easy to read and edit them. One can read through the init process from step one and learn to know every

Re: [systemd-devel] Linux Journal API/client lib

2011-12-02 Thread Kay Sievers
On Fri, Dec 2, 2011 at 19:07, Rainer Gerhards rgerha...@gmail.com wrote: On Fri, Dec 2, 2011 at 6:59 PM, Kay Sievers kay.siev...@vrfy.org wrote: On Fri, Dec 2, 2011 at 17:02, Rainer Gerhards rgerha...@gmail.com wrote: Well, if syslogd, or any other consumer, is interested in the metadata, it

Re: [systemd-devel] Linux Journal API/client lib

2011-12-02 Thread Rainer Gerhards
On Fri, Dec 2, 2011 at 7:47 PM, Kay Sievers kay.siev...@vrfy.org wrote: Well, if syslogd, or any other consumer, is interested in the metadata, it should not rely in /dev/log. /dev/log will probably stay what it is which is mostly plain old syslog with a header and a timestamp and the human