Hi,
for one application we will spawn one or more pppd daemons. Once
a link is up I would like to monitor them. The closest thing that
I can do right now is systemctl start mon@$PPP_IFACE from within
a /etc/ppp/ip-up.d/mon file.
In case I consider the link broken or I want to bring it down, I
From: Holger Hans Peter Freyther hol...@moiji-mobile.com
Some unattended systems do not have a console attached and entering
the default rescue mode will not be too helpful. Allow to specify
the -y option to attempt to fix all filesystem errors.
Manually verified by downloading an image.gz of
Lennart Poettering lennart at poettering.net writes:
the -y option to attempt to fix all filesystem errors.
Hmm, we already unconditionally pass -a to fsck, which should have the
desired effect of non-interactively fixing everything.
What does your patch add on top of that?
fsck.ext4(8)
Good Morning,
I had postponed the adoption of systemd due the excessive CPU usage
of the journald. I am re-evaluating the situation with version 204
right now and I noticed that the (virtual) address space is getting
unusual big.
My journald config configuration is:
[Journal]
Holger Hans Peter Freyther holger at freyther.de writes:
The following two patches are compile tested only. The first one is
to avoid work when systemd is compiled without audit support. The
second is starting to remove dynamic allocations from the
dispatch_message_real method.
I just
From: Holger Hans Peter Freyther hol...@moiji-mobile.com
Avoid memory allocations to construct the path for files in the
procfs. The procfs paths are way shorter than the PATH_MAX so we
can use snprintf on a string located on the stack. This shows up
as a win on x86 using the benchmark program
From: Holger Hans Peter Freyther hol...@moiji-mobile.com
The routine is dominated by the fgets and not the code that is
moved around. Doing the work only for the lines that will be
used should be a small gain. Routines in the selinux-access.c
should probably query the gid and uid at the same time
From: Holger Hans Peter Freyther hol...@moiji-mobile.com
Avoid memory allocations to construct the path for files in the
procfs. The procfs paths are way shorter than the PATH_MAX so we
can use snprintf on a string located on the stack. This shows up
as a win on x86 using the benchmark program
Ian Pilcher arequipeno at gmail.com writes:
http://gcc.gnu.org/onlinedocs/cpp/Swallowing-the-Semicolon.html
thanks, good point. I will add a do {} while(0) around it.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
Cristian RodrÃguez crrodriguez at opensuse.org writes:
Good Morning Cristian,
Why should systemd stop using standard IO functions to please some
obscure, out of the ordinary need?
Could you please clarify obscure? So any embedded device that prints
a couple of log messages on start of an
Dear maintainers,
first of all the good news. The same setup used to exhibit high
memory usage (and exploding virtual address space). In a relatively
idle system I see a constant CPU usage of journald of around 20% (
using the busybox top). The main issue with that is that the system
starts to
Holger Freyther holger at freyther.de writes:
I am currently re-compiling my rootfs to not omit the framepointers and
then will hopefully be able to have useful output of perf. Is the current
behavior expected/wanted?
Somehow backtrace generation is still broken (perf should be able to
walk
Lennart Poettering lennart at poettering.net writes:
That specific test is really old, and hasn't been used in a long time. I
guess we should either remove it or make it work again. (Happy to take
patches...)
Okay, I will post a patch for the removal (it is broken beyond repair at
this
Holger Freyther holger at freyther.de writes:
I made a small change and wanted to add test coverage for the bug
I was fixing. The only test that is loading units appears to be
test-engine. Sadly this test is not executed as part of make check
and executing it by hand results in an assertion
Hi,
I made a small change and wanted to add test coverage for the bug
I was fixing. The only test that is loading units appears to be
test-engine. Sadly this test is not executed as part of make check
and executing it by hand results in an assertion when starting the
first job.
Is there a
Hi,
I have launched systemd --user, created a bts.service file, added
'ConditionPathExists=' in the Unit section of my service. Then I
launched my service with 'systemctl --user start ...' and as the
path does not exist, the condition_test fails and the service is not
started.
Next I tried to
16 matches
Mail list logo