syslinux.cfg Permission denied error

Bug #1352715 reported by JunJie Nan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
High
JunJie Nan

Bug Description

Command:
disk-image-create vm rhel selinux-permissive heat-config os-collect-config os-refresh-config os-apply-config heat-config-cfn-init heat-config-puppet heat-config-script --offline -o rhel

Error:

+ '[' '!' initramfs-2.6.32-431.el6.x86_64.img ']'
+ cat
/tmp/image.Mt5yYtei/hooks/cleanup.d/51-bootloader: line 29: /tmp/image.Mt5yYtei/mnt/boot/syslinux/syslinux.cfg: Permission denied

With debug we can see the command is NOT executed by root user.

JunJie Nan (nanjj)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/111938

Changed in diskimage-builder:
assignee: nobody → JunJie Nan (nanjj)
status: New → In Progress
Ben Nemec (bnemec)
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 Ben Nemec (<email address hidden>) on branch: master
Review: https://review.openstack.org/111938
Reason: I believe this one is also covered by https://review.openstack.org/#/c/104136/

Feel free to restore if I'm mistaken though.

Ghe Rivero (ghe.rivero)
Changed in diskimage-builder:
status: In Progress → Fix Released
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.