Bug 469762 - Erase ordering not correct
Erase ordering not correct
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Panu Matilainen
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-11-03 16:58 EST by Orion Poplawski
Modified: 2009-02-05 07:41 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-02-05 07:41:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Orion Poplawski 2008-11-03 16:58:23 EST
Description of problem:

# yum -y remove gridengine\*                           
Loaded plugins: downloadonly                                              
Setting up Remove Process                                                 
Resolving Dependencies                                                    
--> Running transaction check                                             
---> Package gridengine-qmaster.i386 0:6.1u3-7.fc9 set to be erased       
---> Package gridengine-devel.i386 0:6.1u3-7.fc9 set to be erased         
---> Package gridengine-qmon.i386 0:6.1u3-7.fc9 set to be erased          
---> Package gridengine.i386 0:6.1u3-7.fc9 set to be erased               
---> Package gridengine-execd.i386 0:6.1u3-7.fc9 set to be erased         
--> Finished Dependency Resolution                                        

Dependencies Resolved

 Package                  Arch       Version           Repository         Size  
 gridengine               i386       6.1u3-7.fc9       installed           45 M 
 gridengine-devel         i386       6.1u3-7.fc9       installed          205 k 
 gridengine-execd         i386       6.1u3-7.fc9       installed          1.5 M
 gridengine-qmaster       i386       6.1u3-7.fc9       installed          5.0 M
 gridengine-qmon          i386       6.1u3-7.fc9       installed          3.8 M

Transaction Summary
Install      0 Package(s)
Update       0 Package(s)
Remove       5 Package(s)

Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : gridengine-devel                                  [1/5]
  Erasing        : gridengine                                        [2/5]
  Erasing        : gridengine-qmon                                   [3/5]
awk: cmd. line:1: fatal: cannot open file `/usr/share/gridengine/default/common/bootstrap' for reading (No such file or directory)
/etc/init.d/sgemaster: line 194: /usr/libexec/gridengine/utilbin/gethostname: Nosuch file or directory
/etc/init.d/sgemaster: line 195: /usr/libexec/gridengine/utilbin/gethostname: Nosuch file or directory
  Erasing        : gridengine-qmaster                                [4/5]
/etc/init.d/sge_execd: line 39: /usr/libexec/gridengine/utilbin/gethostname: No such file or directory
/etc/init.d/sge_execd: line 42: /usr/bin/qconf: No such file or directory
Stopping sge_execd: [FAILED]
ls: cannot access //active_jobs: No such file or directory
  Erasing        : gridengine-execd                                  [5/5]
Version-Release number of selected component (if applicable):

Note that gridengine-execd has a Requires(%preun) on gridengine:

Processing files: gridengine-execd-6.2-2.fc10
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh /sbin/chkconfig
Requires(preun): /bin/sh /sbin/chkconfig /sbin/service gridengine = 6.2-2.fc10
Requires(postun): /bin/sh /sbin/service gridengine = 6.2-2.fc10
Requires: /bin/sh libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libcore.so libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libm.so.6 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) libpthread.so.0(GLIBC_2.3.2) rtld(GNU_HASH)

Appears to be fixed in rawhide.  Can we get a fix into F-9?
Comment 1 Panu Matilainen 2009-02-05 07:41:16 EST
Rpm 4.6.0 doesn't do proper erasure ordering any more than 4.4.2.x does, that it works in rawhide/F10 is just lucky side-effect of something else changing. Erasure ordering is not going to get fixed in F9, otherwise this is something that needs fixing sooner than later and is in rpm.org TODO already.

Note You need to log in before you can comment on or make changes to this bug.