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

Bug#787617: live-build: changes to network/interfaces during chroot stage do not hold



Package: live-build
Version: 5.0~a8-1
Severity: normal



-- Package-specific info:

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages live-build depends on:
ii  debootstrap  1.0.70

Versions of packages live-build recommends:
ii  apt-utils                       1.0.9.10
ii  cpio                            2.11+dfsg-4.1
ii  live-boot-doc                   5.0~a4-1
ii  live-config-doc                 5.0~a3-1
ii  live-manual-html [live-manual]  1:5.0~a1-1
ii  wget                            1.16.3-2

Versions of packages live-build suggests:
ii  debian-keyring  2015.05.17
ii  gpgv            1.4.19-2

-- no debconf information

when i make changes to the /etc/network/interfaces file 
using hook.chroot files the changes ARE effcted but are 
overwritten at some point during the boot into live.

when i mount up the iso image an look at the interfaces file it looks
(correctly) like the following:
--------------------------------
cat interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto eth0
allow-hotplug eth0
iface eth0 dhcp
    pre-up /root/scripts/firewall-up.sh
    post-up /root/scripts/netprocess.sh

--------------------------------

but if i boot this image it ends up like this:
--------------------------------
cat interfaces

auto lo
iface lo inet loopback

--------------------------------

if i make the desired changes to the interfaces file and then do a
live-install the changes are transferred to the new installation as
expected.


Reply to: