From unknown Sat Aug 09 13:00:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22199 <22199@debbugs.gnu.org> To: bug#22199 <22199@debbugs.gnu.org> Subject: Status: Bug in coreutils for Linux Mint?? Package coreutils_8.21-1ubuntu5.3_amd64 Reply-To: bug#22199 <22199@debbugs.gnu.org> Date: Sat, 09 Aug 2025 20:00:20 +0000 retitle 22199 Bug in coreutils for Linux Mint?? Package coreutils_8.21-1ubu= ntu5.3_amd64 reassign 22199 coreutils submitter 22199 Dave severity 22199 normal tag 22199 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 17 19:28:02 2015 Received: (at submit) by debbugs.gnu.org; 18 Dec 2015 00:28:02 +0000 Received: from localhost ([127.0.0.1]:54861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9itu-0005p5-7k for submit@debbugs.gnu.org; Thu, 17 Dec 2015 19:28:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46779) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9ipD-0005iB-Gt for submit@debbugs.gnu.org; Thu, 17 Dec 2015 19:23:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9ip7-0002GZ-Le for submit@debbugs.gnu.org; Thu, 17 Dec 2015 19:23:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9ip7-0002GV-Ik for submit@debbugs.gnu.org; Thu, 17 Dec 2015 19:23:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9ip6-000164-IJ for bug-coreutils@gnu.org; Thu, 17 Dec 2015 19:23:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9ip2-0002G1-IL for bug-coreutils@gnu.org; Thu, 17 Dec 2015 19:23:04 -0500 Received: from mail.momentumweb.com ([207.238.54.13]:48944 helo=momentumweb.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9ip2-0002Em-8F for bug-coreutils@gnu.org; Thu, 17 Dec 2015 19:23:00 -0500 Received: from [127.0.0.1] (svrfile2.momentumweb.com [207.238.54.10]) by momentumweb.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id tBI0NFFp018710 for ; Thu, 17 Dec 2015 18:23:17 -0600 To: bug-coreutils@gnu.org From: Dave Subject: Bug in coreutils for Linux Mint?? Package coreutils_8.21-1ubuntu5.3_amd64 Message-ID: <56735201.6060102@momentumweb.com> Date: Thu, 17 Dec 2015 18:23:29 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 151217-3, 12/17/2015), Outbound message X-Antivirus-Status: Clean X-Scanned-By: MIMEDefang 2.73 on 207.238.54.13 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 17 Dec 2015 19:28:00 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) df's output shows this on a standard run(df with no flags): Filesystem 1K-blocks Used Available Use% Mounted on udev 1953632 4 1953628 1% /dev tmpfs 400436 1216 399220 1% /run /dev/sda1 957218452 302330152 606241340 34% / none 4 0 4 0% /sys/fs/cgroup none 5120 0 5120 0% /run/lock none 2002168 8 2002160 1% /run/shm none 102400 4 102396 1% /run/user /dev/sdb1 957218452 302510240 606061252 34% /mnt/bkup/device2 But when I mount an external USB disk that's on /dev/sdc1, df shows this output: Filesystem 1K-blocks Used Available Use% Mounted on udev 1953632 4 1953628 1% /dev tmpfs 400436 1272 399164 1% /run /dev/sdc1 957218452 302334136 606237356 34% / none 4 0 4 0% /sys/fs/cgroup none 5120 0 5120 0% /run/lock none 2002168 8 2002160 1% /run/shm none 102400 4 102396 1% /run/user /dev/sdb1 957218452 302498156 606073336 34% /mnt/bkup/device2 /dev/sdc1 957218452 302564064 606007428 34% /mnt/bkup/externaldevice The filesystem of "/" has mysteriously changed (in appearance) to /dev/sdc1?! All I did was mount the /dev/sdc1 device. In fact, /dev/sdc1 is ONLY mounted at /mnt/bkup/externaldevice, and the mounted filesystem on "/" is still /dev/sda1. I tested by writing a couple of files, plus mount shows the correct info: /dev/sda1 on / type ext4 (rw,errors=remount-ro) /dev/sdb1 on /mnt/bkup/device2 type ext4 (rw) If I unmount /mnt/bkup/externaldevice, df still shows /dev/sdc1 as the "/" filesystem for a small amount of time (10-20 seconds) and then it goes back to the correct filesystem of /dev/sda1. What is going on?? This only happened after upgrading to the package of coreutils mentioned in the subject, it was not doing this previously. Also, to note, the first two lines of the df output regarding udev and tmpfs did not appear until this version either. I did see in the changelog that df was updated to display some additional information, so perhaps it has to do with that?? -David From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 18 05:28:56 2015 Received: (at 22199) by debbugs.gnu.org; 18 Dec 2015 10:28:56 +0000 Received: from localhost ([127.0.0.1]:55154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9sHQ-0004j9-8W for submit@debbugs.gnu.org; Fri, 18 Dec 2015 05:28:56 -0500 Received: from mail2.vodafone.ie ([213.233.128.44]:31808) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9sHO-0004iw-Rb for 22199@debbugs.gnu.org; Fri, 18 Dec 2015 05:28:55 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmEMAALfc1ZtTYR4/2dsb2JhbABdgmlRHjSDULxuHYVwAoE5TAEBAQEBAYELhDUBAQQSEQ8BVgsNCwICBSECAg8CRgYBDAgBAQUZiBGhG4orhW2MDAwBIIEBhFmFeoJEgWYRAQ+DLIFJBZZ/iC4FhnSERYMchX6NaGSCER0WgUA+g3wHF4ErAQEB Received: from unknown (HELO localhost.localdomain) ([109.77.132.120]) by mail2.vodafone.ie with ESMTP; 18 Dec 2015 10:28:47 +0000 Subject: Re: bug#22199: Bug in coreutils for Linux Mint?? Package coreutils_8.21-1ubuntu5.3_amd64 To: Dave , 22199@debbugs.gnu.org References: <56735201.6060102@momentumweb.com> From: =?UTF-8?Q?P=c3=a1draig_Brady?= X-Enigmail-Draft-Status: N1110 Message-ID: <5673DFDF.30806@draigBrady.com> Date: Fri, 18 Dec 2015 10:28:47 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56735201.6060102@momentumweb.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22199 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On 18/12/15 00:23, Dave wrote: > df's output shows this on a standard run(df with no flags): > > Filesystem 1K-blocks Used Available Use% Mounted on > udev 1953632 4 1953628 1% /dev > tmpfs 400436 1216 399220 1% /run > /dev/sda1 957218452 302330152 606241340 34% / > none 4 0 4 0% /sys/fs/cgroup > none 5120 0 5120 0% /run/lock > none 2002168 8 2002160 1% /run/shm > none 102400 4 102396 1% /run/user > /dev/sdb1 957218452 302510240 606061252 34% /mnt/bkup/device2 > > But when I mount an external USB disk that's on /dev/sdc1, df shows this > output: > > Filesystem 1K-blocks Used Available Use% Mounted on > udev 1953632 4 1953628 1% /dev > tmpfs 400436 1272 399164 1% /run > /dev/sdc1 957218452 302334136 606237356 34% / > none 4 0 4 0% /sys/fs/cgroup > none 5120 0 5120 0% /run/lock > none 2002168 8 2002160 1% /run/shm > none 102400 4 102396 1% /run/user > /dev/sdb1 957218452 302498156 606073336 34% /mnt/bkup/device2 > /dev/sdc1 957218452 302564064 606007428 34% /mnt/bkup/externaldevice > > The filesystem of "/" has mysteriously changed (in appearance) to > /dev/sdc1?! All I did was mount the /dev/sdc1 device. In fact, > /dev/sdc1 is ONLY mounted at /mnt/bkup/externaldevice, and the mounted > filesystem on "/" is still /dev/sda1. I tested by writing a couple of > files, plus mount shows the correct info: > > /dev/sda1 on / type ext4 (rw,errors=remount-ro) > /dev/sdb1 on /mnt/bkup/device2 type ext4 (rw) > > If I unmount /mnt/bkup/externaldevice, df still shows /dev/sdc1 as the > "/" filesystem for a small amount of time (10-20 seconds) and then it > goes back to the correct filesystem of /dev/sda1. > > What is going on?? This only happened after upgrading to the package of > coreutils mentioned in the subject, it was not doing this previously. > Also, to note, the first two lines of the df output regarding udev and > tmpfs did not appear until this version either. I did see in the > changelog that df was updated to display some additional information, so > perhaps it has to do with that?? I see that ubuntu has backported _some_ patches from master. Perhaps they were incomplete. Could you please try out this latest df binary. wget http://www.pixelbeat.org/cu/df chmod a+x df ./df (There is a df.sig file is the same dir for gpg verification using the public key associated with this email address if desired) cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 21 18:50:40 2015 Received: (at submit) by debbugs.gnu.org; 21 Dec 2015 23:50:40 +0000 Received: from localhost ([127.0.0.1]:59228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBADv-0004j5-Jc for submit@debbugs.gnu.org; Mon, 21 Dec 2015 18:50:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53462) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB8hN-0002JJ-5u for submit@debbugs.gnu.org; Mon, 21 Dec 2015 17:12:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB8hG-0006FP-K8 for submit@debbugs.gnu.org; Mon, 21 Dec 2015 17:12:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB8hG-0006FL-Gu for submit@debbugs.gnu.org; Mon, 21 Dec 2015 17:12:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB8hE-0006al-UG for bug-coreutils@gnu.org; Mon, 21 Dec 2015 17:12:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB8h9-0006EV-Sd for bug-coreutils@gnu.org; Mon, 21 Dec 2015 17:12:48 -0500 Received: from mail.momentumweb.com ([207.238.54.13]:51116 helo=momentumweb.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB8h9-0006E3-Ks for bug-coreutils@gnu.org; Mon, 21 Dec 2015 17:12:43 -0500 Received: from [127.0.0.1] (svrfile2.momentumweb.com [207.238.54.10]) by momentumweb.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id tBLMD7Wr031202 for ; Mon, 21 Dec 2015 16:13:08 -0600 Subject: Re: bug#22199: Bug in coreutils for Linux Mint?? Package coreutils_8.21-1ubuntu5.3_amd64 To: bug-coreutils@gnu.org References: <56735201.6060102@momentumweb.com> <5673DFDF.30806@draigBrady.com> From: Dave Message-ID: <56787978.9050504@momentumweb.com> Date: Mon, 21 Dec 2015 16:13:12 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5673DFDF.30806@draigBrady.com> Content-Type: text/plain; charset=utf-8; format=flowed X-Antivirus: avast! (VPS 151221-2, 12/21/2015), Outbound message X-Antivirus-Status: Clean X-Scanned-By: MIMEDefang 2.73 on 207.238.54.13 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by momentumweb.com id tBLMD7Wr031202 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 21 Dec 2015 18:50:38 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 12/18/2015 4:28 AM, P=C3=A1draig Brady wrote: > On 18/12/15 00:23, Dave wrote: >> df's output shows this on a standard run(df with no flags): >> >> Filesystem 1K-blocks Used Available Use% Mounted on >> udev 1953632 4 1953628 1% /dev >> tmpfs 400436 1216 399220 1% /run >> /dev/sda1 957218452 302330152 606241340 34% / >> none 4 0 4 0% /sys/fs/cgroup >> none 5120 0 5120 0% /run/lock >> none 2002168 8 2002160 1% /run/shm >> none 102400 4 102396 1% /run/user >> /dev/sdb1 957218452 302510240 606061252 34% /mnt/bkup/device2 >> >> But when I mount an external USB disk that's on /dev/sdc1, df shows th= is >> output: >> >> Filesystem 1K-blocks Used Available Use% Mounted on >> udev 1953632 4 1953628 1% /dev >> tmpfs 400436 1272 399164 1% /run >> /dev/sdc1 957218452 302334136 606237356 34% / >> none 4 0 4 0% /sys/fs/cgroup >> none 5120 0 5120 0% /run/lock >> none 2002168 8 2002160 1% /run/shm >> none 102400 4 102396 1% /run/user >> /dev/sdb1 957218452 302498156 606073336 34% /mnt/bkup/device2 >> /dev/sdc1 957218452 302564064 606007428 34% /mnt/bkup/externalde= vice >> >> The filesystem of "/" has mysteriously changed (in appearance) to >> /dev/sdc1?! All I did was mount the /dev/sdc1 device. In fact, >> /dev/sdc1 is ONLY mounted at /mnt/bkup/externaldevice, and the mounted >> filesystem on "/" is still /dev/sda1. I tested by writing a couple of >> files, plus mount shows the correct info: >> >> /dev/sda1 on / type ext4 (rw,errors=3Dremount-ro) >> /dev/sdb1 on /mnt/bkup/device2 type ext4 (rw) >> >> If I unmount /mnt/bkup/externaldevice, df still shows /dev/sdc1 as the >> "/" filesystem for a small amount of time (10-20 seconds) and then it >> goes back to the correct filesystem of /dev/sda1. >> >> What is going on?? This only happened after upgrading to the package = of >> coreutils mentioned in the subject, it was not doing this previously. >> Also, to note, the first two lines of the df output regarding udev and >> tmpfs did not appear until this version either. I did see in the >> changelog that df was updated to display some additional information, = so >> perhaps it has to do with that?? > I see that ubuntu has backported _some_ patches from master. > Perhaps they were incomplete. Could you please try out this latest df b= inary. > > wget http://www.pixelbeat.org/cu/df > chmod a+x df > ./df > > (There is a df.sig file is the same dir for gpg verification > using the public key associated with this email address if desired) > > cheers, > P=C3=A1draig. > P=C3=A1draig, thanks for the response. The df you provided (v8.24.113-84f= cb)=20 also shows /dev/sdc1 in place of /dev/sda1 once the /dev/sdc1 device is=20 mounted, the same as in the example in the correspondence above. Is that=20 what you were expecting? I found a copy of the old df that was in use before the coreutils=20 package upgrade, and it presents as version 8.21 just like the current=20 one when running df --version. The package the original came from was=20 coreutils_8.21-1ubuntu5.1_amd64 and the df executable is dated Jan 13,=20 2015. I just ran THAT df, and here's the output (with the /dev/sdc1=20 device mounted): Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 957218452 304082900 604488592 34% / none 4 0 4 0% /sys/fs/cgroup udev 1953632 4 1953628 1% /dev tmpfs 400436 1272 399164 1% /run none 5120 0 5120 0% /run/lock none 2002168 8 2002160 1% /run/shm none 102400 4 102396 1% /run/user /dev/sdb1 957218452 304106588 604464904 34% /mnt/bkup/device2 /dev/sdc1 957218452 300703220 607868272 34% /mnt/bkup/externaldevice So, 2 things of note: 1) I was clearly incorrect in saying in my=20 original message that the udev and tmpfs lines weren't showing in the=20 original df listing, because there they are, they were just in a=20 different spot (ie, not at the top) as you can see above. Apologies for=20 the misinformation on that. 2) Well, you can see that the old df is=20 reporting the root filesystem as /dev/sda1 correctly. If I run your df,=20 or the newer df, both incorrectly show "/dev/sdc1" for the root=20 filesystem after /dev/sdc1 is mounted at /mnt/bkup/externaldevice. Also, here are the relevant lines from /proc/mounts and=20 /proc/self/mountinfo you had requested: /proc/mounts: rootfs / rootfs rw 0 0 /dev/sdb1 /mnt/bkup/device2 ext4 rw,relatime,data=3Dordered 0 0 /dev/sdc1 /mnt/bkup/externaldevice ext4 rw,relatime,data=3Dordered 0 0 /proc/self/mountinfo: 22 1 8:1 / / rw,relatime - ext4=20 /dev/disk/by-uuid/ced6112c-e347-4ac4-a160-0b2f03c88602=20 rw,errors=3Dremount-ro,data=3Dordered 23 22 8:17 / /mnt/bkup/device2 rw,relatime - ext4 /dev/sdb1 rw,data=3Dord= ered 33 22 8:33 / /mnt/bkup/externaldevice rw,relatime - ext4 /dev/sdc1=20 rw,data=3Dordered Also, it should be noted, upon looking further into the uuid for "/"=20 referenced in /proc/self/mountinfo, I found that that reference is=20 softlinked to "/dev/sdc1" and it stays that way even after the external=20 device is unmounted. Hmm. So /proc/self/mountinfo seems wrong about "/"=20 in this case, since it's not referencing /dev/sda in any way. And it's=20 odd that the older df works, even despite that issue. Maybe I'm not=20 clear on what all /proc/self/mountinfo is supposed to convey? And maybe=20 this bug is originating somewhere else outside of df then? -Dave From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 21 20:39:48 2015 Received: (at 22199) by debbugs.gnu.org; 22 Dec 2015 01:39:48 +0000 Received: from localhost ([127.0.0.1]:59272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBBvY-0007SV-68 for submit@debbugs.gnu.org; Mon, 21 Dec 2015 20:39:48 -0500 Received: from mail2.vodafone.ie ([213.233.128.44]:19429) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBBvW-0007SE-KS for 22199@debbugs.gnu.org; Mon, 21 Dec 2015 20:39:47 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AskLAICpeFZtTJm2/2dsb2JhbABegmlRHjSDT4lvsw8dhW0BAgKBLEwBAQEBAQGBC4Q1AQEEEhEPAVYLDQsCAgUWCwICCQMCAQIBRQYBDAgBAQUZiBGiO4orhW2MOAEKAQEBH4EBhFmFeoJEgWYRAQ88gnCBSgWXAIgtBYZ1hEWDHIV/iXyDdGSCER0WgUA+g20HF4ErAQEB Received: from unknown (HELO localhost.localdomain) ([109.76.153.182]) by mail2.vodafone.ie with ESMTP; 22 Dec 2015 01:39:12 +0000 Subject: Re: bug#22199: Bug in coreutils for Linux Mint?? Package coreutils_8.21-1ubuntu5.3_amd64 To: Dave , 22199@debbugs.gnu.org References: <56735201.6060102@momentumweb.com> <5673DFDF.30806@draigBrady.com> <56787978.9050504@momentumweb.com> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <5678A9BF.7020604@draigBrady.com> Date: Tue, 22 Dec 2015 01:39:11 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56787978.9050504@momentumweb.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22199 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On 21/12/15 22:13, Dave wrote: > > On 12/18/2015 4:28 AM, Pádraig Brady wrote: >> On 18/12/15 00:23, Dave wrote: >>> df's output shows this on a standard run(df with no flags): >>> >>> Filesystem 1K-blocks Used Available Use% Mounted on >>> udev 1953632 4 1953628 1% /dev >>> tmpfs 400436 1216 399220 1% /run >>> /dev/sda1 957218452 302330152 606241340 34% / >>> none 4 0 4 0% /sys/fs/cgroup >>> none 5120 0 5120 0% /run/lock >>> none 2002168 8 2002160 1% /run/shm >>> none 102400 4 102396 1% /run/user >>> /dev/sdb1 957218452 302510240 606061252 34% /mnt/bkup/device2 >>> >>> But when I mount an external USB disk that's on /dev/sdc1, df shows this >>> output: >>> >>> Filesystem 1K-blocks Used Available Use% Mounted on >>> udev 1953632 4 1953628 1% /dev >>> tmpfs 400436 1272 399164 1% /run >>> /dev/sdc1 957218452 302334136 606237356 34% / >>> none 4 0 4 0% /sys/fs/cgroup >>> none 5120 0 5120 0% /run/lock >>> none 2002168 8 2002160 1% /run/shm >>> none 102400 4 102396 1% /run/user >>> /dev/sdb1 957218452 302498156 606073336 34% /mnt/bkup/device2 >>> /dev/sdc1 957218452 302564064 606007428 34% /mnt/bkup/externaldevice >>> >>> The filesystem of "/" has mysteriously changed (in appearance) to >>> /dev/sdc1?! All I did was mount the /dev/sdc1 device. In fact, >>> /dev/sdc1 is ONLY mounted at /mnt/bkup/externaldevice, and the mounted >>> filesystem on "/" is still /dev/sda1. I tested by writing a couple of >>> files, plus mount shows the correct info: >>> >>> /dev/sda1 on / type ext4 (rw,errors=remount-ro) >>> /dev/sdb1 on /mnt/bkup/device2 type ext4 (rw) >>> >>> If I unmount /mnt/bkup/externaldevice, df still shows /dev/sdc1 as the >>> "/" filesystem for a small amount of time (10-20 seconds) and then it >>> goes back to the correct filesystem of /dev/sda1. >>> >>> What is going on?? This only happened after upgrading to the package of >>> coreutils mentioned in the subject, it was not doing this previously. >>> Also, to note, the first two lines of the df output regarding udev and >>> tmpfs did not appear until this version either. I did see in the >>> changelog that df was updated to display some additional information, so >>> perhaps it has to do with that?? >> I see that ubuntu has backported _some_ patches from master. >> Perhaps they were incomplete. Could you please try out this latest df binary. >> >> wget http://www.pixelbeat.org/cu/df >> chmod a+x df >> ./df >> >> (There is a df.sig file is the same dir for gpg verification >> using the public key associated with this email address if desired) >> >> cheers, >> Pádraig. >> > > Pádraig, thanks for the response. The df you provided (v8.24.113-84fcb) > also shows /dev/sdc1 in place of /dev/sda1 once the /dev/sdc1 device is > mounted, the same as in the example in the correspondence above. Is that > what you were expecting? > > I found a copy of the old df that was in use before the coreutils > package upgrade, and it presents as version 8.21 just like the current > one when running df --version. The package the original came from was > coreutils_8.21-1ubuntu5.1_amd64 and the df executable is dated Jan 13, > 2015. I just ran THAT df, and here's the output (with the /dev/sdc1 > device mounted): > > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sda1 957218452 304082900 604488592 34% / > none 4 0 4 0% /sys/fs/cgroup > udev 1953632 4 1953628 1% /dev > tmpfs 400436 1272 399164 1% /run > none 5120 0 5120 0% /run/lock > none 2002168 8 2002160 1% /run/shm > none 102400 4 102396 1% /run/user > /dev/sdb1 957218452 304106588 604464904 34% /mnt/bkup/device2 > /dev/sdc1 957218452 300703220 607868272 34% /mnt/bkup/externaldevice > > So, 2 things of note: 1) I was clearly incorrect in saying in my > original message that the udev and tmpfs lines weren't showing in the > original df listing, because there they are, they were just in a > different spot (ie, not at the top) as you can see above. Apologies for > the misinformation on that. 2) Well, you can see that the old df is > reporting the root filesystem as /dev/sda1 correctly. If I run your df, > or the newer df, both incorrectly show "/dev/sdc1" for the root > filesystem after /dev/sdc1 is mounted at /mnt/bkup/externaldevice. > > Also, here are the relevant lines from /proc/mounts and > /proc/self/mountinfo you had requested: > > /proc/mounts: > rootfs / rootfs rw 0 0 > /dev/sdb1 /mnt/bkup/device2 ext4 rw,relatime,data=ordered 0 0 > /dev/sdc1 /mnt/bkup/externaldevice ext4 rw,relatime,data=ordered 0 0 > > /proc/self/mountinfo: > 22 1 8:1 / / rw,relatime - ext4 > /dev/disk/by-uuid/ced6112c-e347-4ac4-a160-0b2f03c88602 > rw,errors=remount-ro,data=ordered > 23 22 8:17 / /mnt/bkup/device2 rw,relatime - ext4 /dev/sdb1 rw,data=ordered > 33 22 8:33 / /mnt/bkup/externaldevice rw,relatime - ext4 /dev/sdc1 > rw,data=ordered > > Also, it should be noted, upon looking further into the uuid for "/" > referenced in /proc/self/mountinfo, I found that that reference is > softlinked to "/dev/sdc1" and it stays that way even after the external > device is unmounted. Hmm. So /proc/self/mountinfo seems wrong about "/" > in this case, since it's not referencing /dev/sda in any way. And it's > odd that the older df works, even despite that issue. Maybe I'm not > clear on what all /proc/self/mountinfo is supposed to convey? And maybe > this bug is originating somewhere else outside of df then? Neither /proc/self/mounts or /proc/self/mountinfo mention /dev/sda1 ? That's weird. Note the older ubuntu df should be referencing /etc/mtab which these days is usually a link to /proc/self/mounts. The newer df will directly reference /proc/self/mountinfo. So it would be good to confirm that /etc/mtab is a symlink to /proc/self/mounts. Also it would be good to attach that file and /proc/self/mountinfo to avoid any ambiguity. thanks, Pádraig From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 23 17:23:23 2015 Received: (at submit) by debbugs.gnu.org; 23 Dec 2015 22:23:23 +0000 Received: from localhost ([127.0.0.1]:33064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBroZ-0006gt-4y for submit@debbugs.gnu.org; Wed, 23 Dec 2015 17:23:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56062) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBpIn-0002ya-G1 for submit@debbugs.gnu.org; Wed, 23 Dec 2015 14:42:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBpIg-0000BP-QL for submit@debbugs.gnu.org; Wed, 23 Dec 2015 14:42:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBpIg-0000BG-Nb for submit@debbugs.gnu.org; Wed, 23 Dec 2015 14:42:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBpIf-0008U3-Al for bug-coreutils@gnu.org; Wed, 23 Dec 2015 14:42:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBpIb-0000AQ-Rm for bug-coreutils@gnu.org; Wed, 23 Dec 2015 14:42:17 -0500 Received: from mail.momentumweb.com ([207.238.54.13]:47959 helo=momentumweb.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBpIb-0000A1-JG for bug-coreutils@gnu.org; Wed, 23 Dec 2015 14:42:13 -0500 Received: from [127.0.0.1] (svrfile2.momentumweb.com [207.238.54.10]) by momentumweb.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id tBNJgeEb011604 for ; Wed, 23 Dec 2015 13:42:41 -0600 Subject: Re: bug#22199: Bug in coreutils for Linux Mint?? Package coreutils_8.21-1ubuntu5.3_amd64 To: bug-coreutils@gnu.org References: <56735201.6060102@momentumweb.com> <5673DFDF.30806@draigBrady.com> <56787978.9050504@momentumweb.com> <5678A9BF.7020604@draigBrady.com> From: Dave Message-ID: <567AF932.4000009@momentumweb.com> Date: Wed, 23 Dec 2015 13:42:42 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5678A9BF.7020604@draigBrady.com> Content-Type: text/plain; charset=utf-8; format=flowed X-Antivirus: avast! (VPS 151223-0, 12/23/2015), Outbound message X-Antivirus-Status: Clean X-Scanned-By: MIMEDefang 2.73 on 207.238.54.13 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by momentumweb.com id tBNJgeEb011604 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 23 Dec 2015 17:23:22 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 12/21/2015 7:39 PM, P=C3=A1draig Brady wrote: > On 21/12/15 22:13, Dave wrote: >> On 12/18/2015 4:28 AM, P=C3=A1draig Brady wrote: >>> On 18/12/15 00:23, Dave wrote: >>>> df's output shows this on a standard run(df with no flags): >>>> >>>> Filesystem 1K-blocks Used Available Use% Mounted on >>>> udev 1953632 4 1953628 1% /dev >>>> tmpfs 400436 1216 399220 1% /run >>>> /dev/sda1 957218452 302330152 606241340 34% / >>>> none 4 0 4 0% /sys/fs/cgroup >>>> none 5120 0 5120 0% /run/lock >>>> none 2002168 8 2002160 1% /run/shm >>>> none 102400 4 102396 1% /run/user >>>> /dev/sdb1 957218452 302510240 606061252 34% /mnt/bkup/device2 >>>> >>>> But when I mount an external USB disk that's on /dev/sdc1, df shows = this >>>> output: >>>> >>>> Filesystem 1K-blocks Used Available Use% Mounted on >>>> udev 1953632 4 1953628 1% /dev >>>> tmpfs 400436 1272 399164 1% /run >>>> /dev/sdc1 957218452 302334136 606237356 34% / >>>> none 4 0 4 0% /sys/fs/cgroup >>>> none 5120 0 5120 0% /run/lock >>>> none 2002168 8 2002160 1% /run/shm >>>> none 102400 4 102396 1% /run/user >>>> /dev/sdb1 957218452 302498156 606073336 34% /mnt/bkup/device2 >>>> /dev/sdc1 957218452 302564064 606007428 34% /mnt/bkup/external= device >>>> >>>> The filesystem of "/" has mysteriously changed (in appearance) to >>>> /dev/sdc1?! All I did was mount the /dev/sdc1 device. In fact, >>>> /dev/sdc1 is ONLY mounted at /mnt/bkup/externaldevice, and the mount= ed >>>> filesystem on "/" is still /dev/sda1. I tested by writing a couple = of >>>> files, plus mount shows the correct info: >>>> >>>> /dev/sda1 on / type ext4 (rw,errors=3Dremount-ro) >>>> /dev/sdb1 on /mnt/bkup/device2 type ext4 (rw) >>>> >>>> If I unmount /mnt/bkup/externaldevice, df still shows /dev/sdc1 as t= he >>>> "/" filesystem for a small amount of time (10-20 seconds) and then i= t >>>> goes back to the correct filesystem of /dev/sda1. >>>> >>>> What is going on?? This only happened after upgrading to the packag= e of >>>> coreutils mentioned in the subject, it was not doing this previously. >>>> Also, to note, the first two lines of the df output regarding udev a= nd >>>> tmpfs did not appear until this version either. I did see in the >>>> changelog that df was updated to display some additional information= , so >>>> perhaps it has to do with that?? >>> I see that ubuntu has backported _some_ patches from master. >>> Perhaps they were incomplete. Could you please try out this latest df= binary. >>> >>> wget http://www.pixelbeat.org/cu/df >>> chmod a+x df >>> ./df >>> >>> (There is a df.sig file is the same dir for gpg verification >>> using the public key associated with this email address if desired= ) >>> >>> cheers, >>> P=C3=A1draig. >>> >> P=C3=A1draig, thanks for the response. The df you provided (v8.24.113-= 84fcb) >> also shows /dev/sdc1 in place of /dev/sda1 once the /dev/sdc1 device i= s >> mounted, the same as in the example in the correspondence above. Is th= at >> what you were expecting? >> >> I found a copy of the old df that was in use before the coreutils >> package upgrade, and it presents as version 8.21 just like the current >> one when running df --version. The package the original came from was >> coreutils_8.21-1ubuntu5.1_amd64 and the df executable is dated Jan 13, >> 2015. I just ran THAT df, and here's the output (with the /dev/sdc1 >> device mounted): >> >> Filesystem 1K-blocks Used Available Use% Mounted on >> /dev/sda1 957218452 304082900 604488592 34% / >> none 4 0 4 0% /sys/fs/cgroup >> udev 1953632 4 1953628 1% /dev >> tmpfs 400436 1272 399164 1% /run >> none 5120 0 5120 0% /run/lock >> none 2002168 8 2002160 1% /run/shm >> none 102400 4 102396 1% /run/user >> /dev/sdb1 957218452 304106588 604464904 34% /mnt/bkup/device2 >> /dev/sdc1 957218452 300703220 607868272 34% /mnt/bkup/externaldevice >> >> So, 2 things of note: 1) I was clearly incorrect in saying in my >> original message that the udev and tmpfs lines weren't showing in the >> original df listing, because there they are, they were just in a >> different spot (ie, not at the top) as you can see above. Apologies fo= r >> the misinformation on that. 2) Well, you can see that the old df is >> reporting the root filesystem as /dev/sda1 correctly. If I run your df= , >> or the newer df, both incorrectly show "/dev/sdc1" for the root >> filesystem after /dev/sdc1 is mounted at /mnt/bkup/externaldevice. >> >> Also, here are the relevant lines from /proc/mounts and >> /proc/self/mountinfo you had requested: >> >> /proc/mounts: >> rootfs / rootfs rw 0 0 >> /dev/sdb1 /mnt/bkup/device2 ext4 rw,relatime,data=3Dordered 0 0 >> /dev/sdc1 /mnt/bkup/externaldevice ext4 rw,relatime,data=3Dordered 0 0 >> >> /proc/self/mountinfo: >> 22 1 8:1 / / rw,relatime - ext4 >> /dev/disk/by-uuid/ced6112c-e347-4ac4-a160-0b2f03c88602 >> rw,errors=3Dremount-ro,data=3Dordered >> 23 22 8:17 / /mnt/bkup/device2 rw,relatime - ext4 /dev/sdb1 rw,data=3D= ordered >> 33 22 8:33 / /mnt/bkup/externaldevice rw,relatime - ext4 /dev/sdc1 >> rw,data=3Dordered >> >> Also, it should be noted, upon looking further into the uuid for "/" >> referenced in /proc/self/mountinfo, I found that that reference is >> softlinked to "/dev/sdc1" and it stays that way even after the externa= l >> device is unmounted. Hmm. So /proc/self/mountinfo seems wrong about "/= " >> in this case, since it's not referencing /dev/sda in any way. And it's >> odd that the older df works, even despite that issue. Maybe I'm not >> clear on what all /proc/self/mountinfo is supposed to convey? And mayb= e >> this bug is originating somewhere else outside of df then? > Neither /proc/self/mounts or /proc/self/mountinfo mention /dev/sda1 ? > That's weird. Note the older ubuntu df should be referencing /etc/mtab > which these days is usually a link to /proc/self/mounts. > The newer df will directly reference /proc/self/mountinfo. > > So it would be good to confirm that /etc/mtab is a symlink to /proc/sel= f/mounts. > Also it would be good to attach that file and /proc/self/mountinfo > to avoid any ambiguity. > > thanks, > P=C3=A1draig > Can't get those files attached at the moment, but I can confirm that=20 /etc/mtab is NOT a symlink to anything and is in fact its own file. And=20 this non-symlink /etc/mtab does reference /dev/sda1. FWIW. -Dave From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 23 18:45:26 2015 Received: (at 22199) by debbugs.gnu.org; 23 Dec 2015 23:45:26 +0000 Received: from localhost ([127.0.0.1]:33087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBt5y-000098-7Y for submit@debbugs.gnu.org; Wed, 23 Dec 2015 18:45:26 -0500 Received: from mail1.vodafone.ie ([213.233.128.43]:63469) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBt5w-00008v-Se for 22199@debbugs.gnu.org; Wed, 23 Dec 2015 18:45:25 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQPAMoxe1ZtTfCr/2dsb2JhbABegmlRHjSNPrJxHoVuAQICgSZMAQEBAQEBgQuENQEBBBIRDwFWCw0LAgIFFgsCAgkDAgECAUUGAQwIAQEFGYgRpEWKK4VtjCMBCgEBAR+BAYRZhXuCQIFmEQEPPIJwgUoFlwOILQWGdoRGgxqFPUSKA4N0ZIIRHR2BQD6EEwcXgSsBAQE Received: from unknown (HELO localhost.localdomain) ([109.77.240.171]) by mail1.vodafone.ie with ESMTP; 23 Dec 2015 23:45:03 +0000 Subject: Re: bug#22199: Bug in coreutils for Linux Mint?? Package coreutils_8.21-1ubuntu5.3_amd64 To: Dave , 22199@debbugs.gnu.org References: <56735201.6060102@momentumweb.com> <5673DFDF.30806@draigBrady.com> <56787978.9050504@momentumweb.com> <5678A9BF.7020604@draigBrady.com> <567AF932.4000009@momentumweb.com> From: =?UTF-8?Q?P=c3=a1draig_Brady?= X-Enigmail-Draft-Status: N1110 Message-ID: <567B31FE.1090309@draigBrady.com> Date: Wed, 23 Dec 2015 23:45:02 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <567AF932.4000009@momentumweb.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22199 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) tag 22199 notabug close 22199 stop On 23/12/15 19:42, Dave wrote: > > On 12/21/2015 7:39 PM, Pádraig Brady wrote: >> On 21/12/15 22:13, Dave wrote: >>> On 12/18/2015 4:28 AM, Pádraig Brady wrote: >>>> On 18/12/15 00:23, Dave wrote: >>>>> df's output shows this on a standard run(df with no flags): >>>>> >>>>> Filesystem 1K-blocks Used Available Use% Mounted on >>>>> udev 1953632 4 1953628 1% /dev >>>>> tmpfs 400436 1216 399220 1% /run >>>>> /dev/sda1 957218452 302330152 606241340 34% / >>>>> none 4 0 4 0% /sys/fs/cgroup >>>>> none 5120 0 5120 0% /run/lock >>>>> none 2002168 8 2002160 1% /run/shm >>>>> none 102400 4 102396 1% /run/user >>>>> /dev/sdb1 957218452 302510240 606061252 34% /mnt/bkup/device2 >>>>> >>>>> But when I mount an external USB disk that's on /dev/sdc1, df shows this >>>>> output: >>>>> >>>>> Filesystem 1K-blocks Used Available Use% Mounted on >>>>> udev 1953632 4 1953628 1% /dev >>>>> tmpfs 400436 1272 399164 1% /run >>>>> /dev/sdc1 957218452 302334136 606237356 34% / >>>>> none 4 0 4 0% /sys/fs/cgroup >>>>> none 5120 0 5120 0% /run/lock >>>>> none 2002168 8 2002160 1% /run/shm >>>>> none 102400 4 102396 1% /run/user >>>>> /dev/sdb1 957218452 302498156 606073336 34% /mnt/bkup/device2 >>>>> /dev/sdc1 957218452 302564064 606007428 34% /mnt/bkup/externaldevice >>>>> >>>>> The filesystem of "/" has mysteriously changed (in appearance) to >>>>> /dev/sdc1?! All I did was mount the /dev/sdc1 device. In fact, >>>>> /dev/sdc1 is ONLY mounted at /mnt/bkup/externaldevice, and the mounted >>>>> filesystem on "/" is still /dev/sda1. I tested by writing a couple of >>>>> files, plus mount shows the correct info: >>>>> >>>>> /dev/sda1 on / type ext4 (rw,errors=remount-ro) >>>>> /dev/sdb1 on /mnt/bkup/device2 type ext4 (rw) >>>>> >>>>> If I unmount /mnt/bkup/externaldevice, df still shows /dev/sdc1 as the >>>>> "/" filesystem for a small amount of time (10-20 seconds) and then it >>>>> goes back to the correct filesystem of /dev/sda1. >>>>> >>>>> What is going on?? This only happened after upgrading to the package of >>>>> coreutils mentioned in the subject, it was not doing this previously. >>>>> Also, to note, the first two lines of the df output regarding udev and >>>>> tmpfs did not appear until this version either. I did see in the >>>>> changelog that df was updated to display some additional information, so >>>>> perhaps it has to do with that?? >>>> I see that ubuntu has backported _some_ patches from master. >>>> Perhaps they were incomplete. Could you please try out this latest df binary. >>>> >>>> wget http://www.pixelbeat.org/cu/df >>>> chmod a+x df >>>> ./df >>>> >>>> (There is a df.sig file is the same dir for gpg verification >>>> using the public key associated with this email address if desired) >>>> >>>> cheers, >>>> Pádraig. >>>> >>> Pádraig, thanks for the response. The df you provided (v8.24.113-84fcb) >>> also shows /dev/sdc1 in place of /dev/sda1 once the /dev/sdc1 device is >>> mounted, the same as in the example in the correspondence above. Is that >>> what you were expecting? >>> >>> I found a copy of the old df that was in use before the coreutils >>> package upgrade, and it presents as version 8.21 just like the current >>> one when running df --version. The package the original came from was >>> coreutils_8.21-1ubuntu5.1_amd64 and the df executable is dated Jan 13, >>> 2015. I just ran THAT df, and here's the output (with the /dev/sdc1 >>> device mounted): >>> >>> Filesystem 1K-blocks Used Available Use% Mounted on >>> /dev/sda1 957218452 304082900 604488592 34% / >>> none 4 0 4 0% /sys/fs/cgroup >>> udev 1953632 4 1953628 1% /dev >>> tmpfs 400436 1272 399164 1% /run >>> none 5120 0 5120 0% /run/lock >>> none 2002168 8 2002160 1% /run/shm >>> none 102400 4 102396 1% /run/user >>> /dev/sdb1 957218452 304106588 604464904 34% /mnt/bkup/device2 >>> /dev/sdc1 957218452 300703220 607868272 34% /mnt/bkup/externaldevice >>> >>> So, 2 things of note: 1) I was clearly incorrect in saying in my >>> original message that the udev and tmpfs lines weren't showing in the >>> original df listing, because there they are, they were just in a >>> different spot (ie, not at the top) as you can see above. Apologies for >>> the misinformation on that. 2) Well, you can see that the old df is >>> reporting the root filesystem as /dev/sda1 correctly. If I run your df, >>> or the newer df, both incorrectly show "/dev/sdc1" for the root >>> filesystem after /dev/sdc1 is mounted at /mnt/bkup/externaldevice. >>> >>> Also, here are the relevant lines from /proc/mounts and >>> /proc/self/mountinfo you had requested: >>> >>> /proc/mounts: >>> rootfs / rootfs rw 0 0 >>> /dev/sdb1 /mnt/bkup/device2 ext4 rw,relatime,data=ordered 0 0 >>> /dev/sdc1 /mnt/bkup/externaldevice ext4 rw,relatime,data=ordered 0 0 >>> >>> /proc/self/mountinfo: >>> 22 1 8:1 / / rw,relatime - ext4 >>> /dev/disk/by-uuid/ced6112c-e347-4ac4-a160-0b2f03c88602 >>> rw,errors=remount-ro,data=ordered >>> 23 22 8:17 / /mnt/bkup/device2 rw,relatime - ext4 /dev/sdb1 rw,data=ordered >>> 33 22 8:33 / /mnt/bkup/externaldevice rw,relatime - ext4 /dev/sdc1 >>> rw,data=ordered >>> >>> Also, it should be noted, upon looking further into the uuid for "/" >>> referenced in /proc/self/mountinfo, I found that that reference is >>> softlinked to "/dev/sdc1" and it stays that way even after the external >>> device is unmounted. Hmm. So /proc/self/mountinfo seems wrong about "/" >>> in this case, since it's not referencing /dev/sda in any way. And it's >>> odd that the older df works, even despite that issue. Maybe I'm not >>> clear on what all /proc/self/mountinfo is supposed to convey? And maybe >>> this bug is originating somewhere else outside of df then? >> Neither /proc/self/mounts or /proc/self/mountinfo mention /dev/sda1 ? >> That's weird. Note the older ubuntu df should be referencing /etc/mtab >> which these days is usually a link to /proc/self/mounts. >> The newer df will directly reference /proc/self/mountinfo. >> >> So it would be good to confirm that /etc/mtab is a symlink to /proc/self/mounts. >> Also it would be good to attach that file and /proc/self/mountinfo >> to avoid any ambiguity. >> >> thanks, >> Pádraig >> > Can't get those files attached at the moment, but I can confirm that > /etc/mtab is NOT a symlink to anything and is in fact its own file. And > this non-symlink /etc/mtab does reference /dev/sda1. FWIW. OK, well that explains why the older df works, as it only references the static /etc/mtab with no reference to either /proc/self/mounts or /proc/self/mountinfo. On your system these kernel generated files are incorrect for the / entry after mounting /dev/sdc1, and for about 20 seconds after unmounting that device. The newer df is only propagating that incorrect information, and so this seems to be a kernel or udev issue on your system. thanks, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 24 17:38:02 2018 Received: (at control) by debbugs.gnu.org; 24 Oct 2018 21:38:02 +0000 Received: from localhost ([127.0.0.1]:40830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFQqo-0000gy-Dl for submit@debbugs.gnu.org; Wed, 24 Oct 2018 17:38:02 -0400 Received: from mail-pg1-f173.google.com ([209.85.215.173]:35910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFQqm-0000gU-7b for control@debbugs.gnu.org; Wed, 24 Oct 2018 17:38:00 -0400 Received: by mail-pg1-f173.google.com with SMTP id l6-v6so2959962pgp.3 for ; Wed, 24 Oct 2018 14:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=meKfc9SozvOqXMOxHRqw67M0BYHQGPanEKBSvSIS7iI=; b=fgjuBJe9NUt9X9zxa3IuCcXV9TcU33fB3iLPN/N0DKVitVYr/L1u9tsTtV+VFGDVNT FVt5JAAQKHcLezWsCAC2Wmd3hk7iKhEhDo5ACGFdRrHJh0TuBbeyD0GQsjzhScI0Qw0P YoK+dhZIabtwWNKuIDFhxk1WIy0K2ytsWctyjDRBGziUnm3uzThBVXQRPXEcejaoO89a fN5T7FkMAMjCgAtOP6++xD46Y76IuIsnMqdbACCtWHDOH/aAAMDacftknys5+HYSKn5k PynwJgf8kKg6ojfQqJDxX6rXkCYhtCjwHJ0Mu7eQGpLcfRAnUff/OtxCVanHJUpTYznV gRug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=meKfc9SozvOqXMOxHRqw67M0BYHQGPanEKBSvSIS7iI=; b=C9am9ybpvInodaBnwyFOhXcPyWV2W5M8/ybziOBNQqqbkDz1YCzsKA2/l0lIJM79dL IfLHHtU3ecysE/E4hT0ZqZNHITJc99FB7sz2zvjmwzyMg23jqPc6R2RfUIW1zH0/vt9f HnsWF8t1T5fzskC/2Tq1Eq0yGsi433pB9rJFURtLrel7P6djFzzlUrGIt3xkIBG6eYZo ItVsPEk2zXzg6Elh0N4Xau9Vj35TvBdAmS3TPwpc2IhfJJGL7HWm2jPIUNkSoMiCdX5t +MSGjieRZdfdSmOspqv55EvCIPGITBb4VbtohxgKvy3NVTRvuZIbNyQ/NK+MYEymom7j KvyQ== X-Gm-Message-State: AGRZ1gKjD+OrEow2VJpvLtJN4ZGbvINGRaZ5APsGbVbpFCsZQA9FV3K3 rX7He0z9YMP+cr/YsduR2wM55MVABtM= X-Google-Smtp-Source: AJdET5fu5v9uwVhij2iDgFdGF2azrZGjYQUiJoHhgrbdbrmRUw2A2zM6vGssRv7VXZQrhYV3nKiDJQ== X-Received: by 2002:a63:cd45:: with SMTP id a5-v6mr4139779pgj.43.1540417074005; Wed, 24 Oct 2018 14:37:54 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id z87-v6sm11367061pfl.58.2018.10.24.14.37.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Oct 2018 14:37:52 -0700 (PDT) To: control@debbugs.gnu.org From: Assaf Gordon Message-ID: Date: Wed, 24 Oct 2018 15:37:51 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 22199 notabug close 22199 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.215.173 listed in list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) tags 22199 notabug close 22199 From unknown Sat Aug 09 13:00:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 22 Nov 2018 12:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator