netscript-2.4-upstart runs with read-only root: dhcp and wpa broken

Bug #1102182 reported by Arunas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ifupdown (Ubuntu)
New
Undecided
Unassigned

Bug Description

network-interface.conf handles new network interfaces. Unfortunately, at boot it is called while the root system is still read-only.
Not to mention the command "mkdir -p /run/network" that is not going to work with ro root, dhcpclient cannot write leases and fails. Static address is still somehow succeeding. wpasupplicant does not work either.
Not understanding upstart structure well enough (are there dependency graph visualisation tools?), I have just added
"mount -orw,remount /" before the "mkdir" command. This fixed the network interface configuration at boot.
I know this will interfere with fsck.
Surely there are better ways to fix it...please? I see a lot of dumbfounded folk scratching their heads why simple /etc/network/interfaces configuration does not work.

Revision history for this message
Arunas (aris020) wrote :

the file /etc/init/network-interface.conf actually comes from ifupdown package, not network-upstart as implied in the title.

affects: ubuntu → ifupdown (Ubuntu)
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.