You are not logged in.

#1 2013-08-02 10:49:47

Kariddi
Member
Registered: 2009-03-12
Posts: 45

Since today update to dhcpcd domains are not added automatically

Hi,

after the update of dhcpcd today I don't get properly the domain line anymore, so my resolv.conf looks like this:

  # Generated by dhcpcd from enp4s0
  # /etc/resolv.conf.head can replace this line
  nameserver XXXXXXXXXX
  # /etc/resolv.conf.tail can replace this line

Instead of looking like this:

  # Generated by dhcpcd from enp4s0
  # /etc/resolv.conf.head can replace this line
  domain "XXXXXXXX"
  nameserver XXXXXXXXXX
  # /etc/resolv.conf.tail can replace this line

How can I get my domain back ?

Cheers,
Marcello

Offline

#2 2013-08-02 14:31:04

Sanao
Member
Registered: 2013-08-02
Posts: 7

Re: Since today update to dhcpcd domains are not added automatically

I have resolved this problem by adding this line at the end of /etc/dhcpcd.conf :

static domain_search=MISSING_VALUE

Offline

#3 2013-08-02 15:09:49

Kariddi
Member
Registered: 2009-03-12
Posts: 45

Re: Since today update to dhcpcd domains are not added automatically

Yeah, adding it statically works, but I would like to have it back to automatic. It worked before, I guess why it stopped working now ...

Offline

#4 2013-08-02 17:20:06

kurych
Member
From: Saint-Petersburg, Russia
Registered: 2011-12-07
Posts: 27

Re: Since today update to dhcpcd domains are not added automatically

There are one mistaken string in line 93 /usr/lib/dhcpcd/dhcpcd-hooks/20-resolv.conf of file:

new_domain_name=

, which clears the value of the variable.
This line absent in current git version of file.

Last edited by kurych (2013-08-02 17:27:08)

Offline

#5 2013-08-03 06:45:45

Sanao
Member
Registered: 2013-08-02
Posts: 7

Re: Since today update to dhcpcd domains are not added automatically

Kariddi wrote:

Yeah, adding it statically works, but I would like to have it back to automatic. It worked before, I guess why it stopped working now ...

Finally, I use dhclient instead dhcpcd by adding this line in my netctl profile.

DHCPClient=dhclient

Last edited by Sanao (2013-08-03 06:46:36)

Offline

#6 2013-08-03 06:50:44

Sanao
Member
Registered: 2013-08-02
Posts: 7

Re: Since today update to dhcpcd domains are not added automatically

kurych wrote:

There are one mistaken string in line 93 /usr/lib/dhcpcd/dhcpcd-hooks/20-resolv.conf of file:

new_domain_name=

, which clears the value of the variable.
This line absent in current git version of file.

An upstream ticket was created : http://roy.marples.name/projects/dhcpcd/ticket/277

Maybe by you?

Offline

Board footer

Powered by FluxBB