networking and lvm mounts
Bug #37216 reported by
IC Raibow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm-common (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
I have /var mounted on LVM. As `S0?loopback' is starting at very before S26lvm and S35mountall, it complains with can't create dir:
[ -d /var/run/network ] || mkdir /var/run/network
So we got here non-working dbus and all that stuff, resulting in veeeeryyy looong logging in process and semi-working dbus-using apps.
Strangely, S40networking borken in right same way.
Solved it by putting "ifdown" right before "ifup" stuff in loopback and networking init scripts. Also moved S0?loopback to S36loopback in /etc/rcS.d/
To post a comment you must log in.
Same problem here, thanks wiz for the tips.
After a basic install I put /var onto a logical volume. Everything's okay, reboot and I just stared stupidly why dnscache went crazy saying there's no loopback interface to bind to. :o
IMHO it was quite a bad idea to mount a tmpfs on /var/run before any filesystem comes up, assuming the whole /var structure is residing on root. Since it's quite common on servers to put everything possible onto separate partitions/LVs, it should be expected that /var is one them. From a security standpoint I don't want the possibilty that logs fill up my root FS.
Oh, BTW and it's on a Kubuntu 6.06LTS install on a dual AMD Opteron box, amd64 architecture.