Bug 668718

Summary: Strange output from df
Product: [Fedora] Fedora Reporter: Kjartan Maraas <kmaraas>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: aquini, jakub, kdudka, kzak, ovasik, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-11 15:11:54 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 Kjartan Maraas 2011-01-11 11:37:37 UTC
Description of problem:

[kmaraas@e4300 gnome]$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3             50395844  15964396  31871448  34% /
/dev/sda2               198337     66642    121455  36% /boot
/dev/sda6             42599952  39046060   1389928  97% /home
gvfs-fuse-daemon      42599952  39046060   1389928  97% /home/kmaraas/.gvfs
/dev/sda6             42599952  39046060   1389928  97% /home
/dev/sda6             42599952  39046060   1389928  97% /home
/dev/sda2               198337     66642    121455  36% /boot
/dev/sda6             42599952  39046060   1389928  97% /home
/dev/fuse             42599952  39046060   1389928  97% /home/kmaraas/.gvfs
/dev/sda6             42599952  39046060   1389928  97% /home
/dev/sda6             42599952  39046060   1389928  97% /home
/dev/sda2               198337     66642    121455  36% /boot
/dev/sda2               198337     66642    121455  36% /boot
/dev/sda6             42599952  39046060   1389928  97% /home
/dev/sda6             42599952  39046060   1389928  97% /home
/dev/sda2               198337     66642    121455  36% /boot
/dev/sda2               198337     66642    121455  36% /boot
/dev/sda6             42599952  39046060   1389928  97% /home
/dev/sda6             42599952  39046060   1389928  97% /home
/dev/sda6             42599952  39046060   1389928  97% /home
/dev/sda2               198337     66642    121455  36% /boot

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ondrej Vasik 2011-01-11 12:01:44 UTC
Thanks for report, this is possibly disrupted by systemd changes. Coreutils (gnulib mountlist.c) uses getnmntent() glibc function for getting mountpoint stats. That mountpoint gathering is now probably somehow broken as I see multiple duplicate records in the table. Reassigning to glibc, but you will be probably required to provide more information to further analyze the issue.

Comment 2 Ondrej Vasik 2011-01-11 12:02:24 UTC
( getmntent() , of course, sorry for typo)

Comment 3 Kjartan Maraas 2011-01-11 12:17:49 UTC
This is the latest rawhide updated yesterday. I'll provide more info when I'm told which info is relevant :-)

Comment 4 Andreas Schwab 2011-01-11 13:02:25 UTC
getmntent just reads the file passed to setmntent.

Comment 5 Ondrej Vasik 2011-01-11 13:22:03 UTC
And file (/etc/mtab) defined by _PATH_MOUNTED (from glibc) was passed to setmntent() from glibc. Nothing was changed in coreutils in this area for quite a long time ... so I don't think the issue is in coreutils (and df).

There is something rotten in different place and I suspect some systemd changes. Adding Karel Zak to CC, as he may have more info about the changes with mounting.

Comment 6 Kamil Dudka 2011-01-11 13:32:40 UTC
Kjartan, please attach the content of your /etc/mtab and /proc/mounts.

Comment 7 Karel Zak 2011-01-11 15:11:54 UTC

*** This bug has been marked as a duplicate of bug 655571 ***