if-pre-up.d script points to script in /usr

Bug #483427 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bridge-utils (Debian)
Fix Released
Unknown
bridge-utils (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: bridge-utils

$ ls -l /etc/network/if-pre-up.d/bridge
lrwxrwxrwx 1 root root 35 2009-07-25 08:04 /etc/network/if-pre-up.d/bridge -> /usr/share/bridge-utils/ifupdown.sh

If /usr is a separate partition (on NFS, but possibly otherwise), it won't be mounted when the kernel initializes a network interface. In this case, /etc/network/if-pre-up.d/bridge then becomes a dangling symlink and the ifupdown script not run. wpasupplicant had a similar problem and solved this by putting its if-pre-up.d file in /etc.

Revision history for this message
Chuck Short (zulcss) wrote :

I agree this should be fixed for lucid.

Regards
chuck

Changed in bridge-utils (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in bridge-utils (Debian):
status: Unknown → New
Revision history for this message
Santiago Garcia Mantinan (manty) wrote :

Note for the Maintainer: This is fixed on Debian's 1.5-1

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bridge-utils - 1.5-2ubuntu1

---------------
bridge-utils (1.5-2ubuntu1) oneiric; urgency=low

  * Merge from Debian unstable (LP: #483427, LP: #377474). Remaining changes:
    - Add an upstart job which triggers on each net-device-added event, to
      see whether we need to add this to a bridge.
  * Changes merged in Debian:
    - debian/rules, debian/bridge-utils.sh, debian/dirs, debian/ifupdown.sh:
      factor out the parsing of bridge_ports into a reusable shell library.
  * Replace the upstart job with a udev rule instead; thanks to Manty for
    the suggestion.

bridge-utils (1.5-2) unstable; urgency=low

  * Include Ubuntu's patch to factor out parsing of bridge_ports into
    a reusable shell library.

bridge-utils (1.5-1) unstable; urgency=low

  * New upstream version. Closes: #611761.
  * Relocate ifupdown.sh to /lib/bridge-utils and brctl to /sbin.
    Closes: #569350.
  * Removed SMPNOTES, upstream updated FIREWALL. Closes: #518649.
  * Removed the 30 seconds wait. Closes: #549696.
  * Only suggest ifupdown. Closes: #595115.
  * Remove the versioning from the description. Closes: #595116.
  * Disable ipv6 on the interfaces of the bridge. Closes: #607741.
  * On newer kernels we wait only till we forward. Closes: #549696.
  * Use sleep 0.1 (0.01 was too much), thanks Mikhail. Closes: #572835.
  * Set ret to -1 on errno to avoid returning 0. Closes: #574363.
  * Fix manpage setageing explanation. Closes: #523141.
  * Make it lintian clean again.
 -- Steve Langasek <email address hidden> Sun, 08 May 2011 23:02:24 +0200

Changed in bridge-utils (Ubuntu):
status: Triaged → Fix Released
Changed in bridge-utils (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.