[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#818279: openresolv: resolvconf incorrectly removes spaces between multiple domain names in search_domains



Package: openresolv
Version: 3.7.3-1
Severity: normal

Dear Maintainer,

with the most recent version of openresolv a new bug was introduced.  I have
search_domains="oa-cagliari.inaf.it dsf.unica.it ca.infn.it " in my
resolvconf.conf file, and this used to work flawlessly previously. With the
latest release, however, the contents of $search_domains are internally
run through the strip_trailing_dots() function before going to the generated
resolv.conf file, and in this process spaces separating domains are lost,
with the final resolv.conf line reading like
search oa-cagliari.inaf.itdsf.unica.itca.infn.it irap.omp.eu
You see that the contents of $search_domains are useless because of missing 
spaces, while the local domain obtained via dhcp is present, correct, and 
correctly separated.
I am fully confident that fixing this will be trivial for someone that knows
how the resolvconf script works internally.

Thanks in advance, best regards
Giacomo Mulas

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.2-jak (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- Configuration Files:
/etc/network/if-up.d/000resolvconf [Errno 2] File o directory non esistente: u'/etc/network/if-up.d/000resolvconf'
/etc/resolvconf.conf changed:
resolv_conf=/etc/resolv.conf
name_servers=127.0.0.1
dnsmasq=NO
pdnsd=NO
unbound=NO
dnsmasq_resolv=/var/run/dnsmasq/resolv.conf
pdnsd_conf=/etc/pdnsd.conf
unbound_conf=/var/cache/unbound/resolvconf_resolvers.conf
search_domains="oa-cagliari.inaf.it dsf.unica.it ca.infn.it "
named_service=bind9
named_options=/etc/bind/named.conf.resolvconf
named_zones=/etc/bind/named-zones.resolvconf


-- no debconf information


Reply to: