[systemd-devel] "No such file or directory" when enabling a service

2013-06-27 Thread Lars Kellogg-Stedman
I'm running systemd 204 under Fedora 19 (beta). I have /etc/systemd/system/postfix-update-hook.service installed as a symlink to /etc/postfix/support/postfix-update-hook.service. I can start it: # systemctl start postfix-update-hook And check the status: # systemctl status postfix-upda

Re: [systemd-devel] [systemd-commits] 2 commits - Makefile.am TODO src/core src/login src/shared src/systemctl src/test units/-.slice units/slices.target units/system.slice

2013-06-27 Thread Kay Sievers
On Thu, Jun 27, 2013 at 7:12 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Jun 27, 2013 at 06:40:37AM +0200, Zbigniew Jędrzejewski-Szmek wrote: >> make distcheck fails for me, because make uninstall chokes on -.slice. >> automake-1.12.2-5.fc18.noarch and automake-1.13.4-1.fc19.noarch both. >> S

[systemd-devel] [PATCH] man: fix spacing issue in various man pages

2013-06-27 Thread Jason St. John
From: "Jason St. John" Before: libsystemd-daemonpkg-config(1) After: libsystemd-daemon pkg-config(1) This fix is more complicated than it should be due to the consecutive XML elements separated by collapsible whitespace. Merging the lines and separating the XML elements with an en space or a no

[systemd-devel] [PATCH 1/2] RFC: journald: Allow to cache the cg_get_root_path

2013-06-27 Thread Holger Hans Peter Freyther
From: Holger Hans Peter Freyther Allow to cache the cg_get_root_path and introduce a new method cg_pid_get_path_shifted_with_root that can use the cached version instead of allocating a new string. --- src/journal/journald-server.c | 20 +--- src/shared/cgroup-util.c | 1

[systemd-devel] [PATCH 2/2] RFC: journald: Avoid reading /proc/PID/cgroup more than once per msg

2013-06-27 Thread Holger Hans Peter Freyther
From: Holger Hans Peter Freyther --- src/journal/journald-server.c | 45 ++--- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index b08aa1d..e651a6d 100644 --- a/src/journal/journ

Re: [systemd-devel] [PATCH] journal-verify: Use proper printf placeholder

2013-06-27 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jun 27, 2013 at 04:24:02PM +0200, Jan Janssen wrote: > --- > src/journal/journal-verify.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/src/journal/journal-verify.c b/src/journal/journal-verify.c > index 781b1ee..3405811 100644 > --- a/src/journal/journal-

Re: [systemd-devel] [PATCH] makefile:put macros file to the correct place

2013-06-27 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jun 27, 2013 at 04:30:12PM +0200, Vaclav Pavlin wrote: > From: Fedora systemd team > > --- > Makefile.am | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile.am b/Makefile.am > index 3a196a6..c3988e8 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -65,7

[systemd-devel] [PATCH] makefile:put macros file to the correct place

2013-06-27 Thread Vaclav Pavlin
From: Fedora systemd team --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 3a196a6..c3988e8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -65,7 +65,7 @@ pkgconfigdatadir=$(datadir)/pkgconfig pkgconfiglibdir=$(libdir)/pkgconfig

[systemd-devel] [PATCH] journal-verify: Use proper printf placeholder

2013-06-27 Thread Jan Janssen
--- src/journal/journal-verify.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/journal/journal-verify.c b/src/journal/journal-verify.c index 781b1ee..3405811 100644 --- a/src/journal/journal-verify.c +++ b/src/journal/journal-verify.c @@ -67,7 +67,7 @@ static int jo

[systemd-devel] [PATCH 2/2] util.c:is_locale_utf8(): check, if "C" was set on purpose

2013-06-27 Thread harald
From: Harald Hoyer If you have a ASCII only terminal, there is no way to set the charmap to ANSI_X3.4-1968, other than using LC_CTYPE=C. We don't want to assume a UTF-8 capable terminal in this case and only do so, if LANG, LC_ALL and LC_CTYPE are unset. --- src/shared/util.c | 4 1 file c

[systemd-devel] [PATCH 1/2] Do not set LANG=C in every child environment.

2013-06-27 Thread harald
From: Harald Hoyer LANG does not have to be set and setting it to default to the default does not add any value. --- src/core/locale-setup.c | 8 1 file changed, 8 deletions(-) diff --git a/src/core/locale-setup.c b/src/core/locale-setup.c index d7113b9..daf81d0 100644 --- a/src/core/l

Re: [systemd-devel] Excessive (virtual) memory usage of journald

2013-06-27 Thread Holger Hans Peter Freyther
On Fri, Jun 21, 2013 at 06:01:08PM +0200, Holger Hans Peter Freyther wrote: > Do you have an idea on how this could be done? Hi, first of all the MMAP cache is not why journald is slow but that is for another mail/benchmark. I was just curious if the mmap cache is premature optimization or if it