Bug 1500537

Summary: /dev/shm does not exist in the appliance environment
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: nhicher, ptoscano, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-11 17:01:07 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 2017-10-10 21:31:56 UTC
Description of problem:

(Reported by nhicher on IRC)

/dev/shm does not exist in the appliance environment, eg:

$ virt-rescue --scratch
><rescue> ls /dev/shm
ls: cannot access '/dev/shm': No such file or directory

This causes problems when running ‘ansible’ using
‘virt-customize --run-command’.

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

libguestfs 1.36.6

How reproducible:

100%

Steps to Reproduce:
1. See above.

Comment 1 Richard W.M. Jones 2017-10-11 17:01:07 UTC
Upstream in:
https://github.com/libguestfs/libguestfs/commit/4d869035b807d2b6460eab67b2adb495eaea07cd

Fixed in libguestfs >= 1.36.8 and >= 1.37.30 and >= 1.38.

Comment 2 Pino Toscano 2018-02-08 16:48:49 UTC
*** Bug 982516 has been marked as a duplicate of this bug. ***