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

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

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

2014-09-25 Thread Jan Synacek
Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl writes: 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

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

2014-09-25 Thread Lukáš Nykrýn
Zbigniew Jędrzejewski-Szmek píše v St 24. 09. 2014 v 18:15 +0200: I don't understand the name method_add_install_dependency_unit_files. Why not just method_add_dependencies? After all, this is not like install, and does not work on the level of unit files, but units. Similarly for the dbus

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

2014-09-25 Thread Marcel Holtmann
Hi James, 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

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

2014-09-25 Thread Tomas Henzl
On 09/24/2014 05:03 PM, Kay Sievers wrote: - 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

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

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Sep 25, 2014 at 10:09:40AM +0200, Lukáš Nykrýn wrote: Zbigniew Jędrzejewski-Szmek píše v St 24. 09. 2014 v 18:15 +0200: I don't understand the name method_add_install_dependency_unit_files. Why not just method_add_dependencies? After all, this is not like install, and does not

[systemd-devel] [PATCH v3] systemctl: add add-wants and add-requires verbs

2014-09-25 Thread Lukas Nykryn
--- Changes in v3 - move don't load logic to unit_file_load - --help message should be finally fine TODO | 1 - man/systemctl.xml | 21 src/core/dbus-manager.c| 84 ++---

Re: [systemd-devel] [HEADS-UP] Intent to remove readahead from systemd

2014-09-25 Thread Tom Gundersen
On Thu, Aug 14, 2014 at 7:16 PM, Lennart Poettering lenn...@poettering.net wrote: So, I think with the release after the upcoming one we should just remove it from the systemd package and just throw it on the pile of historic cruft. So, yeah, here's the advance warning that this will be

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

2014-09-25 Thread Mantas Mikulėnas
On Thu, Sep 25, 2014 at 7:49 PM, James Lott ja...@lottspot.com wrote: Hi Marcel, Thanks for the help pointing that one out! With your guidance I was able to figure out that I'll need to run something like: iw phy phy0 set netns pid Unfortunately I'm having some trouble trying to figure

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

2014-09-25 Thread James Lott
Hi Mantas, Thanks for the clarification. The first thing I tried actually was using the PID of the systemd-nspawn instance, like so [root@host01 lanvpn]# ps aux | grep -v grep | grep systemd-nspawn root 143 0.0 0.3 2884 728 ?Ss 08:42 0:00 /usr/bin/systemd-nspawn

[systemd-devel] [Featur Request] Allow list of names in file.network

2014-09-25 Thread Damien Robert
This is a minor feature request for systemd-networkd: my files in /etc/systemd/network/ all share the same pattern: [Match] Name=en* [Network] DHCP=yes [Match] Name=eth* [Network] DHCP=yes [Match] Name=usb* [Network] DHCP=yes I would like to be able to only write one file, like [Match]

[systemd-devel] [feature request] allow instances in file.preset

2014-09-25 Thread Damien Robert
I really like the new preset directive, and I plan to use preset files to synchronise the services I launch at boot across my computers. However it is a bit cumbersome that preset files do not parse instanced services files. I could play with DefaultInstance in foobar@.service.d/ droplets and add

Re: [systemd-devel] [feature request] allow instances in file.preset

2014-09-25 Thread Damien Robert
Damien Robert wrote in message m01rcj$dhh$2...@ger.gmane.org: I really like the new preset directive, and I plan to use preset files to synchronise the services I launch at boot across my computers. Also according to the man file systemd.preset and my test, while user systemd units are looked

[systemd-devel] [PATCH] journal: build fix when LZ4 is enabled but XZ is not.

2014-09-25 Thread Gustavo Sverzut Barbieri
--- src/journal/journal-file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h index da2ef3b..6b4bf0d 100644 --- a/src/journal/journal-file.h +++ b/src/journal/journal-file.h @@ -78,7 +78,7 @@ typedef struct JournalFile {

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

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Sep 25, 2014 at 10:40:42AM -0700, James Lott wrote: Hi Mantas, Thanks for the clarification. The first thing I tried actually was using the PID of the systemd-nspawn instance, like so [root@host01 lanvpn]# ps aux | grep -v grep | grep systemd-nspawn root 143 0.0 0.3

[systemd-devel] [PATCH] do not install factory/etc/pam.d if --disable-pam

2014-09-25 Thread Gustavo Sverzut Barbieri
--- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 5312851..52f578b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2050,9 +2050,11 @@ endif dist_factory_etc_DATA = \ factory/etc/nsswitch.conf +if HAVE_PAM dist_factory_pam_DATA = \

[systemd-devel] [PATCH 2/2] sysusers.d: split files to cope with split packages.

2014-09-25 Thread Gustavo Sverzut Barbieri
move each user/group creation to a file that represents its own split package, so it's possible to ship them in separate. --- Makefile.am| 33 +++-- sysusers.d/systemd-journal-remote.conf | 9 +

[systemd-devel] [PATCH] only build and install systemd-bus-proxyd if --enable-kdbus

2014-09-25 Thread Gustavo Sverzut Barbieri
--- Makefile.am | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8a32880..62cf768 100644 --- a/Makefile.am +++ b/Makefile.am @@ -387,7 +387,6 @@ rootlibexec_PROGRAMS = \ systemd-ac-power \ systemd-sysctl \

Re: [systemd-devel] [feature request] allow instances in file.preset

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Sep 25, 2014 at 08:29:46PM +, Damien Robert wrote: Damien Robert wrote in message m01rcj$dhh$2...@ger.gmane.org: I really like the new preset directive, and I plan to use preset files to synchronise the services I launch at boot across my computers. Also according to the man

Re: [systemd-devel] [feature request] allow instances in file.preset

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Sep 25, 2014 at 07:45:23PM +, Damien Robert wrote: I really like the new preset directive, and I plan to use preset files to synchronise the services I launch at boot across my computers. However it is a bit cumbersome that preset files do not parse instanced services files. I

Re: [systemd-devel] [PATCH] journal: build fix when LZ4 is enabled but XZ is not.

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Sep 25, 2014 at 06:08:02PM -0300, Gustavo Sverzut Barbieri wrote: --- src/journal/journal-file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h index da2ef3b..6b4bf0d 100644 ---

Re: [systemd-devel] [PATCH] only build and install systemd-bus-proxyd if --enable-kdbus

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Sep 25, 2014 at 06:13:19PM -0300, Gustavo Sverzut Barbieri wrote: --- Makefile.am | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8a32880..62cf768 100644 --- a/Makefile.am +++ b/Makefile.am @@ -387,7 +387,6 @@

Re: [systemd-devel] [PATCH] do not install factory/etc/pam.d if --disable-pam

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Sep 25, 2014 at 06:12:03PM -0300, Gustavo Sverzut Barbieri wrote: --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 5312851..52f578b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2050,9 +2050,11 @@ endif dist_factory_etc_DATA

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

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
Applied, with a small change. Zbyszek On Wed, Sep 24, 2014 at 11:59:06PM +1000, Jonathan Liu wrote: 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

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

2014-09-25 Thread Leonid Isaev
Hi, On Wed, Sep 24, 2014 at 08:14:55PM -0700, James Lott wrote: 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

Re: [systemd-devel] [PATCH] only build and install systemd-bus-proxyd if --enable-kdbus

2014-09-25 Thread Michał Bartoszkiewicz
On Thu, Sep 25, 2014 at 11:32 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Applied. Isn't systemd-stdio-bridge used also on non-kdbus systems? -- Michał Bartoszkiewicz mbartoszkiew...@gmail.com ___ systemd-devel mailing list

Re: [systemd-devel] [feature request] allow instances in file.preset

2014-09-25 Thread Damien Robert
Zbigniew Jędrzejewski-Szmek wrote in message 20140925211702.gv29...@in.waw.pl: This seems to be a mis-design. I'm pretty sure we should allow users to set their own presets, so those directories underneath the home dir should be added. Ok great! I'll be happy to provide a patch but I have

Re: [systemd-devel] [PATCH] only build and install systemd-bus-proxyd if --enable-kdbus

2014-09-25 Thread Michael Biebl
2014-09-26 0:28 GMT+02:00 Michał Bartoszkiewicz mbartoszkiew...@gmail.com: On Thu, Sep 25, 2014 at 11:32 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Applied. Isn't systemd-stdio-bridge used also on non-kdbus systems? Yeah. I've had basically prepared a similar patch a few weeks

Re: [systemd-devel] [feature request] allow instances in file.preset

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Sep 25, 2014 at 10:44:35PM +, Damien Robert wrote: Zbigniew Jędrzejewski-Szmek wrote in message 20140925211702.gv29...@in.waw.pl: This seems to be a mis-design. I'm pretty sure we should allow users to set their own presets, so those directories underneath the home dir should

Re: [systemd-devel] [PATCH] only build and install systemd-bus-proxyd if --enable-kdbus

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Sep 26, 2014 at 12:59:29AM +0200, Michael Biebl wrote: 2014-09-26 0:28 GMT+02:00 Michał Bartoszkiewicz mbartoszkiew...@gmail.com: On Thu, Sep 25, 2014 at 11:32 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Applied. Isn't systemd-stdio-bridge used also on non-kdbus

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

2014-09-25 Thread James Lott
Hi Zbyszek, Thanks for all your help! This is a new concept to me though, as I have never tried to refer to a process inside of a container from outside of the container before (I did not realize this was possible). Since specifying PID 1 would obviously be referring to the host system's

Re: [systemd-devel] [feature request] allow instances in file.preset

2014-09-25 Thread Damien Robert
[Resending to the list since I was not posting through gmane but through gmail this time and my post was rejected because I was not subscribed to the list. Sorry for the spam] From Zbigniew Jędrzejewski-Szmek, Fri 26 Sep 2014 at 01:00:11 (+0200) : +

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

2014-09-25 Thread James Lott
Hi Leonid! I asked because you could try and see if networkd can acquire a lease by itself, without dhcpcd (I don't expect it to). Actually, the reason I am using dhcpcd fro mthe command line is as a debugging measure, because I originally setup a .network file for this interface to attempt

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

2014-09-25 Thread James Lott
Shame on me for not spending more time trying to figure this out before responding. Please ignore my previous sad plea for help, I understand fully now exactly what you're saying, and was able to successfully move the phy0 interface into my container. At this point, my challenge is going to be

Re: [systemd-devel] [PATCH v3] systemctl: add add-wants and add-requires verbs

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Sep 25, 2014 at 03:26:45PM +0200, Lukas Nykryn wrote: +static int add_install_dependency(sd_bus *bus, char **args) { +_cleanup_strv_free_ char **names = NULL; +_cleanup_free_ char *target = NULL; +const char *verb = args[0]; +UnitFileInstallDependency

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

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Sep 24, 2014 at 05:25:00PM +0200, Emil Renner Berthing wrote: 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

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

2014-09-25 Thread Leonid Isaev
Hi, On Thu, Sep 25, 2014 at 04:56:55PM -0700, James Lott wrote: Actually, the reason I am using dhcpcd fro mthe command line is as a debugging measure, because I originally setup a .network file for this interface to attempt to allow systemd-networkd to handle acquiring the DHCP lease.

Re: [systemd-devel] [systemd-commits] src/bus-proxyd test/bus-policy

2014-09-25 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Sep 24, 2014 at 08:08:24AM -0700, Daniel Mack wrote: src/bus-proxyd/bus-policy.c | 200 --- src/bus-proxyd/bus-policy.h | 17 +++ src/bus-proxyd/test-bus-policy.c | 92 + test/bus-policy/methods.conf |2 4