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

2014-09-25 Thread Tom Gundersen
On Thu, Sep 25, 2014 at 6:40 PM, Pacho Ramos wrote: > El jue, 25-09-2014 a las 16:44 +0200, Tom Gundersen escribió: >> On Thu, Aug 14, 2014 at 7:16 PM, Lennart Poettering >> wrote: >> > So, I think with the release after the upcoming one we should just >> > remove it from the systemd package and

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

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] [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] [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]; > +UnitFileInstallDependen

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] 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] [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) : > > + > > $XDG_CONFIG_HOME/systemd

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 init

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 : > > On Thu, Sep 25, 2014 at 11:32 PM, Zbigniew Jędrzejewski-Szmek > > wrote: > >> Applied. > > > > Isn't systemd-stdio-bridge used also on non-kdbus systems? > > Yeah. I've had basic

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 > > di

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 : > On Thu, Sep 25, 2014 at 11:32 PM, Zbigniew Jędrzejewski-Szmek > 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 ago when I realized that it's also us

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 Michał Bartoszkiewicz
On Thu, Sep 25, 2014 at 11:32 PM, Zbigniew Jędrzejewski-Szmek wrote: > Applied. Isn't systemd-stdio-bridge used also on non-kdbus systems? -- Michał Bartoszkiewicz ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedes

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 servic

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 a/src/journal-remot

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

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 @@ root

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 > --- a/src/journal/journal

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.

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 : > > 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

[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 \ systemd-sle

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

2014-09-25 Thread Gustavo Sverzut Barbieri
etc.conf was selectively (using m4) using resolved link, now this is moved to systemd-resolved.conf file. The etc.conf can be static and does not need to be generated anymore. systemd.conf was doing all the journal setup, now this is moved to systemd-journald.conf file. systemd-remote.conf was re

[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 + sysusers.d/systemd-journal-upload.conf

[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 = \

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

[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] [feature request] allow instances in file.preset

2014-09-25 Thread Damien Robert
Damien Robert wrote in message : > 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 in user folders: $XDG

[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

[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] Name=en

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 --netw

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 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 > > Unfortunately I'm having some trouble trying to figure out the network

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

2014-09-25 Thread James Lott
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 Unfortunately I'm having some trouble trying to figure out the network namespace PID to assign the phy0 interface to. Although I defini

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

2014-09-25 Thread Pacho Ramos
El jue, 25-09-2014 a las 16:44 +0200, Tom Gundersen escribió: > On Thu, Aug 14, 2014 at 7:16 PM, Lennart Poettering > 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,

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

2014-09-25 Thread Daurnimator
On 25 September 2014 10:44, Tom Gundersen wrote: > I pushed the patch deleting it. Please ensure http://www.freedesktop.org/software/systemd/man/sd-readahead.html is updated ASAP with a deprecation note. ___ systemd-devel mailing list systemd-devel@li

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

2014-09-25 Thread Kay Sievers
On Thu, Sep 25, 2014 at 1:57 PM, Tomas Henzl wrote: > On 09/24/2014 05:03 PM, Kay Sievers wrote: Simple as: Don't add new features to systemd/udev, only fix bugs. > > The by-path has been part of udev for a long time, the users of this > feature are from the same camp as the users of the, >

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 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 > happening... > > (Well, u

[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 ++--- src/core/org.freede

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

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 SCS

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

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

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

2014-09-25 Thread Jan Synacek
Zbigniew Jędrzejewski-Szmek 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 and be more

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 > > ++