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
Bug 1204031 - 22 Beta TC3 install images do not bring up network (unless updates image or kickstart used)
Summary: 22 Beta TC3 install images do not bring up network (unless updates image or k...
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: 22
Hardware: All
OS: All
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F22BetaBlocker
TreeView+ depends on / blocked
Reported: 2015-03-20 08:14 UTC by Adam Williamson
Modified: 2015-03-29 04:44 UTC (History)
10 users (show)

Fixed In Version: lorax-22.7-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-03-29 04:44:15 UTC
Type: Bug

Attachments (Terms of Use)

Description Adam Williamson 2015-03-20 08:14:34 UTC
Testing Fedora 22 Beta TC3:

using the Server boot.iso, unless you pass inst.updates or inst.ks (which trigger dracut to bring up the network), the network is not activated on boot, so anaconda fails to configure the default repos. Hub shows 'Error setting up base repository' for the INSTALLATION SOURCE spoke.

'ip addr' shows the ethernet interface (ens3, in my VM) as 'UP' but with no IP address at all, only a 'link/ether' (MAC address).

'systemctl status NetworkManager.service' shows 'active (running)', but with very few log messages.

There is no /etc/resolv.conf file.

There is no default route.

Proposing as a Beta blocker: Alpha criterion , "When using a release-blocking dedicated installer image, the installer must be able to use either HTTP or FTP repositories (or both) as package sources. Release-blocking network install images must default to a valid publicly-accessible package source." - can't do that if the network doesn't work.

Comment 1 Adam Williamson 2015-03-20 08:32:38 UTC
/tmp/syslog shows activation of the network interface reaches stage 3, then:

dhclient started with pid 1342
Activation: Stage 3 of 5 (IP Configure Start) complete.
DHCPv4 client pid 1432 exited with status 127
DHCPv4 state changed unknown -> done
canceled DHCP transaction

all that happens within the space of one second.

Beta TC3 has:


Comment 2 Adam Williamson 2015-03-20 17:33:10 UTC
well, running dhclient manually gives us a big honkin' clue:

dhclient: error while loading shared libraries: cannot open shared object file: No such file or directory

That file is actually present. It's provided by bind99-libs and it's at /usr/lib64/bind99/ .

bind99-libs also provides a /etc/ which adds /usr/lib64/bind99 , and that file is *also* present in anaconda's environment.

What's missing, though, is /etc/ , and that's a problem because:

[adamw@adam lorax (master)]$ cat /etc/

so the thing that should cause the files to be included isn't there, so /usr/lib64/bind99 never winds up in the linker path, so dhclient can't find it.

lorax excludes /etc/ explicitly (and has done since 2011):

[adamw@adam lorax (f22-branch)]$ git blame share/runtime-cleanup.tmpl | grep
e7e07059 (Will Woods         2011-06-22 14:20:02 -0400 194) removefrom glibc /etc/gai.conf /etc/ /etc/localtime /etc/rpc

so, that seems to be the immediate problem here. Why it only showed up now I don't know for sure, but we *did* pull an updated bind into TC3, so that probably moved stuff around and caused the problem.

Comment 3 Adam Williamson 2015-03-20 17:36:27 UTC
I confirmed that after re-creating /etc/ by hand and running 'ldconfig' I can bring up the network connection.

Comment 4 Adam Williamson 2015-03-20 17:37:09 UTC
CCing thozza for any needed input on what's the deal with all the moving stuff around in bind.

Comment 5 Adam Williamson 2015-03-20 18:09:04 UTC
An additional wrinkle here: the images as built actually have an OK ld cache that's built during image generation (when package %post scripts run ldconfig). The reason it breaks is systemd's 'ldconfig.service', which runs 'ldconfig -X' on boot. It re-generates the cache and, because of the missing /etc/ , loses all the libraries in directories listed in files in /etc/ .

I tested this: if I boot with 'systemd.confirm_spawn=true', which is kinda like the old 'interactive boot' thing - it asks you to confirm each process spawned during init - and say 'no' when it asks if it should run 'ldconfig -X', then things work correctly (network comes up, and I can run dhclient manually).

So I think at least as long as ldconfig.service is active for anaconda, we need to have /etc/ in the installer environment (i.e. lorax shouldn't strip it).

Comment 6 Brian Lane 2015-03-20 20:35:18 UTC
I think it makes more sense to just turn it off. This matches the behavior of live and of lorax master.

Comment 7 Fedora Update System 2015-03-21 01:24:09 UTC
lorax-22.7-1.fc22 has been submitted as an update for Fedora 22.

Comment 8 Fedora Update System 2015-03-22 04:34:24 UTC
Package lorax-22.7-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing lorax-22.7-1.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 9 Tomáš Hozza 2015-03-23 06:58:06 UTC
(In reply to awilliam from comment #4)
> CCing thozza for any needed input on what's the deal with all the moving
> stuff around in bind.

I added bind99 since ISC DHCP is not able to function correctly when built against BIND 9.10.x. bind99 installs libraries and headers into a different location so they don't conflict with the original bind package.

This is due to Bug #1184173 and Bug #1199428

Comment 10 Adam Williamson 2015-03-23 17:06:09 UTC
Discussed at 2015-03-23 blocker review meeting: . Accepted as a Beta blocker per criterion cited in #c0.

Comment 11 Fedora Update System 2015-03-29 04:44:15 UTC
lorax-22.7-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

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