There are some very useful functions in systemd/src/shared that are tempting to
reuse in other, unrelated applications.My first attempt is like this:
/usr/bin/gcc -g -Wall -Wextra -std=gnu99 -I../systemd/src/systemd
-I../systemd/src/shared -I/usr/include/x86_64-linux-gnu/python2.7/
Zbigniew Jędrzejewski-Szmek píše v So 18. 10. 2014 v 16:42 +0200:
On Thu, Oct 16, 2014 at 09:41:02AM +0200, Lukas Nykryn wrote:
---
shell-completion/bash/systemctl.in | 12
1 file changed, 12 insertions(+)
diff --git a/shell-completion/bash/systemctl.in
Hi
On Sun, Oct 19, 2014 at 3:58 PM, Zbigniew Jędrzejewski-Szmek
zbys...@in.waw.pl wrote:
On Sun, Oct 19, 2014 at 12:43:59PM +0200, Colin Guthrie wrote:
David Herrmann wrote on 19/10/14 12:05:
Hi
On Fri, Oct 17, 2014 at 6:14 PM, Colin Guthrie gm...@colin.guthr.ie
wrote:
Hi,
How
Ran Benita ran...@gmail.com writes:
On Fri, Oct 17, 2014 at 02:02:13PM +0200, Jan Synacek wrote:
When setting any of those using set-x11-keymap, check that their values
are available on the system.
I have only skimmed this patch, but generally:
1. There can only be one model.
2. There can
On Mon, Oct 20, 2014 at 1:02 PM, David Herrmann dh.herrm...@gmail.com wrote:
Btw., manager_check_finished() doesn't explicitly wait for
default.target, but instead waits for all jobs to be done. Not sure
why..
Because default.target can be reached long before all jobs that are
part of
---
man/localectl.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/localectl.xml b/man/localectl.xml
index 38e73c7..c332027 100644
--- a/man/localectl.xml
+++ b/man/localectl.xml
@@ -178,7 +178,7 @@
/varlistentry
Changes in v2:
- correctly verify multiple layouts, variants and options when specified in a
comma separated list
Jan Synacek (2):
man: fix localectl set-x11-keymap syntax description
localectl: verify layout, model, variant and options
man/localectl.xml | 2 +-
When setting any of those using set-x11-keymap, check that their values
are available on the system.
---
src/locale/localectl.c | 208 +
1 file changed, 139 insertions(+), 69 deletions(-)
diff --git a/src/locale/localectl.c b/src/locale/localectl.c
On Mon, Oct 20, 2014 at 07:19:42AM +, Chaiken, Alison wrote:
There are some very useful functions in systemd/src/shared that are tempting
to reuse in other, unrelated applications.My first attempt is like this:
/usr/bin/gcc -g -Wall -Wextra -std=gnu99 -I../systemd/src/systemd
On Mon, Oct 20, 2014 at 02:16:30PM +0400, Andrei Borzenkov wrote:
On Mon, Oct 20, 2014 at 1:02 PM, David Herrmann dh.herrm...@gmail.com wrote:
Btw., manager_check_finished() doesn't explicitly wait for
default.target, but instead waits for all jobs to be done. Not sure
why..
Because
On Mon, Oct 20, 2014 at 4:47 PM, Zbigniew Jędrzejewski-Szmek
zbys...@in.waw.pl wrote:
On Mon, Oct 20, 2014 at 02:16:30PM +0400, Andrei Borzenkov wrote:
On Mon, Oct 20, 2014 at 1:02 PM, David Herrmann dh.herrm...@gmail.com
wrote:
Btw., manager_check_finished() doesn't explicitly wait for
On Mon, Oct 20, 2014 at 05:01:14PM +0400, Andrei Borzenkov wrote:
On Mon, Oct 20, 2014 at 4:47 PM, Zbigniew Jędrzejewski-Szmek
zbys...@in.waw.pl wrote:
On Mon, Oct 20, 2014 at 02:16:30PM +0400, Andrei Borzenkov wrote:
On Mon, Oct 20, 2014 at 1:02 PM, David Herrmann dh.herrm...@gmail.com
On Thu, 16.10.14 14:05, Michal Schmidt (mschm...@redhat.com) wrote:
Quoting from Jon Corbet's report of Stephen Hemminger's talk at Linux
Plumbers Conference 2014 (https://lwn.net/Articles/616241/):
[...] So Stephen encouraged everybody to run a command like:
sysctl -w
On Mon, 20.10.14 07:19, Chaiken, Alison (alison_chai...@mentor.com) wrote:
There are some very useful functions in systemd/src/shared that are tempting
to reuse in other, unrelated applications.My first attempt is like this:
/usr/bin/gcc -g -Wall -Wextra -std=gnu99
On Sun, 19.10.14 12:05, Martin Pitt (martin.p...@ubuntu.com) wrote:
Hello all,
in Debian/Ubuntu we don't use the merged /usr tree for now. systemd
generally supports that (HAVE_SPLIT_USR), but doesn't consider that
for ProtectSystem=.
Ansgar (CC'ed) wrote a Debian specific patch for that
On Fri, 17.10.14 23:35, Richard Weinberger (richard.weinber...@gmail.com) wrote:
Dear systemd and container folks,
at Plumbers the question raised how to provide cgroups to a systemd that lives
in a container (with user namespaces).
Due to the GDL train strikes I had to leave very soon and
On Fri, 17.10.14 15:10, Martin Pitt (martin.p...@ubuntu.com) wrote:
Looks generally OK (as discussed in Düsseldorf). I'll leave this for
Kay to merge though, as udev is more his thing. Kay!
--- a/src/libudev/libudev-hwdb.c
+++ b/src/libudev/libudev-hwdb.c
@@ -256,6 +256,13 @@ static int
On Fri, 17.10.14 15:44, Martin Pitt (martin.p...@ubuntu.com) wrote:
Hello again,
the previous patch had a typo in the manpage (it said /lib/udev
instead of /usr/lib/udev at one place), and also forgot to adjust
systemd-udev-hwdb-update.service.in. Both done now.
However, the latter
On Sun, 19.10.14 14:13, Ivan Shapovalov (intelfx...@gmail.com) wrote:
Ugh, I haven't seen your second message. There's something strange with
mail delivery -- I could swear that I've fetched everything before replying...
Sorry for the noise.
There's something really broken on fdo mail
On Fri, 17.10.14 07:03, Paassen, Hiram van (hiram.van.paas...@mastervolt.com)
wrote:
Hi,
We use systemd to manage some python processes in an embedded
environment (imx28 cpu). This works fantastic except for a fairly long
startup sequence due to python being slow during the initialization
On Mon, 20.10.14 18:49, Richard Weinberger (rich...@nod.at) wrote:
Am 20.10.2014 um 18:24 schrieb Lennart Poettering:
On Fri, 17.10.14 23:35, Richard Weinberger (richard.weinber...@gmail.com)
wrote:
Dear systemd and container folks,
at Plumbers the question raised how to provide
On Fri, 17.10.14 00:43, philippedesw...@gmail.com (philippedesw...@gmail.com)
wrote:
From: Philippe De Swert philippedesw...@gmail.com
Remove the following warning during compilation:
src/test/test-strv.c: In function ‘test_strv_quote_unquote’:
src/test/test-strv.c:140:56: warning:
Am 20.10.2014 um 18:51 schrieb Lennart Poettering:
On Mon, 20.10.14 18:49, Richard Weinberger (rich...@nod.at) wrote:
Am 20.10.2014 um 18:24 schrieb Lennart Poettering:
On Fri, 17.10.14 23:35, Richard Weinberger (richard.weinber...@gmail.com)
wrote:
Dear systemd and container folks,
at
On Sun, 19.10.14 15:58, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:
PAM creates sessions by calling into systemd's pam-module, which then
uses CreateSession() (internal api!). This call does not return until
the job of user@.service is done. `systemd --user` notifies READY=1
On Sun, 19.10.14 12:05, David Herrmann (dh.herrm...@gmail.com) wrote:
Hi
On Fri, Oct 17, 2014 at 6:14 PM, Colin Guthrie gm...@colin.guthr.ie wrote:
Hi,
How soon after login can I rely on systemd --user having reached
sockets.target?
This feels a bit like a you shouldn't rely on
On Mon, 20.10.14 18:55, Richard Weinberger (rich...@nod.at) wrote:
Am 20.10.2014 um 18:51 schrieb Lennart Poettering:
On Mon, 20.10.14 18:49, Richard Weinberger (rich...@nod.at) wrote:
Am 20.10.2014 um 18:24 schrieb Lennart Poettering:
On Fri, 17.10.14 23:35, Richard Weinberger
On Mon, 20.10.14 11:02, David Herrmann (dh.herrm...@gmail.com) wrote:
I want to rely on systemd --user to handle PulseAudio's activation
(ditching the built in stuff) and but I'm worried that e.g. GNOME or KDE
might start up their own session stuff and spawn some PA consuming
process
On Fri, 17.10.14 07:09, Zbigniew Jędrzejewski-Szmek
(zbys...@kemper.freedesktop.org) wrote:
commit 46849c3fb1d92882ec456fdbf445a175c13fba9c
Author: Zbigniew J??drzejewski-Szmek zbys...@in.waw.pl
Date: Thu Oct 16 19:13:45 2014 -0500
systemd: log deserialization errors as warnings
Am 20.10.2014 um 19:04 schrieb Lennart Poettering:
On Mon, 20.10.14 18:55, Richard Weinberger (rich...@nod.at) wrote:
Am 20.10.2014 um 18:51 schrieb Lennart Poettering:
On Mon, 20.10.14 18:49, Richard Weinberger (rich...@nod.at) wrote:
Am 20.10.2014 um 18:24 schrieb Lennart Poettering:
On
On Mon, 20.10.14 12:43, Jan Synacek (jsyna...@redhat.com) wrote:
When setting any of those using set-x11-keymap, check that their values
are available on the system.
---
src/locale/localectl.c | 208
+
1 file changed, 139 insertions(+), 69
On Mon, 20.10.14 12:43, Jan Synacek (jsyna...@redhat.com) wrote:
Applied this one! Thanks!
---
man/localectl.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/localectl.xml b/man/localectl.xml
index 38e73c7..c332027 100644
--- a/man/localectl.xml
+++
On Fri, 17.10.14 16:52, Ran Benita (ran...@gmail.com) wrote:
On Fri, Oct 17, 2014 at 02:02:12PM +0200, Jan Synacek wrote:
---
man/localectl.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/localectl.xml b/man/localectl.xml
index 38e73c7..c332027 100644
On Mon, 20.10.14 19:16, Richard Weinberger (rich...@nod.at) wrote:
Have you read the link I posted?
Sure, I've also been in the room in Düsseldorf while you've read it
in front of us.
Not that I changed it since then... ;-)
Yes, I test systemd inside containers. Daily. Actually it's my
On Mon, Oct 20, 2014 at 7:59 PM, Lennart Poettering
lenn...@poettering.net wrote:
On Sun, 19.10.14 15:58, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:
PAM creates sessions by calling into systemd's pam-module, which then
uses CreateSession() (internal api!). This call does not
On Mon, 20.10.14 20:36, Mantas Mikulėnas (graw...@gmail.com) wrote:
On Mon, Oct 20, 2014 at 7:59 PM, Lennart Poettering
lenn...@poettering.net wrote:
On Sun, 19.10.14 15:58, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl)
wrote:
PAM creates sessions by calling into systemd's
On Fri, 17.10.14 06:29, Josh Triplett (j...@joshtriplett.org) wrote:
This makes it possible to drop in logind configuration snippets from a
package or other configuration management mechanism.
Introduce a new helper, conf_parse_many, to parse configuration files in
a search path.
systemd
Am 20.10.2014 16:48 schrieb Lennart Poettering lenn...@poettering.net:
On Thu, 16.10.14 14:05, Michal Schmidt (mschm...@redhat.com) wrote:
Quoting from Jon Corbet's report of Stephen Hemminger's talk at Linux
Plumbers Conference 2014 (https://lwn.net/Articles/616241/):
[...] So
On Fri, 17.10.14 09:14, Josh Triplett (j...@joshtriplett.org) wrote:
On Fri, Oct 17, 2014 at 08:40:48AM +0300, Mantas Mikulėnas wrote:
On Fri, Oct 17, 2014 at 7:29 AM, Josh Triplett j...@joshtriplett.org
wrote:
This makes it possible to drop in logind configuration snippets from a
On Mon, 20.10.14 19:49, Thomas Meyer (tho...@m3y3r.de) wrote:
Am 20.10.2014 16:48 schrieb Lennart Poettering lenn...@poettering.net:
On Thu, 16.10.14 14:05, Michal Schmidt (mschm...@redhat.com) wrote:
Quoting from Jon Corbet's report of Stephen Hemminger's talk at Linux
Plumbers
On Thu, 16.10.14 19:01, Lukasz Skalski (l.skal...@samsung.com) wrote:
Looks good! Applied! Thanks!
---
src/libsystemd/sd-bus/bus-control.c | 43
-
1 file changed, 28 insertions(+), 15 deletions(-)
diff --git a/src/libsystemd/sd-bus/bus-control.c
On Fri, 17.10.14 15:47, Leslie Zhai (xiangzha...@gmail.com) wrote:
Hi systemd developers,
I am studying namespace, seccomp, pivot_root, cgroups and other thing behind
Linux container such as lxc and docker recently.
But there are only lots of use cases about Linux Server and web
On Thu, 16.10.14 09:50, Michal Schmidt (mschm...@redhat.com) wrote:
Hello,
I rewrote the hashmaps implementation to use less memory.
See patch PATCH 21/26 for details and some measurements.
I'd like to push this upstream after v217 is released,
unless there are objections.
Key changes
On Mon, Oct 20, 2014 at 07:44:19PM +0200, Lennart Poettering wrote:
On Fri, 17.10.14 06:29, Josh Triplett (j...@joshtriplett.org) wrote:
This makes it possible to drop in logind configuration snippets from a
package or other configuration management mechanism.
Introduce a new helper,
On Thu, 16.10.14 09:50, Michal Schmidt (mschm...@redhat.com) wrote:
+/* Distance from Initial Bucket */
+typedef uint8_t dib_raw_t;
+#define DIB_RAW_OVERFLOW ((dib_raw_t)0xfdU) /* indicates DIB value is
greater than representable */
+#define DIB_RAW_REHASH ((dib_raw_t)0xfeU) /* entry yet
On Thu, 16.10.14 09:51, Michal Schmidt (mschm...@redhat.com) wrote:
All other patches look great to me. Please go ahead and commit.
---
Makefile.am | 2 --
src/shared/mempool.c | 94
src/shared/mempool.h | 55
On Mon, 20.10.14 11:28, j...@joshtriplett.org (j...@joshtriplett.org) wrote:
I'd really prefer if we'd keep things in logind.conf and just provide
the option of using logind.conf.d. This would be similar to unit
files, where the unit files are where the beef is and .d/ is just a
way to
On Wed, 15.10.14 11:07, Jan Synacek (jsyna...@redhat.com) wrote:
Hello,
in the documentation for systemd.service, under Type= option, it reads:
Behavior of oneshot is similar to simple; however, it is expected that the
process has to exit before systemd starts follow-up unit
On Wed, 15.10.14 01:58, Michal Sekletar (msekl...@kemper.freedesktop.org) wrote:
src/shared/label.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 5e78424f4a27c07be50e246308035c877f204038
Author: Michal Sekletar msekl...@redhat.com
Date: Mon Oct 13
On 20 October 2014 15:11, Lennart Poettering lenn...@poettering.net wrote:
On Wed, 15.10.14 01:58, Michal Sekletar (msekl...@kemper.freedesktop.org)
wrote:
-mycon = context_str(bcon);
+mycon = strdup(context_str(bcon));
This looks wrong!
I meanm what is mycon? a string
On Mon, Oct 20, 2014 at 11:07:06AM +0200, Jan Synacek wrote:
Ran Benita ran...@gmail.com writes:
On Fri, Oct 17, 2014 at 02:02:12PM +0200, Jan Synacek wrote:
---
man/localectl.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/localectl.xml
On Tue, 14.10.14 21:50, Boris Egorov (ego...@linux.com) wrote:
Minor patch. Fixes defects found by cppcheck: do not check if unsigned
value is const, reduce scope of a few variables.
Signed-off-by: Boris Egorov ego...@linux.com
Hmm, semi-enthusiastic about this patch, see below.
---
On Mon, Oct 20, 2014 at 11:15:14AM +0200, Jan Synacek wrote:
Ran Benita ran...@gmail.com writes:
On Fri, Oct 17, 2014 at 02:02:13PM +0200, Jan Synacek wrote:
When setting any of those using set-x11-keymap, check that their values
are available on the system.
I have only skimmed this
On Tue, 14.10.14 16:19, Jan Synacek (jsyna...@redhat.com) wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=1147248
Hmm, so far tmpfiles always adjust access modes, for all types of
lines, if that's possible. I think this makes sense. The bug
referenced above seems to suggest though that the
On Mon, 20.10.14 11:08, Karel Zak (k...@redhat.com) wrote:
On Fri, Oct 03, 2014 at 07:16:55AM +0200, Jan Synacek wrote:
Karel Zak k...@redhat.com writes:
Karel, any chance you can add a -o option to swapon?
No problem, added to TODO. I'll implement it next week.
Implemented, it's
On 10/20/2014 09:36 PM, Lennart Poettering wrote:
On Tue, 14.10.14 11:54, Florian Weimer (fwei...@redhat.com) wrote:
Is there some documentation of the D-Bus API and its expected
behavior?
No. We have not documented this so far, as we don't want to guarantee
API stabilitiy for this yet.
Is
On Mon, 20.10.14 21:42, Florian Weimer (fwei...@redhat.com) wrote:
On 10/20/2014 09:36 PM, Lennart Poettering wrote:
On Tue, 14.10.14 11:54, Florian Weimer (fwei...@redhat.com) wrote:
Is there some documentation of the D-Bus API and its expected
behavior?
No. We have not documented this
On Mon, 13.10.14 16:29, Darren Shepherd (darren.s.sheph...@gmail.com) wrote:
I'm looking for guidance on how the following can be done with systemd or
if there is a different approach. Imagine I have a daemon that forks
processes based on a RPC request. If the deamon is running in
On Mon, 13.10.14 22:12, Christian Hesse (l...@eworm.de) wrote:
From: Christian Hesse m...@eworm.de
Not that this would matter much, but I merged it anyway.
Thanks!
---
src/journal/sd-journal.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git
On Tue, 14.10.14 15:35, Martyn Russell (mar...@lanedo.com) wrote:
Hello all,
Recently I've started looking into support for cgroups due to this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=737663
It was suggested I ask you guys to see what the best way forward would be
here. It seems
On Mon, Oct 20, 2014 at 08:48:01PM +0200, Lennart Poettering wrote:
On Mon, 20.10.14 11:28, j...@joshtriplett.org (j...@joshtriplett.org) wrote:
I'd really prefer if we'd keep things in logind.conf and just provide
the option of using logind.conf.d. This would be similar to unit
files,
On Sun, 12.10.14 01:37, 황재영 (j-zero.hw...@samsung.com) wrote:
Hello, guys
I'm working enhancing systemd on v216 and almost finished the work.
So I wanna test in reference Linux distro, Which is reference distro?
We don't really have any reference distro, but most of the core
developers
On Sat, 11.10.14 18:45, Ronny Chevalier (chevalier.ro...@gmail.com) wrote:
Applied! Thanks!
---
src/core/manager.c | 3 +--
src/shared/time-util.h | 2 ++
src/timesync/timesyncd-manager.c | 3 +--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git
On Fri, 17.10.14 15:45, Mantas Mikulėnas (graw...@gmail.com) wrote:
On Fri, Oct 17, 2014 at 3:11 PM, Lennart Poettering
lenn...@poettering.net wrote:
On Fri, 17.10.14 14:29, Mantas Mikulėnas (graw...@gmail.com) wrote:
Technically proficient people will set $EDITOR or $VISUAL
anyway.
On Mon, 13.10.14 15:13, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote:
On 13/10/14 14:38, Dale R. Worley wrote:
My general understanding is that the traditional behavior when you
need an editor but the user hasn't specified one is to use vi, and
so people who don't want vi *always*
On Sun, 12.10.14 00:37, Ronny Chevalier (chevalier.ro...@gmail.com) wrote:
Applied all four! Thanks!
---
man/systemd-nspawn.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
index 22f2df4..c02aa88 100644
---
On Thu, 09.10.14 19:44, constantine (costas.magn...@gmail.com) wrote:
Hello all!
I am not sure this is the appropriate mailing list, and I have also
posted to intel-...@lists.freedesktop.org (without any solution) and
arch-gene...@archlinux.org
Please indicate if you recommend me posting
On Fri, 10.10.14 11:55, Jóhann B. Guðmundsson (johan...@gmail.com) wrote:
On 10/10/2014 09:20 AM, Lennart Poettering wrote:
rule that if two
units are ordered against each other, and one is started and one is
stopped the stop will always be executed first, the start second,
regardless if
On Mon, Oct 20, 2014 at 07:07:05PM +0200, Lennart Poettering wrote:
On Mon, 20.10.14 11:02, David Herrmann (dh.herrm...@gmail.com) wrote:
I want to rely on systemd --user to handle PulseAudio's activation
(ditching the built in stuff) and but I'm worried that e.g. GNOME or
KDE
2014-10-21 0:51 GMT+02:00 Lennart Poettering lenn...@poettering.net:
On Sat, 18.10.14 18:30, Ronny Chevalier (chevalier.ro...@gmail.com) wrote:
Looks pretty good. A few comments.
+
+static int unit_file_copy_if_needed(const char *unit_name, const char
*fragment_path, char **new_path) {
+
On 10/12/2014 12:00 PM, Kay Sievers k...@vrfy.org wrote:
On Tue, Oct 7, 2014 at 6:21 PM, Lee Duncan ldun...@suse.com wrote:
I am debugging a problem where the symlinks in /dev/disk/by-path
disappeared for iSCSI target devices.
It looks like it's from systemd/udev commit
On 10/21/2014 02:29 AM, Lennart Poettering wrote:
---
src/shared/macro.h | 2 +-
src/shared/ring.c | 7 ---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/shared/macro.h b/src/shared/macro.h
index 9ee332c..372475b 100644
--- a/src/shared/macro.h
+++
В Mon, 20 Oct 2014 20:48:01 +0200
Lennart Poettering lenn...@poettering.net пишет:
Well, as for units the main file should be read first (taking the
/usr+/etc override logic into account), and only then we should read
the .d/ drop-ins (individually following the /usr+/etc override
logic).
72 matches
Mail list logo