Bug 788590 - fixfiles shows nonsense percent number
Summary: fixfiles shows nonsense percent number
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-08 14:38 UTC by Petr Lautrbach
Modified: 2012-10-16 17:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-16 17:48:05 UTC
Type: ---


Attachments (Terms of Use)

Description Petr Lautrbach 2012-02-08 14:38:16 UTC
Description of problem:
After migration to usrmove feature [1], fixfiles shows nonsense percent number -2147483648% when it is finished

Version-Release number of selected component (if applicable):
policycoreutils-2.1.10-21.fc17.x86_64

Steps to Reproduce:
[1] https://fedoraproject.org/wiki/Upgrading_Fedora_using_yum#Fedora_16_-.3E_Fedora_17

# fixfiles onboot
# reboot

Comment 1 Jan Vcelak 2012-05-31 12:32:12 UTC
Not only at the end. It run over 150% in my case. The number was also decreasing a few moments.

Finally it has the same effect as asterisk progress bar before. Nobody knows when it finishes. ;-)

Comment 2 Jan Vcelak 2012-05-31 12:33:01 UTC
Not fixed in: policycoreutils-2.1.11-18.fc17.x86_64

Comment 3 Daniel Walsh 2012-05-31 13:38:13 UTC
Right the algorithm does not handle multiple disks properly.  The code is in restore.c if someone has time to look at it.

Comment 4 Daniel Walsh 2012-10-16 17:48:05 UTC
Fixed in policycoreutils-2.1.13-8.fc18.x86_64


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