Building Fuel 8.0 Fails with the latest cpio package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Sergey Kulanov |
Bug Description
Detailed bug descripotion:
Fuel 8.0 build fails due to new cpio version.
A new security patch for cpio causes the fuel build to fail. Before this patch, cpio used to follow symlinks, this was deemed as a security risk and a patch (now part of Ubuntu 14.04) prevents cpio to follow symlinks unless the --extract-
is given. See: https:/
The fault is manifested in the following log output:
rubygem-
rubygem-
rubygem-
rubygems.noarch 0:2.0.14-
sed.x86_64 0:4.2.2-5.el7
setup.noarch 0:2.8.71-5.el7
shadow-
shared-
sqlite.x86_64 0:3.7.17-6.el7_1.1
systemd.x86_64 0:208-20.el7_1.6
systemd-
sysvinit-
tcp_
tzdata.noarch 0:2015g-1.el7
ustr.x86_64 0:1.0.4-16.el7
util-
xz.x86_64 0:5.1.2-9alpha.el7
xz-libs.x86_64 0:5.1.2-9alpha.el7
zlib.x86_64 0:1.2.7-13.el7
Complete!
# Disabling mail server (it have been installed as a dependency) sudo chroot /tmp/fuel-
make[1]: [/tmp/fuel-
Error 1 (ignored)
sudo chroot /tmp/fuel-
make[1]: [/tmp/fuel-
Error 1 (ignored)
sudo chroot /tmp/fuel-
chown: invalid user: 'smmsp:smmsp'
make[1]: [/tmp/fuel-
Error 1 (ignored)
# Installing kernel modules
find /tmp/fuel-
| xargs rpm2cpio | \
( cd /tmp/fuel-
cpio: Can't write over symlinks: ./lib/modules/
make[1]: *** [/tmp/fuel-
Error 1
make[1]: Leaving directory `/tmp/fuel-main'
### Build failed with rc 2 ###
Steps to reproduce:
Build Fuel from stable/8.0
Expected results:
Build should pass
Actual result:
Build fails
Reproducability:
100% If using latest Ubuntu 14.04 cpio version.
uabjonb@
|
Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-==
+++===
ii cpio 2.11+dfsg-1ubuntu amd64 GNU cpio -- a
program to manage archives of files
Workarond:
Not known
Impact:
Not possible to build Fuel 8
summary: |
- Building Fuel 8.0 Fails + Building Fuel 8.0 Fails with the latest cpio package |
Changed in fuel: | |
milestone: | 8.0-updates → 8.0-mu-2 |
Changed in fuel: | |
status: | In Progress → Fix Committed |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Hi Jonas,
Thank you for bug report. Can you please also specify where did you try to build Fuel? Which environment / server did you use?