Bug 982516

Summary: sh "rpm -Va" fails because apparently /dev/shm is not created/bind-mounted correctly
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: mbooth, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-08 16:48:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2013-07-09 08:41:30 UTC
Description of problem:

$ guestfish --ro -a /tmp/fedora-18.img -i sh "rpm -Va"
libguestfs: error: sh: prelink: Could not create temporary file /dev/shm/#prelink#.VBmPGZ: No such file or directory
prelink: Could not create temporary file /dev/shm/#prelink#.thMOxt: No such file or directory
prelink: Could not create temporary file /dev/shm/#prelink#.KQAZSr: No such file or directory
prelink: Could not create temporary file /dev/shm/#prelink#.PtSZsq: No such file or directory
prelink: Could not create temporary file /dev/shm/#prelink#.hDRZBw: No such file or directory
prelink: Could not create temporary file /dev/shm/#prelink#.IxS9Ku: No such file or directory
prelink: Could not create temporary file /dev/shm/#prelink#.ODmYtv: No such file or directory
prelink: Could not create temporary file /dev/shm/#prelink#.QKWRjB: No such file or directory
prelink: Could not create temporary file /dev/shm/#prelink#.0Xx97A: No such file or directory

It looks as if /dev/shm is not being created correctly.

Version-Release number of selected component (if applicable):

libguestfs-1.23.7-1.fc20.x86_64

How reproducible:

100%

Steps to Reproduce:
1. See above.

Comment 1 Pino Toscano 2018-02-08 16:48:49 UTC
Fixed few years later, as bug 1500537.

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