Bug 1374394 - incorrect input format for /var/cache/preupgrade/common/executable.log
Summary: incorrect input format for /var/cache/preupgrade/common/executable.log
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: preupgrade-assistant
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Petr Hracek
QA Contact: Alois Mahdal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-08 14:54 UTC by Jakub Mazanek
Modified: 2016-10-05 08:28 UTC (History)
4 users (show)

Fixed In Version: preupgrade-assistant-2.1.10-3.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-05 08:28:14 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jakub Mazanek 2016-09-08 14:54:29 UTC
Description of problem:



in /usr/share/preupgrade/common/scripts.txt

df --local 

should be replaced with 

df --local -P   


[root@rhel6-guest common]# df --local | rev | cut -f1 -d' ' | rev | tail -n +2
/dev/mapper/vg_rhel6guest-lv_root  #this shouldn't be in input
/
/dev/shm
/boot
[root@rhel6-guest common]# df --local -P | rev | cut -f1 -d' ' | rev | tail -n +2
/
/dev/shm
/boot

Additionally on RHEL 5 only :

in /usr/share/preupgrade/common/scripts.txt

find $i -xdev -executable -print #this doesn't work on RHEL 5

should be replaced with

find $i -xdev -perm /111 -print





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


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


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