[karmic] resolvconf not started at system boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
resolvconf (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
resolvconf is not started at boot, the init.d script is only run when booting to single user mode. This becomes a problem when /var/run is a tmpfs filesystem, since /var/run/resolvconf is created by the init.d start script. If this dir is missing then my network doesn't come up properly. See this interfaces file config:
iface home-fixed inet static
test peer address 192.168.1.1 mac 00:60:4C:CC:86:39 source 192.168.1.14
address 192.168.1.14
netmask 255.255.255.0
gateway 192.168.1.1
dns-domain opperschaap.net
dns-search opperschaap.net euronet.nl wanadoo.nl online.nl
dns-nameservers 194.134.5.5 194.134.0.97
metric 1
$ sudo aptitude install resolvconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
resolvconf
0 packages upgraded, 1 newly installed, 0 to remove and 40 not upgraded.
Need to get 0B/55.2kB of archives. After unpacking 274kB will be used.
Writing extended state information... Done
Preconfiguring packages ...
Selecting previously deselected package resolvconf.
(Reading database ... 203636 files and directories currently installed.)
Unpacking resolvconf (from .../resolvconf_
Processing triggers for man-db ...
Setting up resolvconf (1.44ubuntu1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
/home/wesleys/
lrwxrwxrwx 1 root root 20 2009-08-27 20:33 /etc/rcS.
The issue can be fixed by running:
sudo ln -s /etc/init.
resolvconf:
Installed: 1.44ubuntu1
Candidate: 1.44ubuntu1
Version table:
*** 1.44ubuntu1 0
500 http://
100 /var/lib/
Linux eniac 2.6.31-6-generic #26-Ubuntu SMP Fri Aug 21 17:48:16 UTC 2009 i686 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu karmic (development branch)
Release: 9.10
Codename: karmic
Changed in resolvconf (Ubuntu): | |
status: | New → Invalid |
Changed in resolvconf (Ubuntu): | |
status: | Invalid → New |
status: | New → Confirmed |
I think you have slightly misdiagnosed the problem. /etc/rcS.d/* are run in all runlevels, not just single user mode. (Single user mode runs /etc/rcS.d/* and /etc/rc1.d/*; multiuser mode runs /etc/rcS.d/* and /etc/rc2.d/*.)
However, you seem to have the same symptoms as bug 448095, which is caused because resolvconf starts after ifupdown. I will mark this as a duplicate for now.