Re: [systemd-devel] Masking .network files

2014-04-19 Thread Tom Gundersen
On Fri, Apr 11, 2014 at 2:56 AM, Lennart Poettering wrote: > On Sat, 05.04.14 11:26, Tom Gundersen (t...@jklm.no) wrote: > >> >> On Sat, Apr 5, 2014 at 12:43 AM, Leonid Isaev wrote: >> > I seem to have a strange issue with the way networkd processes its >> > configuration files. The machi

Re: [systemd-devel] Masking .network files

2014-04-10 Thread Lennart Poettering
On Sat, 05.04.14 11:26, Tom Gundersen (t...@jklm.no) wrote: > > On Sat, Apr 5, 2014 at 12:43 AM, Leonid Isaev wrote: > > I seem to have a strange issue with the way networkd processes its > > configuration files. The machine is actually a systemd-nspawn container with > > a static IP add

Re: [systemd-devel] Masking .network files

2014-04-06 Thread Tom Gundersen
On Sun, Apr 6, 2014 at 3:25 AM, Leonid Isaev wrote: > On Sun, 6 Apr 2014 01:12:45 +0200 > Tom Gundersen wrote: > >> So in general "masking" .network files (in the sense applied to unit >> files) does not make much sense, and will probably not behave as you >> would expect from knowing unit files.

Re: [systemd-devel] Masking .network files

2014-04-05 Thread Leonid Isaev
On Sun, 6 Apr 2014 01:12:45 +0200 Tom Gundersen wrote: > So in general "masking" .network files (in the sense applied to unit > files) does not make much sense, and will probably not behave as you > would expect from knowing unit files. We may very well want to change > this in networkd, but need

Re: [systemd-devel] Masking .network files

2014-04-05 Thread Tom Gundersen
On Sat, Apr 5, 2014 at 5:06 PM, Leonid Isaev wrote: > Hi, > > On Sat, 5 Apr 2014 11:26:17 +0200 > Tom Gundersen wrote: > >> On Sat, Apr 5, 2014 at 12:43 AM, Leonid Isaev wrote: >> > I seem to have a strange issue with the way networkd processes its >> > configuration files. The machine i

Re: [systemd-devel] Masking .network files

2014-04-05 Thread Leonid Isaev
Hi, On Sat, 5 Apr 2014 11:26:17 +0200 Tom Gundersen wrote: > On Sat, Apr 5, 2014 at 12:43 AM, Leonid Isaev wrote: > > I seem to have a strange issue with the way networkd processes its > > configuration files. The machine is actually a systemd-nspawn container > > with a static IP addre

Re: [systemd-devel] Masking .network files

2014-04-05 Thread Tom Gundersen
On Sat, Apr 5, 2014 at 11:39 AM, Samuli Suominen wrote: > On 05/04/14 12:26, Tom Gundersen wrote: >> matching file will be applied. The 'masking' logic that you know from >> unit files does not really make much sense for .network files (but >> maybe this is something we should change...). Symlinks

Re: [systemd-devel] Masking .network files

2014-04-05 Thread Samuli Suominen
On 05/04/14 12:26, Tom Gundersen wrote: > matching file will be applied. The 'masking' logic that you know from > unit files does not really make much sense for .network files (but > maybe this is something we should change...). Symlinks to /dev/null > are just treated as empty .network files, so t

Re: [systemd-devel] Masking .network files

2014-04-05 Thread Tom Gundersen
On Sat, Apr 5, 2014 at 12:43 AM, Leonid Isaev wrote: > I seem to have a strange issue with the way networkd processes its > configuration files. The machine is actually a systemd-nspawn container with > a static IP address, so I had to mask the default 80-container-host0.network > and crea

[systemd-devel] Masking .network files

2014-04-04 Thread Leonid Isaev
Hi, I seem to have a strange issue with the way networkd processes its configuration files. The machine is actually a systemd-nspawn container with a static IP address, so I had to mask the default 80-container-host0.network and create a custom config. Both real and virtual machines are up