Further changes from your patch:
* I removed the creation of directories directly under /etc/resolvconf. Those won't be writable at boot time and have no merit.
* Killed off the whole /proc/mounts parsing. We know /var/run is on tmpfs after the next reboot.
* Try to keep resolvconf alive until reboot by placing a symlink to the old /dev/shm location.
If you don't have any objections, I think we can commit this.
Further changes from your patch:
* I removed the creation of directories directly under /etc/resolvconf. Those won't be writable at boot time and have no merit.
* Killed off the whole /proc/mounts parsing. We know /var/run is on tmpfs after the next reboot.
* Try to keep resolvconf alive until reboot by placing a symlink to the old /dev/shm location.
If you don't have any objections, I think we can commit this.