Bug 56905

Summary: rpm update fails with devfs
Product: [Retired] Red Hat Raw Hide Reporter: Bernie Innocenti <bernie+fedora>
Component: SysVinitAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal, valdis.kletnieks
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: 2001-11-29 20:38:47 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 Bernie Innocenti 2001-11-29 20:38:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120

Description of problem:
rpm can't update the package when /dev is a devfs filesystem because
renaming /dev/initctl fails

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


How reproducible:
Always

Steps to Reproduce:
1. mount devfs in /dev
2. type rpm -U SysVinit-2.79-2.i386.rpm



Actual Results:  output from rpm is:

error: unpacking of archive failed on file /dev/initctl: cpio: rename
failed - Operation not permitted


Additional info:

Comment 1 Bill Nottingham 2002-01-25 07:10:12 UTC
If you need to install in a situation where /dev is (essentially) read-only, you
should add devfs to the netsharedpath that RPM will exclude. See
/usr/lib/rpm/macros for details.