Skip to content

libnetwork/pasta: pass --dns none#1871

Merged
openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom
Luap99:pasta-dns
Feb 26, 2024
Merged

libnetwork/pasta: pass --dns none#1871
openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom
Luap99:pasta-dns

Conversation

@Luap99
Copy link
Member

@Luap99 Luap99 commented Feb 26, 2024

We pass --no-map-gw to pasta and when run on a system with only localhost resolvers pasta cannot find a valid nameserver in resolv.conf it will print a warning. We do not use the dns functionality so the warning is just bogus to podman users. Let's disable dns which is only used for the dhcp option or --dns-forward which we do not use by default. If a users sets such an option we use them instead.

We pass --no-map-gw to pasta and when run on a system with only
localhost resolvers pasta cannot find a valid nameserver in resolv.conf
it will print a warning. We do not use the dns functionality so the
warning is just bogus to podman users. Let's disable dns which is only
used for the dhcp option or --dns-forward which we do not use by
default. If a users sets such an option we use them instead.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Luap99
Copy link
Member Author

Luap99 commented Feb 26, 2024

@mheon PTAL
cc @sbrivio-rh

@rhatdan
Copy link
Member

rhatdan commented Feb 26, 2024

LGTM

@rhatdan rhatdan added the 5.0 label Feb 26, 2024
@sbrivio-rh
Copy link

Reviewed-by: Stefano Brivio <sbrivio@redhat.com>

@mheon
Copy link
Member

mheon commented Feb 26, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Feb 26, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit c4de0a3 into containers:main Feb 26, 2024
@Luap99 Luap99 deleted the pasta-dns branch February 26, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants