lp:ubuntu/quantal/ifupdown-extra

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/quantal/ifupdown-extra
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Status:
Mature

Recent revisions

11. By Javier Fernández-Sanguino

[ Javier Fernández-Sanguino Peña ]
* if-up-scripts/check-duplicate-ip:
   - Do not pass aliased interface information to arping since it cannot
     handle it properly (Closes: #644891)
* Handle the configuration file through the use of dpkg-maintscript-helper
  instead of moving it directly to prevent dpkg from raising a conffile
  change prompt on upgrades even if the user has not made any
  changes.

10. By Javier Fernández-Sanguino

* Fix argument passing in function (Closes: #641312)
* if-up-scripts/check-network-cable:
  - Do not run the 'ip' tool until we have verified that it is
  available
* debian/source/lintian-overrides: Add overrides for lintian, required
  since debian/changelog is in UTF-8 format but debian/control is not

9. By Javier Fernández-Sanguino

* if-up-scripts/check-gateway,if-up-scripts/check-network-cable,scripts/network-test:
  Make dash happy by declaring the local variables at the beginning of each
  function (Closes: #639889)
* if-up-scripts/check-network-cable:
   - Do not use ethtool or mii-tool if we are not running as root
* if-up-scripts/check-duplicate-ip,if-up-scripts/check-gateway,if-up-scripts/check-network-cable,scripts/network-test:
   Proper quoting of shell-escaped variables

8. By Javier Fernández-Sanguino

* debian/control: Fix url in Vcs-git
* scripts/network-test:
  - Handle interfaces reported by 'ip' as being subinterfaces of others
    (such as the case of VLAN interfaces). (Closes: #636474)
  - Better handle the case when some of the tools used fail to work
  - Separate specific check for the default route and its router(s)
  - Do not test the loopback interface twice
  - Better detection for 'DOWN' interfaces through 'ip'
* scripts/network-test.1: Improve the manpage with more documentation
  of how it works
* if-up-scripts/check-network-cable: Use 'ip link' if neither
  ethtool no mii-tool are available and try to handle some of the
  cases ip link nows about. Although it might not be as reliable
  as the others (Closes: #630137)
* debian/ifupdown-extra.preinst: Add debhelper token, as required
* debian/compat, debian/rules: Switch over to use debhelper version 7
  which bastly simplifies debian/rules and also fixes many lintian
  warnings.
* debian/control:
    - Depend on debhelper v7
    - Update Standards Version to 3.9.2 (no changes needed)

7. By Javier Fernández-Sanguino

* debian/control: Advertise that now sources are available in collab-maint.
* if-up-scripts/static-routes: Be more strict when looking for
  interfaces in the configuration file to avoid matching interfaces
  with similar names.
* if-up-scripts/check-gateway: ajust how the ethtool binary alternative
  location is found

6. By Javier Fernández-Sanguino

Move the network-cable test from /etc/network/if-pre-up.d/ to
/etc/network/if-up.d/ so that it can behave properly and warn the sysadmin
once the network cable is up.

5. By Javier Fernández-Sanguino

* if-up-scripts/check-duplicate-ip:
  - Location of ethtool has changed: adjust to the new location but fallback
    to the old one if it is still there.
  - Make it possible to use arping's arping which: is located in another
    directory, interprets parameters differently and does not support -q.
  Thanks to Cristian Ionescu-Idbohrn for bringing up this issue
  and providing a patch which I base the changes on (Closes: #614056)
  - Do not try to determine the ip address for interfaces we are not goint
    to arping to.
  - Add some warnings for unexpected events that prevent the script
    from working.
* if-up-scripts/check-network-cable: Location of ethtool has changed,
  adjust to the new location but fallback to the old one if it is
  still there.

4. By Javier Fernández-Sanguino

* if-up-scripts/static-routes:
    - Fix typo that prevent the script from adding routes as it expected them
      to have 'reject' when they shouldn't. Thanks to Mathieu Parent and
      to Petru Ratiu for the patches. (Closes: #613632, #458395) (LP: #631533)
* scripts/network-test:
    - Fix call to mktemp to use --tmpdir so that the script does not break if
      run in a non-writable directory (Closes: #541619)
    - Trap interrupts and abort under some circunstances, such as a
      Ctrl+C (LP: #450753)
* debian/ifupdown-extra.preinst: Rename the /etc/network/network-routes
  config file to /etc/network/routes (Closes: #611982)
* if-up-scripts/check-network-cable: Make the script work when bonding
  interfaces are used, using a patch provided by Ohad Lutzky (Closes: #574333)
* [NEW] debian/ifupdown-extra.networking-routes.init: New init.d script
  to install global static networking routes which cannot be associated
  with any interface. This is useful for admins that want to share
  the configuration file /etc/network/routes through different systems
  in which the interface name changes or for 'reject' routes.
  (Closes: #458395)
* debian/rules:
    - Fix installation of the network-routes sample configuration file so
      that it is installed where it should be (/etc/network/routes instead of
      /etc/network/network-routes) (Closes: #611982)
    - Install the new debian/ifupdown-extra.networking-routes.init as an
      init.d script running at 'S' runlevel right after the 'networking'
      script provided by netbase.
* debian/TODO: An item was already done.
* debian/control: Adapt description to indicate the new features included
  in the package.
[ Lintian fixes ]
* debian/copyright:
   - Add proper copyright notice and use UTF-8 to put in my full name.
   - Indicate the copyright of code reused from SuSE's sysconfig
* debian/control: Depend on 'iputils-ping | ping' instead of just ping

3. By Javier Fernández-Sanguino

* Apply a patch provided by Guillem Jover to make check-duplicate-ip work
  with interfaces with multiple interfaces (Closes: 507949)
* Change handling of default values so that the environment variables
  are honored if set with patch provided by Osamu Aoki (Closes: 464715)
* Change if-up-scripts/static-routes so that it complains if a line in
  /etc/network/static-routes is not defined as expected.

2. By Javier Fernández-Sanguino

Fix syntax error in the static-routes script and clarify a comment
when exiting as soon as we find that there is no
/etc/network/network-routes file (Closes: 496600)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/raring/ifupdown-extra
This branch contains Public information 
Everyone can see this information.

Subscribers