Bug 502921

Summary: error: failed to stat /dev/shm: No such file or directory
Product: [Fedora] Fedora Reporter: Chris Shoemaker <c.shoemaker>
Component: livecd-toolsAssignee: Jeremy Katz <katzj>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 11CC: davidz, katzj, mads, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-21 18:31:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Shoemaker 2009-05-27 19:27:28 UTC
While running rpm inside the %post section of my livecd kickstart file...

My %post section starts out:
%post
#!/bin/bash
export PATH

# See bug 496961
rm -f /var/lib/rpm/__db.00*

# just until these packages make it into updates.
# have to force because of conflict with old gstreamer-plugins-bad
# see https://bugzilla.rpmfusion.org/show_bug.cgi?id=622
rpm -Uvh http://kojipkgs.fedoraproject.org/packages/gstreamer/0.10.23/1.fc11/x86_64/gstreamer-tools-0.10.23-1.fc11.x86_64.rpm http://kojipkgs.fedoraproject.org/packages/gstreamer/0.10.23/1.fc11/x86_64/gstreamer-0.10.23-1.fc11.x86_64.rpm --force

..........

And during livecd-creator, I see:

Retrieving http://kojipkgs.fedoraproject.org/packages/gstreamer/0.10.23/1.fc11/x86_64/gstreamer-tools-0.10.23-1.fc11.x86_64.rpm
Retrieving http://kojipkgs.fedoraproject.org/packages/gstreamer/0.10.23/1.fc11/x86_64/gstreamer-0.10.23-1.fc11.x86_64.rpm
error: failed to stat /dev/shm: No such file or directory
Preparing...                ########################################### [100%]
   1:gstreamer-tools        ########################################### [ 50%]
   2:gstreamer              ########################################### [100%]

I don't notice any adverse effects from the error message.

I've got: anaconda-11.5.0.54-1.fc11.x86_64
and: rpm-4.7.0-1.fc11.x86_64
and: livecd-tools-024-1.fc11.x86_64

Comment 1 Chris Lumens 2009-05-27 20:04:15 UTC
Can you attach /tmp/storage.log and /tmp/anaconda.log to this bug report?  These files are copied into /var/log post-install so you can grab them from there if you've got the install done.

Comment 2 Chris Shoemaker 2009-05-28 19:24:47 UTC
I'm confused.  This happens during livecd-creator.  I don't see any storage.log or anaconda.log either inside or outside the chroot.

Comment 3 Chris Lumens 2009-05-28 19:29:18 UTC
If it happens during livecd-creator, why's this bug filed against anaconda?

Comment 4 Chris Shoemaker 2009-05-28 19:42:28 UTC
Sorry, I got confused by the similarity to #490772.

Comment 5 Bug Zapper 2009-06-09 16:40:18 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Jeremy Katz 2009-06-09 19:16:07 UTC
Not a huge deal as rpm will fallback to non-shm methods, but pushed the fix to bind mount /dev/shm into the live image build process to git master

Comment 7 Jeremy Katz 2009-07-21 18:31:39 UTC
Closing out bug that's been in MODIFIED for a while.

Comment 8 Joey Boggs 2010-05-11 23:00:31 UTC
*** Bug 528777 has been marked as a duplicate of this bug. ***