yum-minimal fails when reconfiguring locale on Fedora 23

Bug #1585061 reported by Yolanda Robla
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
High
Yolanda Robla

Bug Description

yum-minimal crashes on build-locale-archive after cleanup. strace of the process show:

execve("/usr/sbin/tzdata-update", ["/usr/sbin/tzdata-update"], [/* 0 vars */]) = -1 ENOENT (No such file or directory)

That is because we are cleaning the C locale , only leaving en_US, and C locale is the one used.

Changed in diskimage-builder:
assignee: nobody → Yolanda Robla (yolanda.robla)
status: New → In Progress
Changed in diskimage-builder:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on diskimage-builder (master)

Change abandoned by yolanda.robla (<email address hidden>) on branch: master
Review: https://review.openstack.org/319909
Reason: This part of the code has been completely refactored

Revision history for this message
Gregory Haynes (greghaynes) wrote :

This was fixed via black magic from ianw

Changed in diskimage-builder:
status: In Progress → Fix Released
Revision history for this message
Bogun Dmitriy (dbogun) wrote :

It stop failing on Fedora, because this code isn't executed on fedora now https://github.com/openstack/diskimage-builder/blob/master/elements/yum-minimal/pre-install.d/03-yum-cleanup#L28

But on CentOS it still failing with:

+ mv /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
+ /usr/sbin/build-locale-archive
/usr/local/bin/dib-run-parts: line 115: 12303 Bus error $target_dir/$target

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.