[rear-devel] [rear/rear] 1d425d: Ignore useless resolv.conf in case of USE_DHCLIENT...

Johannes Meixner noreply at github.com
Mon Mar 11 16:23:16 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 1d425d58a01dd268d3f324e03a4de4925e8835fb
      https://github.com/rear/rear/commit/1d425d58a01dd268d3f324e03a4de4925e8835fb
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M usr/share/rear/build/GNU/Linux/630_verify_resolv_conf_file.sh
    M usr/share/rear/conf/default.conf

  Log Message:
  -----------
  Ignore useless resolv.conf in case of USE_DHCLIENT (follow up of issue 2018)


  Commit: b5982c79318c04d93be5e5531f2bb1f195f97608
      https://github.com/rear/rear/commit/b5982c79318c04d93be5e5531f2bb1f195f97608
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M usr/share/rear/build/GNU/Linux/630_verify_resolv_conf_file.sh

  Log Message:
  -----------
  More explanatory LogPrint message


  Commit: edf493e96bfbddb1eac7f49500f2395e066a390b
      https://github.com/rear/rear/commit/edf493e96bfbddb1eac7f49500f2395e066a390b
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M usr/share/rear/build/GNU/Linux/630_verify_resolv_conf_file.sh
    M usr/share/rear/conf/default.conf

  Log Message:
  -----------
  More explanatory comments about how USE_DHCLIENT is related to etc/resolv.conf in the recovery system


  Commit: 88e7a1ccc71649c4836533af698038432083f486
      https://github.com/rear/rear/commit/88e7a1ccc71649c4836533af698038432083f486
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M usr/share/rear/build/GNU/Linux/630_verify_resolv_conf_file.sh
    M usr/share/rear/conf/default.conf

  Log Message:
  -----------
  Merge pull request #2076 from jsmeix/ignore_broken_resolv_conf_in_case_of_USE_DHCLIENT_issue_2018

Now build/GNU/Linux/630_verify_resolv_conf_file.sh does no longer error out
when etc/resolv.conf has no nameserver or only loopback addresses
and USE_DHCLIENT is true (and USE_STATIC_NETWORKING is not true)
because then etc/resolv.conf in the recovery system is generated anew
by /bin/dhclient-script so that its content before does not matter.
This way it should in particular no longer falsely error out on systems
that use systemd-resolved (like Ubuntu 18.04) and do their networking
setup via DHCP (probably pretty standard on usual desktop systems),
cf. https://github.com/rear/rear/pull/2018#issuecomment-470906450


Compare: https://github.com/rear/rear/compare/80cbfdde912e...88e7a1ccc716


More information about the rear-devel mailing list