Bug 1374394

Summary: incorrect input format for /var/cache/preupgrade/common/executable.log
Product: Red Hat Enterprise Linux 6 Reporter: Jakub Mazanek <jmazanek>
Component: preupgrade-assistantAssignee: Petr Hracek <phracek>
Status: CLOSED CURRENTRELEASE QA Contact: Alois Mahdal <amahdal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8CC: fkluknav, jmazanek, phracek, pstodulk
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: preupgrade-assistant-2.1.10-3.el6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-05 08:28:14 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:

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: