← Back to team overview

touch-packages team mailing list archive

[Bug 1164879] Re: Network Manager IPv6+IPv4 and if-up.d scripts

 

Also seeing this on Ubuntu 14.04. Mixed network, have an if-up.d script
to restart minidlna - but sometimes it gets restarted after an IPv6
address has been obtained but before an IPv4 address is configured.

** Also affects: network-manager
   Importance: Undecided
       Status: New

** Also affects: network-manager (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  Network Manager IPv6+IPv4 and if-up.d scripts

Status in The Linux Mint Distribution:
  New
Status in NetworkManager:
  New
Status in “network-manager” package in Ubuntu:
  New

Bug description:
  I've several scripts which runs when my interface is brought up/down. Depending on the network my laptop is connected to, it starts/applys different settings. This scripts are located in /etc/network/{if-up.d,if-post-down.d}.
  Recently we have implemented IPv6 in our company and I've noticed that the scripts topped to work.
  Investigating, I've found that a IPv6 is configured automatically first and later eth0 receives IPv4 address, but this time the scripts are not called again.
  So, the problem is when the script runs, we don't have IPv4 adress yet, and when we receive IPv4 address, the scripts are not called again.
  And this is not an expected behaviour.

  As a workarround, I've set to ignore "IPv6" in a network manager. But
  this problem may affect all the scripts located in /etc/network/if-
  up.d/, such as "000resolvconf avahi-autoipd  avahi-daemon  ntpdate
  openssh-server  samba  upstart  wpasupplicant", not only my homemade
  scritps.

  Step to reproduce the problem:
  1. Get the mixed environment (IPv6/IPv4), with a DHCP for IPv4 and auto-configuration for IPv6. The IPv4 DHCP server is slower than IPv6 configuration.
  2. Allow the Network manager to connect.
  3. The scripts only will run once, when IPv6 address wil lbe received (Or I suppouse if IPv4 is faster, then only when IPv4 address is received, but not tested).

  My Linuxmint version:
  lsb_release -a
  No LSB modules are available.
  Distributor ID:	LinuxMint
  Description:	Linux Mint 14 Nadia
  Release:	14
  Codename:	nadia

  Thanks in advance

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1164879/+subscriptions