View Issue Details

IDProjectCategoryView StatusLast Update
0015538CentOS-7-OTHERpublic2018-12-08 00:28
Reporterdarrenprog 
PrioritylowSeveritytweakReproducibilityrandom
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0015538: df Alias created after update to 7.6.1810
DescriptionThe .bashrc changed for root after update to 7.6.1810 with respect to df. Changes behavior of df if not utilizing the full path. Any scripts, apps, or programs that utilize the command without specifying the full path will have a different result if expecting anything other than the df -k.

# .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias df='df | sort -k 6n'

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

Out of 15 updates, 1 showed this behavior.
Steps To ReproduceHave not been able to reproduce with recent released updates on other systems. Will update this issue if encounter it again with other updates or other systems found with same occurrence.
Additional InformationThis is more an info in case it had been changed already for those looking for odd behaviors in df in specific updates. Remedy is very simple to comment or remove the alias in the .bashrc.
Tagsbashrc alias df
abrt_hash
URL

Activities

TrevorH

TrevorH

2018-12-05 22:57

manager   ~0033232

Is this on a fresh install? I just did a test with the 7.6 Minimal iso and the resulting /root/.bashrc on the newly formatted and installed system did not have that line in it. Nor do any of the half a dozen existing systems that I've upgraded from 7.5 to 7.6. That's such a strange line to add for no reason that I would suspect perhaps one of your colleagues added it?
darrenprog

darrenprog

2018-12-07 23:13

reporter   ~0033267

No, it was not a fresh install.

This had been updated for a while starting from 7.0.1503. As most around here have problems with Word and Excel, very unlikely anyone would have attempted a vi or pico session. It is a very isolated system, so the only changes that appeared recently was the update. I was checking some mount points and they did not come back with what I expected with a df -h until I found the alias. I typically do not use aliases and definitely not on df.
jrd

jrd

2018-12-08 00:28

manager   ~0033269

What output does "rpm -V rootfiles" return?

Issue History

Date Modified Username Field Change
2018-12-05 18:56 darrenprog New Issue
2018-12-05 18:56 darrenprog Tag Attached: bashrc alias df
2018-12-05 22:57 TrevorH Note Added: 0033232
2018-12-07 23:13 darrenprog Note Added: 0033267
2018-12-08 00:28 jrd Note Added: 0033269