Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-28 Thread David Wright
On Sun 26 Aug 2018 at 21:36:30 (+0300), Martin T wrote: > Hi David, > > > You need to post your evidence, starting with your /etc/network/interfaces > > file. You say you're using ifup, so we can perhaps discount this paragraph: > > > >Currently, "source-directory" isn't supported by > >

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-27 Thread Reco
Hi. On Mon, Aug 27, 2018 at 11:46:37AM -0500, David Wright wrote: > On Mon 27 Aug 2018 at 19:24:01 (+0300), Reco wrote: > > Hi. > > > > On Mon, Aug 27, 2018 at 12:01:23PM -0400, Greg Wooledge wrote: > > > On Mon, Aug 27, 2018 at 06:41:25PM +0300, Reco wrote: > > > > Last sentence

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-27 Thread David Wright
On Mon 27 Aug 2018 at 19:24:01 (+0300), Reco wrote: > Hi. > > On Mon, Aug 27, 2018 at 12:01:23PM -0400, Greg Wooledge wrote: > > On Mon, Aug 27, 2018 at 06:41:25PM +0300, Reco wrote: > > > Last sentence says to me that wordexp output should be always sorted. > > > > This only tells us that

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-27 Thread Reco
Hi. On Mon, Aug 27, 2018 at 12:01:23PM -0400, Greg Wooledge wrote: > On Mon, Aug 27, 2018 at 06:41:25PM +0300, Reco wrote: > > Last sentence says to me that wordexp output should be always sorted. > > This only tells us that it *reads* the config files in glob-sorted order. > And peeking

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-27 Thread Greg Wooledge
On Mon, Aug 27, 2018 at 06:41:25PM +0300, Reco wrote: > Last sentence says to me that wordexp output should be always sorted. This only tells us that it *reads* the config files in glob-sorted order. And peeking into the actual source code of ifupdown, yes, it appears to do this. (File config.c

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-27 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 27, 2018 at 06:41:25PM +0300, Reco wrote: [...] > Assuming that glibc stays true to POSIX, 2001 standard - [1] says that: > > The wordexp() function [...] The words shall be in order as described > in the Shell and Utilities volume of

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-27 Thread Reco
Hi. On Mon, Aug 27, 2018 at 04:49:06PM +0200, to...@tuxteam.de wrote: > On Mon, Aug 27, 2018 at 04:32:26PM +0300, Reco wrote: > > Hi. > > > > On Mon, Aug 27, 2018 at 09:08:19AM -0400, Greg Wooledge wrote: > > > > Hm. Interfaces man page refers to wordexp(3), but this one doesn't say

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-27 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 27, 2018 at 04:32:26PM +0300, Reco wrote: > Hi. > > On Mon, Aug 27, 2018 at 09:08:19AM -0400, Greg Wooledge wrote: > > > Hm. Interfaces man page refers to wordexp(3), but this one doesn't say > > > anything about sorted results > >

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-27 Thread Reco
Hi. On Mon, Aug 27, 2018 at 09:08:19AM -0400, Greg Wooledge wrote: > > Hm. Interfaces man page refers to wordexp(3), but this one doesn't say > > anything about sorted results > > In the absence of such information, the best thing to conclude is that > the order is unspecified. It may

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-27 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 27, 2018 at 09:08:19AM -0400, Greg Wooledge wrote: > On Mon, Aug 27, 2018 at 10:18:29AM +0200, to...@tuxteam.de wrote: > > On Sun, Aug 26, 2018 at 09:36:30PM +0300, Martin T wrote: > > > I'm using "source": > > > > Wait a sec... this is

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-27 Thread Greg Wooledge
On Mon, Aug 27, 2018 at 10:18:29AM +0200, to...@tuxteam.de wrote: > On Sun, Aug 26, 2018 at 09:36:30PM +0300, Martin T wrote: > > I'm using "source": > > Wait a sec... this is not run-parts, then, but the shell builtin 'source' > you are using, like in: > > > source /etc/network/interfaces.d/*

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-27 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 26, 2018 at 09:36:30PM +0300, Martin T wrote: > Hi David, > > > You need to post your evidence, starting with your /etc/network/interfaces > > file. You say you're using ifup, so we can perhaps discount this paragraph: > > > >

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-26 Thread Zenaan Harkness
On Sun, Aug 26, 2018 at 09:36:30PM +0300, Martin T wrote: > Hi David, > > > You need to post your evidence, starting with your /etc/network/interfaces > > file. You say you're using ifup, so we can perhaps discount this paragraph: > > > >Currently, "source-directory" isn't supported by >

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-26 Thread Martin T
Hi David, > You need to post your evidence, starting with your /etc/network/interfaces > file. You say you're using ifup, so we can perhaps discount this paragraph: > >Currently, "source-directory" isn't supported by >network-manager and guessnet. > > but we don't know whether

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-26 Thread David Wright
On Sun 26 Aug 2018 at 15:41:05 (+0300), Martin T wrote: > On Thu, Aug 23, 2018 at 6:04 PM wrote: > > On Thu, Aug 23, 2018 at 05:31:57PM +0300, Martin T wrote: > > > According to "man interfaces", the ifup brings the named interfaces up > > > in the order listed in /etc/network/interfaces file.

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-26 Thread Martin T
On Thu, Aug 23, 2018 at 6:04 PM wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, Aug 23, 2018 at 05:31:57PM +0300, Martin T wrote: > > Hi! > > > > According to "man interfaces", the ifup brings the named interfaces up > > in the order listed in /etc/network/interfaces file.

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Aug 23, 2018 at 05:31:57PM +0300, Martin T wrote: > Hi! > > According to "man interfaces", the ifup brings the named interfaces up > in the order listed in /etc/network/interfaces file. However, what is > the order for files in

processing order for configuration files in /etc/network/interfaces.d

2018-08-23 Thread Martin T
Hi! According to "man interfaces", the ifup brings the named interfaces up in the order listed in /etc/network/interfaces file. However, what is the order for files in /etc/network/interfaces.d/? Alphabetical, i.e same as "ls -l /etc/network/interfaces.d/"? thanks, Martin