Re: [systemd-devel] [PATCH] udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

2014-09-24 Thread Zdenek Kabelac
Dne 23.9.2014 v 19:55 Kay Sievers napsal(a): - Original Message - We are not applying this patch now. It introduces a complete new scheme and we do not want to extend the current SCSI code, we only fix obvious bugs. Fine with me, however not sure what our story should be for years to

Re: [systemd-devel] Setting system wide environment variables

2014-09-24 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Sep 23, 2014 at 11:08:42PM -0400, Amit Saha wrote: Hello, Is systemd.setenv on the kernel command line still the way to set system wide environment variables? [1] [1] http://lists.freedesktop.org/archives/systemd-devel/2012-August/006143.html Yes, as described in

[systemd-devel] [PATCH] swap: introduce Discard property

2014-09-24 Thread Jan Synacek
Process possible discard values from /etc/fstab. --- man/systemd.swap.xml | 14 + src/core/execute.c| 25 src/core/execute.h| 1 + src/core/load-fragment-gperf.gperf.m4 | 1 + src/core/swap.c

Re: [systemd-devel] [PATCH] swap: introduce Discard property

2014-09-24 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Sep 24, 2014 at 02:29:05PM +0200, Jan Synacek wrote: Process possible discard values from /etc/fstab. Hm, wouldn't it be enough to simply pass through the options like with mounts, using the Options= option? This might be less work and be more flexible. Zbyszek ---

Re: [systemd-devel] journal-upload returning error by default

2014-09-24 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Sep 23, 2014 at 10:36:20AM +0200, Umut Tezduyar Lindskog wrote: Hi, I am a bit confused about the service as it returns with error on systemd 216: ● systemd-journal-upload.service - Journal Remote Upload Service Loaded: loaded (/etc/systemd/system/systemd-journal-upload.service;

Re: [systemd-devel] journal-upload returning error by default

2014-09-24 Thread Umut Tezduyar Lindskog
Thanks for the answer. I am more worried about the failed service entry on output of systemctl. Maybe best not to fail if no configuration is set? BTW, I figured out to disable it with --disable-libcurl (for now since libcurl is only used by journal upload tool). Umut On Wed, Sep 24, 2014 at

[systemd-devel] [PATCH] journal-remote: initialize writer hashmap before use

2014-09-24 Thread Jonathan Liu
https://bugs.freedesktop.org/show_bug.cgi?id=83682 --- src/journal-remote/journal-remote.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c index f06c2cb..b1cc6fd 100644 ---

Re: [systemd-devel] Setting system wide environment variables

2014-09-24 Thread Umut Tezduyar Lindskog
Also DefaultEnvironment on system.conf (http://www.freedesktop.org/software/systemd/man/systemd-system.conf.html) On Wed, Sep 24, 2014 at 2:22 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Sep 23, 2014 at 11:08:42PM -0400, Amit Saha wrote: Hello, Is systemd.setenv on the

[systemd-devel] [PATCHi v2] systemctl: add add-wants and add-requires verbs

2014-09-24 Thread Lukas Nykryn
--- Changes in v2 - new selinux_unit_access_check_strv - only one dbus call AddInstallDependencyUnitFiles - small change in manpage TODO | 1 - man/systemctl.xml | 21 src/core/dbus-manager.c| 84

Re: [systemd-devel] [PATCH] udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

2014-09-24 Thread Kay Sievers
- Original Message - On Tue, Sep 23, 2014 at 01:55:09PM -0400, Kay Sievers wrote: - Original Message - We are not applying this patch now. It introduces a complete new scheme and we do not want to extend the current SCSI code, we only fix obvious bugs. Fine

Re: [systemd-devel] [PATCH] udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

2014-09-24 Thread Kay Sievers
- Original Message - Dne 23.9.2014 v 19:55 Kay Sievers napsal(a): - Original Message - We are not applying this patch now. It introduces a complete new scheme and we do not want to extend the current SCSI code, we only fix obvious bugs. Fine with me, however not sure

Re: [systemd-devel] [PATCH] udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

2014-09-24 Thread Zdenek Kabelac
Dne 24.9.2014 v 17:06 Kay Sievers napsal(a): - Original Message - Dne 23.9.2014 v 19:55 Kay Sievers napsal(a): - Original Message - We are not applying this patch now. It introduces a complete new scheme and we do not want to extend the current SCSI code, we only fix obvious

[systemd-devel] [PATCH 1/2] fileio: make parse_env_file() return number of parsed items

2014-09-24 Thread Michal Sekletar
This commit introduces possibility to call parse_env_file_internal() and hand over extra argument where we will accumulate how many items were successfully parsed and pushed by callback. We make use of this in parse_env_file() and return number of parsed items on success instead of always

[systemd-devel] [PATCH 2/2] localectl: print warning when there are options given on kernel cmdline

2014-09-24 Thread Michal Sekletar
--- src/core/locale-setup.c | 47 + src/locale/localectl.c | 50 src/shared/locale-util.c | 20 +++ src/shared/locale-util.h | 25 4 files changed, 100

[systemd-devel] [PATCH 4/7] journal: honour !HAVE_UTMP

2014-09-24 Thread Emil Renner Berthing
--- src/journal/journald-wall.c | 5 - src/journal/journald-wall.h | 6 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/journal/journald-wall.c b/src/journal/journald-wall.c index fcbd918..360b3bd 100644 --- a/src/journal/journald-wall.c +++

[systemd-devel] [PATCH 1/7] make utmp/wtmp support configurable

2014-09-24 Thread Emil Renner Berthing
For now just stub out the functions in utmp-wtmp.h so code will still compile. These stubs will be removed in the last commit in this patch series. --- Makefile.am | 34 +++--- configure.ac| 11 +++

[systemd-devel] [PATCH 6/7] core/execute: honour !HAVE_UTMP

2014-09-24 Thread Emil Renner Berthing
--- src/core/execute.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/core/execute.c b/src/core/execute.c index e27cc7a..001bc33 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -69,7 +69,6 @@ #include namespace.h #include exit-status.h #include

[systemd-devel] [PATCH 5/7] tty-ask-password-agent: honour !HAVE_UTMP

2014-09-24 Thread Emil Renner Berthing
--- src/tty-ask-password-agent/tty-ask-password-agent.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c index 8a02fb0..9428419 100644 ---

[systemd-devel] [PATCH 7/7] utmp-wtmp.h: clean up stubbed functions

2014-09-24 Thread Emil Renner Berthing
Now that there are no more users of utmp-wtmp.h left when !HAVE_UTMP we can remove the stubbed functions. Also tell automake that the header is not used unless we have utmp enabled. --- Makefile.am| 4 ++-- src/shared/utmp-wtmp.h | 28 2 files changed, 2

[systemd-devel] [PATCH 2/7] shutdownd: honour !HAVE_UTMP

2014-09-24 Thread Emil Renner Berthing
--- src/shutdownd/shutdownd.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/shutdownd/shutdownd.c b/src/shutdownd/shutdownd.c index 99aa4b3..4132d9a 100644 --- a/src/shutdownd/shutdownd.c +++ b/src/shutdownd/shutdownd.c @@ -36,10 +36,13 @@ #include log.h

[systemd-devel] [PATCH 3/7] systemctl: honour !HAVE_UTMP

2014-09-24 Thread Emil Renner Berthing
--- src/systemctl/systemctl.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 9012128..b9e165c 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -47,7 +47,6 @@ #include

Re: [systemd-devel] [PATCHi v2] systemctl: add add-wants and add-requires verbs

2014-09-24 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Sep 24, 2014 at 04:27:29PM +0200, Lukas Nykryn wrote: --- Changes in v2 - new selinux_unit_access_check_strv - only one dbus call AddInstallDependencyUnitFiles - small change in manpage TODO | 1 - man/systemctl.xml | 21

[systemd-devel] [PATCH] fstab-generator: Honor usr=, usrfstype= and usrflags=

2014-09-24 Thread Tobias Hunger
From f3a193de94959875cd1d83f941ed8fc8275c82eb Mon Sep 17 00:00:00 2001 From: Tobias Hunger tobias.hun...@digia.com Date: Wed, 24 Sep 2014 21:57:00 +0200 Subject: [PATCH] fstab-generator: Honor usr=, usrfstype= and usrflags= on kernel command line This allows to configure boot loader entries for

[systemd-devel] Systemd-networkd -- Cannot acquire DHCP lease on bridge interface

2014-09-24 Thread James Lott
Hello! With some help from the kind people on this list, I was able to get my basic network interfaces up and runnign with systemd-networkd. Now I've moved on to playing with some slightly more complex setups, and have run into some issues that as far as I can tell may be bugs (but I'm not

Re: [systemd-devel] Systemd-networkd -- Cannot acquire DHCP lease on bridge interface

2014-09-24 Thread Leonid Isaev
Hi, On Wed, Sep 24, 2014 at 07:16:03PM -0700, James Lott wrote: However, when I try to acquire a dhcp lease through the bridge interface, I am unable to do so. Removing the bridge interface and re-adding it using brctl (as well as its vlan member) then allows me to gain a lease. Details

Re: [systemd-devel] [PATCH 2/2] localectl: print warning when there are options given on kernel cmdline

2014-09-24 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Sep 24, 2014 at 05:18:47PM +0200, Michal Sekletar wrote: --- src/core/locale-setup.c | 47 + src/locale/localectl.c | 50 src/shared/locale-util.c | 20 +++

Re: [systemd-devel] Systemd-networkd -- Cannot acquire DHCP lease on bridge interface

2014-09-24 Thread James Lott
Hello, There is no .network file for the bridge. Systemd-networkd is currently only in charge of setting up the interface. As you can see from the provided output in my original email, I am running the dhcpcd service directly from the command line (the output from each run of the dhcpcd

[systemd-devel] Systemd-nspawn -- Canot add interface to container

2014-09-24 Thread James Lott
Hello again! I'm having another issue with private networking in systemd-nspawn. This one I'm not so certain is a bug, but probably some kind of mistake on my part. Base on my reading of the systemd-nspawn man page though, I can't figure out what the problem is. Basically, all I'm tring to do

[systemd-devel] Dedicated cgroups for a user

2014-09-24 Thread Naoki Kawakami
Hello, I am trying to find a way for a user to be assigned a dedicated cgroup under each of the controllers. My default archlinux install give this: $ cat /proc/self/cgroup 8:blkio:/ 7:net_cls:/ 6:freezer:/ 5:devices:/user.slice 4:memory:/ 3:cpu,cpuacct:/ 2:cpuset:/