Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1610717 - Enable network inside chroot fails
Summary: Enable network inside chroot fails
Keywords:
Status: CLOSED DUPLICATE of bug 1593212
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mock
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-01 09:12 UTC by Frank Büttner
Modified: 2018-08-02 11:38 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-02 11:38:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Frank Büttner 2018-08-01 09:12:41 UTC
Description of problem:
Inside the chroot networking will fails, when it was activated.

Version-Release number of selected component (if applicable):
mock-1.4.11-1.el7.noarch


How reproducible:
Every time

Steps to Reproduce:
1. Add an call "wget http://repo1.maven.org/maven2/org/antlr/antlr/3.1.3/antlr-3.1.3.pom" inside the spec file
2. try to build it


Actual results:
It will fails because network will not work.
Error:
+ wget http://repo1.maven.org/maven2/org/antlr/antlr/3.1.3/antlr-3.1.3.pom
--2018-08-01 11:07:43--  http://repo1.maven.org/maven2/org/antlr/antlr/3.1.3/antlr-3.1.3.pom
Resolving repo1.maven.org (repo1.maven.org)... failed: Name or service not known.
wget: unable to resolve host address 'repo1.maven.org'



Expected results:
Network inside the chroot, when enabled.

Additional info:
I have try the following options:
--enable-network -> fails
--enable-network --config-opts=rpmbuild_networking=True --config-opts=use_host_resolv=True -> fails
--config-opts=rpmbuild_networking=True --config-opts=use_host_resolv=True -> fails

Comment 1 Miroslav Suchý 2018-08-02 11:38:05 UTC

*** This bug has been marked as a duplicate of bug 1593212 ***


Note You need to log in before you can comment on or make changes to this bug.