← Back to team overview

touch-packages team mailing list archive

[Bug 1535665] [NEW] ifup no taking up bridge at boot time

 

Public bug reported:

Hi,

I have a

source interfaces.d/vlan0
 
in my /etc/network/interfaces, and in that vlan0 file

auto vlan0
iface vlan0 inet static
      bridge_ports none
      bridge_fd    0
      bridge_stp   off
      address      192.168.200.1
      netmask      255.255.255.0
      up           iptables -I INPUT   -j ACCEPT -i $IFACE
      up           iptables -I FORWARD -j ACCEPT -i $IFACE
      up           iptables -I FORWARD -j ACCEPT -o $IFACE
      up           dnsmasq --pid-file=/var/run/dnsmasq.$IFACE.pid --except-interface=lo --interface=$IFACE --bind-interfaces --dhcp-range=192.168.200.100,192.168.200.250 --dhcp-boot=/pxelinux.0,192.168.200.1 --enable-tftp --tftp-root=/var/lib/tftpboot
      down         kill `cat /var/run/dnsmasq.$IFACE.pid`


Seems to be straightforward , and works correctly if I call   ifup vlan0 from the command line.

However, the bridge interface is not created within the boot process. I
have to call it manually every time.

Seems to be related to #1535648  ifquery/ifup crashing, which happens
even without the usb device mentioned there and might be the reason,
i.e. crash when trying to create this interface.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: ifupdown 0.7.54ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
Uname: Linux 4.2.0-23-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Tue Jan 19 12:09:54 2016
InstallationDate: Installed on 2015-09-03 (137 days ago)
InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150825)
SourcePackage: ifupdown
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ifupdown (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug wily

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1535665

Title:
  ifup no taking up bridge at boot time

Status in ifupdown package in Ubuntu:
  New

Bug description:
  Hi,

  I have a

  source interfaces.d/vlan0
   
  in my /etc/network/interfaces, and in that vlan0 file

  auto vlan0
  iface vlan0 inet static
        bridge_ports none
        bridge_fd    0
        bridge_stp   off
        address      192.168.200.1
        netmask      255.255.255.0
        up           iptables -I INPUT   -j ACCEPT -i $IFACE
        up           iptables -I FORWARD -j ACCEPT -i $IFACE
        up           iptables -I FORWARD -j ACCEPT -o $IFACE
        up           dnsmasq --pid-file=/var/run/dnsmasq.$IFACE.pid --except-interface=lo --interface=$IFACE --bind-interfaces --dhcp-range=192.168.200.100,192.168.200.250 --dhcp-boot=/pxelinux.0,192.168.200.1 --enable-tftp --tftp-root=/var/lib/tftpboot
        down         kill `cat /var/run/dnsmasq.$IFACE.pid`

  
  Seems to be straightforward , and works correctly if I call   ifup vlan0 from the command line.

  However, the bridge interface is not created within the boot process.
  I have to call it manually every time.

  Seems to be related to #1535648  ifquery/ifup crashing, which happens
  even without the usb device mentioned there and might be the reason,
  i.e. crash when trying to create this interface.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: ifupdown 0.7.54ubuntu1
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Tue Jan 19 12:09:54 2016
  InstallationDate: Installed on 2015-09-03 (137 days ago)
  InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150825)
  SourcePackage: ifupdown
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1535665/+subscriptions