[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#770078: ifupdown: interfaces(5) falsely claims that interfaces.d is included by default on new installs



Andrew Shadura <andrew@shadura.me> (2014-11-22):
> Hello,
> 
> On Tue, 18 Nov 2014 11:15:00 -0700
> Peter Karbaliotis <peter.karbaliotis@gmail.com> wrote:
> 
> > The interfaces(5) man page claims:
> >   By  default,  on a freshly installed Debian system, the interfaces
> > file includes a line to source /etc/network/interfaces.d directory.
> > but on two new jessie installs there is no 'source-directory
> > interfaces.d' stanza.
> 
> I guess this is something that should be done by the Debian installer,
> as there's a code in package's postinst which installs the
> correct /etc/network/interfaces file if it doesn't exist, so I guess
> it's never being run as the file has already been generated.

You probably want to look at debcheckout netcfg; write_interface.c is
most likely the interesting one, along with base-installer.d/40netcfg
and finish-install.d/55netcfg-copy-config which you may want to check
as well since they toy with/copy around /e/n/i.

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: