lp:~smoser/ubuntu/oneiric/ifupdown/lp838968
- Get this branch:
- bzr branch lp:~smoser/ubuntu/oneiric/ifupdown/lp838968
Branch merges
- Steve Langasek: Approve
- Ubuntu branches: Pending requested
-
Diff: 86 lines (+27/-14)3 files modifieddebian/changelog (+12/-0)
debian/ifupdown.upstart.if-up (+14/-13)
ifupdown.nw (+1/-1)
Related bugs
Related blueprints
Branch information
- Owner:
- Scott Moser
- Status:
- Development
Recent revisions
- 64. By Scott Moser
-
address slangasek's objections to code restructuring.
* remove the 'mkdir', parent dir must now exist.
(it will in the case of /run/network)
* do not use global _RET, but write list of interfaces
to stdout in get_auto_interfaces. - 62. By Scott Moser
-
changes in response to Steve's comments
* do not use 'date' (save a fork)
* simplify use of 'all_interfaces_up' by having it get the list of all
auto interfaces
* only fork to mkdir for parent dir of MARK_STATIC_NETWORK_ EMITTED if
it is not a direct subdir of /var/run. - 61. By Scott Moser
-
The change for '-1' is only made for 'dchlient3', not dhclient
changelog message indicated '-1' would be for dhclient, but
the change was only made for dhclient3. I wasn't positive if something
that was 'dhclient' only would have a '-1' option or not.back to lucid we have a 'dhclient3' binary available whose
help mentions the '-1' flag, so I think this is reasonable. - 60. By Scott Moser
-
* invoke dhclient with '-1', meaning it should exit failure if it does
not receive a response in 60 seconds. (LP: #838968)
* fix the broken static-network- up-emitted event. This now keeps
state of which interfaces have been brought up by marker files
in /run/network named ifup.IFACE and a directory named
static-network- up-emitted indicating static-network-up has been
emitted. - 59. By Scott Moser
-
fix inconsistent use of prefix resulting in bad names
sometimes I was using "prefix.iface". other times "${prefix}$iface"
MARK_DEV_PREFIX must have a trailing '.'. Nothing other than the IFACE
will be appended. - 57. By Scott Moser
-
ifupdown.
upstart. if-up: do not use /var/run/ network/ ifstate Previously, we expected that /var/run/
network/ ifstate would contain
only interfaces that had been brought up.That is not the case. It contains interfaces that are being brought up.
Essentially it will contain an interface immediately after 'ifup IFACE"
is invoked.So, instead, we use /var/run to manage our own files indicating that
"this interface has been brought up once this boot"
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/oneiric/ifupdown