Skip to content

Removing bosh-dns from a VM leaves incorrect entry in resolv.conf #34

@voelzmo

Description

@voelzmo

Scenario

  • co-locate bosh-dns release on a VM; this creates an entry in /etc/resolv.conf using the file /etc/resolvconf/resolv.conf.d/head
  • remove bosh-dns release from the VM

Expected

  • There is no entry in /etc/resolv.conf or /etc/resolvconf/resolv.conf.d/head pointing to bosh-dns anymore

Actual

  • The file /etc/resolvconf/resolv.conf.d/head is still there, therefore bosh-dns is still in /etc/resolv.conf

Proposed Solution

  • drain should delete the file /etc/resolvconf/resolv.conf.d/head, just in case the release gets removed

Current Workaround

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions