[Resolvconf-devel] Bug#749405: resolvconf: /etc/resolvconf/run/interface either does not exist or is not a directory
Vincent Smeets
Vincent.VSmeets at GMail.com
Mon May 26 18:55:47 UTC 2014
Package: resolvconf
Version: 1.75
Severity: important
Hallo,
since the update from version 1.74 to 1.75 is the package not correctly
initialized during system startup.
I have also installed the package systemd-sysv and so using the systemd
init system.
After a system startup, I have no resolver. I checked the files and
found that the directory /run/resolvconf is missing.
My analisys shows that the init file /etc/init.d/resolver isn't started
during system startup. That script creates the directory structure in
/run/resolvconf.
I have attached a script output of the commands that shows this error.
It After running the init script myself and then ifdown and ifup, than
the resolver works again.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages resolvconf depends on:
ii debconf [debconf-2.0] 1.5.53
ii ifupdown 0.7.48.1
ii init-system-helpers 1.18
ii initscripts 2.88dsf-53
ii lsb-base 4.1+Debian12
resolvconf recommends no packages.
resolvconf suggests no packages.
-- debconf information:
resolvconf/link-tail-to-original: false
resolvconf/reboot-recommended-after-removal:
resolvconf/linkify-resolvconf: true
resolvconf/downup-interfaces:
-------------- next part --------------
vincent at PC-Vincent:~$ ping www.debian.org
ping: unknown host www.debian.org
vincent at PC-Vincent:~$ /usr/share/resolvconf/dump-debug-info
###### Start of debugging information for resolvconf ######
### ls -l /etc/resolvconf
total 16
-rw-r--r-- 1 root root 481 mei 8 13:58 interface-order
drwxr-xr-x 2 root root 4096 mei 26 20:27 resolv.conf.d
lrwxrwxrwx 1 root root 15 mei 26 20:27 run -> /run/resolvconf
drwxr-xr-x 2 root root 4096 mei 26 20:27 update.d
drwxr-xr-x 2 root root 4096 jan 1 12:56 update-libc.d
### cat /etc/resolvconf/interface-order
# interface-order(5)
lo.inet6
lo.inet
lo.@(dnsmasq|pdnsd)
lo.!(pdns|pdns-recursor)
lo
tun*
tap*
hso*
em+([0-9])?(_+([0-9]))*
p+([0-9])p+([0-9])?(_+([0-9]))*
eth*([^.]).inet6
eth*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
eth*([^.]).inet
eth*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
eth*
@(ath|wifi|wlan)*([^.]).inet6
@(ath|wifi|wlan)*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
@(ath|wifi|wlan)*([^.]).inet
@(ath|wifi|wlan)*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
@(ath|wifi|wlan)*
ppp*
*
### ls -l /etc/resolvconf/resolv.conf.d
total 8
-rw-r--r-- 1 root root 0 mei 8 13:58 base
-rw-r--r-- 1 root root 151 mei 8 13:58 head
-rw-r--r-- 1 root root 47 apr 10 2012 original
-rw-r--r-- 1 root root 0 mei 26 20:27 tail
### cat /etc/resolvconf/resolv.conf.d/base
### cat /etc/resolvconf/resolv.conf.d/head
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
### cat /etc/resolvconf/resolv.conf.d/original
domain lan
search lan
nameserver 192.168.1.254
### cat /etc/resolvconf/resolv.conf.d/tail
### ls -l /etc/resolvconf/run
lrwxrwxrwx 1 root root 15 mei 26 20:27 /etc/resolvconf/run -> /run/resolvconf
### ls -l /run/resolvconf
ls: cannot access /run/resolvconf: No such file or directory
### ls -l /run/resolvconf/interface
ls: cannot access /run/resolvconf/interface: No such file or directory
### ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 31 mei 26 20:27 /etc/resolv.conf -> /etc/resolvconf/run/resolv.conf
### lsattr /etc/resolv.conf
lsattr: Operation not supported While reading flags on /etc/resolv.conf
### cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory
### cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
###### End of debugging information for resolvconf ######
vincent at PC-Vincent:~$ sudo invoke-rc.d resolvconf start
vincent at PC-Vincent:~$ /usr/share/resolvconf/dump-debug-info
###### Start of debugging information for resolvconf ######
### ls -l /etc/resolvconf
total 16
-rw-r--r-- 1 root root 481 mei 8 13:58 interface-order
drwxr-xr-x 2 root root 4096 mei 26 20:27 resolv.conf.d
lrwxrwxrwx 1 root root 15 mei 26 20:27 run -> /run/resolvconf
drwxr-xr-x 2 root root 4096 mei 26 20:27 update.d
drwxr-xr-x 2 root root 4096 jan 1 12:56 update-libc.d
### cat /etc/resolvconf/interface-order
# interface-order(5)
lo.inet6
lo.inet
lo.@(dnsmasq|pdnsd)
lo.!(pdns|pdns-recursor)
lo
tun*
tap*
hso*
em+([0-9])?(_+([0-9]))*
p+([0-9])p+([0-9])?(_+([0-9]))*
eth*([^.]).inet6
eth*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
eth*([^.]).inet
eth*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
eth*
@(ath|wifi|wlan)*([^.]).inet6
@(ath|wifi|wlan)*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
@(ath|wifi|wlan)*([^.]).inet
@(ath|wifi|wlan)*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
@(ath|wifi|wlan)*
ppp*
*
### ls -l /etc/resolvconf/resolv.conf.d
total 8
-rw-r--r-- 1 root root 0 mei 8 13:58 base
-rw-r--r-- 1 root root 151 mei 8 13:58 head
-rw-r--r-- 1 root root 47 apr 10 2012 original
-rw-r--r-- 1 root root 0 mei 26 20:27 tail
### cat /etc/resolvconf/resolv.conf.d/base
### cat /etc/resolvconf/resolv.conf.d/head
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
### cat /etc/resolvconf/resolv.conf.d/original
domain lan
search lan
nameserver 192.168.1.254
### cat /etc/resolvconf/resolv.conf.d/tail
### ls -l /etc/resolvconf/run
lrwxrwxrwx 1 root root 15 mei 26 20:27 /etc/resolvconf/run -> /run/resolvconf
### ls -l /run/resolvconf
total 4
-rw-r--r-- 1 root root 0 mei 26 20:33 enable-updates
drwxr-xr-x 2 root root 40 mei 26 20:33 interface
-rw-r--r-- 1 root root 151 mei 26 20:33 resolv.conf
### cat /run/resolvconf/enable-updates
### cat /run/resolvconf/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
### ls -l /run/resolvconf/interface
total 0
### ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 31 mei 26 20:27 /etc/resolv.conf -> /etc/resolvconf/run/resolv.conf
### lsattr /etc/resolv.conf
lsattr: Operation not supported While reading flags on /etc/resolv.conf
### cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
### cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
###### End of debugging information for resolvconf ######
vincent at PC-Vincent:~$ ping www.debian.org
ping: unknown host www.debian.org
vincent at PC-Vincent:~$ sudo ifdown eth0
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:16:17:6b:8a:4f
Sending on LPF/eth0/00:16:17:6b:8a:4f
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.254 port 67
vincent at PC-Vincent:~$ sudo ifup eth0
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:16:17:6b:8a:4f
Sending on LPF/eth0/00:16:17:6b:8a:4f
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.1.254
DHCPACK from 192.168.1.254
bound to 192.168.1.96 -- renewal in 39451 seconds.
vincent at PC-Vincent:~$ ping www.debian.org
PING www.debian.org (130.89.148.14) 56(84) bytes of data.
64 bytes from klecker4.snt.utwente.nl (130.89.148.14): icmp_seq=1 ttl=56 time=31.1 ms
64 bytes from klecker4.snt.utwente.nl (130.89.148.14): icmp_seq=2 ttl=56 time=29.6 ms
64 bytes from klecker4.snt.utwente.nl (130.89.148.14): icmp_seq=3 ttl=56 time=29.7 ms
^C
--- www.debian.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 29.669/30.181/31.125/0.682 ms
More information about the Resolvconf-devel
mailing list