Bug 216473

Summary: system-config-rootpassword - rpm reports a lot of files missing
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: system-config-rootpasswordAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: system-config-rootpassword-1.1.10-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-20 19:18:05 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 Michal Jaegermann 2006-11-20 17:59:27 UTC
Description of problem:

# rpm -V system-config-rootpassword
missing     /usr/share/system-config-rootpassword/passwordDialog.pyc
missing     /usr/share/system-config-rootpassword/rootpassword_tui.pyc
missing     /usr/share/system-config-rootpassword/system-config-rootpassword.pyc

This is really the same issue as bug 216471 but for a different package.

Version-Release number of selected component (if applicable):
system-config-rootpassword-1.1.9-1

Comment 1 Red Hat Bugzilla 2007-08-21 05:29:48 UTC
User pnasrat's account has been closed

Comment 2 Lubomir Kundrak 2007-11-20 09:57:51 UTC
Michal: This is most likely not a bug in system-config-rootpassword, but a
corruption of the package in your installation. It could be caused by filesystem
corruption, terminating rpm, etc., etc.

Have you tried reinstalling the package? Does the problem still persist?

Comment 5 Michal Jaegermann 2007-11-20 17:56:59 UTC
> Michal: This is most likely not a bug in system-config-rootpassword,
> but a corruption of the package in your installation.

Nope!  Preuinstall scriptlet in system-config-rootpassword used
to do 'rm -f /usr/share/system-config-rootpassword/*.pyc' or equivalent.
When updating with yum first a new package is getting installed
and later the old one removed in a cleanup phase.  This was removing
all these *.pyc packages and you had all that "missing".  As Python
code was still there the thing still worked.

This is actually explained in comments to bug 216471.  As I see
package scripts for system-config-rootpassword-1.1.10-1 are not
doing that any longer.  No idea if there could be yet some tools
written in Python which could have the same issue.  It was a while
from the original report.


Comment 6 Lubomir Kundrak 2007-11-20 18:40:39 UTC
(In reply to comment #5)
> > Michal: This is most likely not a bug in system-config-rootpassword,
> > but a corruption of the package in your installation.
> 
> Nope!  Preuinstall scriptlet in system-config-rootpassword used
> to do 'rm -f /usr/share/system-config-rootpassword/*.pyc' or equivalent.

Sounds horribly. Thanks god it's no longer the case :)

> When updating with yum first a new package is getting installed
> and later the old one removed in a cleanup phase.  This was removing
> all these *.pyc packages and you had all that "missing".  As Python
> code was still there the thing still worked.
> 
> This is actually explained in comments to bug 216471.  As I see
> package scripts for system-config-rootpassword-1.1.10-1 are not
> doing that any longer.  No idea if there could be yet some tools
> written in Python which could have the same issue.  It was a while
> from the original report.

This was originally reported against F6, which is about to be EOLed. I can't see
those snippets in F7 or later. Is this still an issue for you, that has to be
solwed somehow or can I close the report?