Bug 1254834

Summary: chkconfig from FC21 is not updated.
Product: [Fedora] Fedora Reporter: B Bumper <bb91823>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: bb91823, ffesti, fredhgl, jsilhan, jzeleny, lkardos, mluscon, novyjindrich, packaging-team-maint, pknirsch, pnemade, tim.lauridsen, vmukhame
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: 2015-11-06 08:53:05 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 B Bumper 2015-08-19 01:42:11 UTC
Description of problem:
chkconfig for FC21 is not being updated

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


How reproducible:
Tried couple of 'tricks' such as removeing dnf-core and installing many new packeges, but the problem persoists

Steps to Reproduce:
1.
2.
3.

Actual results:
 Copyright (c) 1998-2015 Zend Technologies
[root@confsys1 ~]# dnf remove dnf-plugins-core
Dependencies resolved.
================================================================================
 Package                     Arch        Version             Repository    Size
================================================================================
Removing:
 dnf-langpacks               noarch      0.12.0-2.fc22       @System       75 k
 dnf-plugins-core            noarch      0.1.10-1.fc22       @System      7.7 k
 system-config-language      noarch      3.0.0-1.fc22        @System      365 k

Transaction Summary
================================================================================
Remove  3 Packages

Installed size: 447 k
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Erasing     : system-config-language-3.0.0-1.fc22.noarch                  1/3 
  Erasing     : dnf-langpacks-0.12.0-2.fc22.noarch                          2/3 
  Erasing     : dnf-plugins-core-0.1.10-1.fc22.noarch                       3/3 
  Verifying   : dnf-langpacks-0.12.0-2.fc22.noarch                          1/3 
  Verifying   : dnf-plugins-core-0.1.10-1.fc22.noarch                       2/3 
  Verifying   : system-config-language-3.0.0-1.fc22.noarch                  3/3 

Removed:
  dnf-langpacks.noarch 0.12.0-2.fc22                                            
  dnf-plugins-core.noarch 0.1.10-1.fc22                                         
  system-config-language.noarch 3.0.0-1.fc22                                    

Complete!

=====================
dnf update
Last metadata expiration check performed 0:43:48 ago on Tue Aug 18 20:41:12 2015.
Dependencies resolved.
================================================================================
 Package            Arch            Version               Repository       Size
================================================================================
Upgrading:
 chkconfig          x86_64          1.4-1.fc22            fedora          177 k

Transaction Summary
================================================================================
Upgrade  1 Package

Total download size: 177 k
Is this ok [y/N]: y
Downloading Packages:
chkconfig-1.4-1.fc22.x86_64.rpm                 316 kB/s | 177 kB     00:00    
--------------------------------------------------------------------------------
Total                                           110 kB/s | 177 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Upgrading   : chkconfig-1.4-1.fc22.x86_64                                 1/2 
Error unpacking rpm package chkconfig-1.4-1.fc22.x86_64
Error unpacking rpm package chkconfig-1.4-1.fc22.x86_64
error: unpacking of archive failed on file /etc/init.d: cpio: rename
chkconfig-1.4-1.fc22.x86_64 was supposed to be installed but is not!
  Verifying   : chkconfig-1.4-1.fc22.x86_64                                 1/2 
chkconfig-1.3.63-1.fc21.x86_64 was supposed to be removed but is not!
  Verifying   : chkconfig-1.3.63-1.fc21.x86_64                              2/2 

Failed:
  chkconfig.x86_64 1.4-1.fc22                                                   

Complete!

=====================


Expected results:


Additional info:

Comment 1 Honza Silhan 2015-08-31 12:06:35 UTC
Hi, I am sorry but dnf can't do anything about it. You have file conflicts on your system. Reassigning to rpm if they can fix it.

Comment 2 Florian Festi 2015-10-23 09:02:22 UTC
error: unpacking of archive failed on file /etc/init.d: cpio: rename

This is probably the cause of your issue. Can you please check if the directory is writable by root. So it does not have 000 permissions or has a weird selinux context. Same for the files within and the surrounding /etc directory.

Comment 3 Florian Festi 2015-11-06 08:53:05 UTC
Hmm, can't do anything here without more details. Feel free to reopen if you can proved more information.

Comment 4 Frederico Lima 2017-07-25 20:56:10 UTC
I had the same issue when upgrading F25 to F26,

I fixed the problem with these steps:

"/etc/init.d should be a symlink to /etc/rc.d/init.d. Someone must have created that directory after removing the symlink. You probably need to rename the directory, restore the symlink and move any files in the renamed directory to the correct directory."