GNU bug report logs - #73134
coreutils: df: no file systems processed

Previous Next

Package: coreutils;

Reported by: Felix Miata <mrmazda <at> earthlink.net>

Date: Mon, 9 Sep 2024 04:09:04 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73134 in the body.
You can then email your comments to 73134 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#73134; Package coreutils. (Mon, 09 Sep 2024 04:09:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Felix Miata <mrmazda <at> earthlink.net>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 09 Sep 2024 04:09:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Felix Miata <mrmazda <at> earthlink.net>
To: bug-coreutils <at> gnu.org
Cc: Andreas Schwab <schwab <at> suse.de>, Thorsten Kukuk <kukuk <at> suse.com>,
 Bernhard Voelker <mail <at> bernhard-voelker.de>
Subject: coreutils: df: no file systems processed
Date: Sun, 8 Sep 2024 17:45:04 -0400
Systems experienced on:
openSUSE Tumbleweed 20240906 (coreutils-9.5-3.1; kernel 6.9.9, 6.6.49, 6.10.7)
Fedora 40 (kernel 6.9.12)
Debian Trixie/testing (kernel 6.9.12)
# inxi -CSM
System:
  Host: ab85m Kernel: 6.9.9-1-default arch: x86_64 bits: 64
  Console: pty pts/0 Distro: openSUSE Tumbleweed 20240906
Machine:
  Type: Desktop System: ASUS product: All Series v: N/A serial: N/A
  Mobo: ASUSTeK model: B85M-E v: Rev X.0x serial: <filter>
    UEFI: American Megatrends v: 3602 date: 04/04/2018
CPU:
  Info: dual core model: Intel Pentium G3220 bits: 64 type: MCP cache:
    L2: 512 KiB
# inxi -CMS
System:
  Host: ab560 Kernel: 6.9.12-200.fc40.x86_64 arch: x86_64 bits: 64
  Console: pty pts/0 Distro: Fedora Linux 40 (Forty)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
  Mobo: ASUSTeK model: PRIME B560M-A v: Rev 1.xx serial:
   <filter> UEFI: American Megatrends v: 1601 date: 05/07/2022
CPU:
  Info: 6-core model: 11th Gen Intel Core i5-11400 bits: 64 type: MT MCP
    cache: L2: 3 MiB
# inxi -CMS
System:
  Host: ab250 Kernel: 6.9.12-amd64 arch: x86_64 bits: 64
  Console: pty pts/0 Distro: Debian GNU/Linux trixie/sid
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B250M-C v: Rev X.0x
    serial: <filter> UEFI: American Megatrends v: 1608 date: 10/21/2019
CPU:
  Info: quad core model: Intel Core i5-7500T bits: 64 type: MCP cache:
    L2: 1024 KiB

Expected behavior (as user, OK):
tst2000 <at> ab85m:~> ls -1 /sys/firmware/efi/efivars | wc
    103     103    5245
tst2000 <at> ab85m:~> df /sys/firmware/efi/efivars/
Filesystem     1K-blocks  Used Available Use% Mounted on
efivarfs             128   103        21  84% /sys/firmware/efi/efivars
tst2000 <at> ab85m:~>

Actual behavior (as root, not OK):
ab85m:~# ls -1 /sys/firmware/efi/efivars | wc
    103     103    5245
ab85m:~ # df /sys/firmware/efi/efivars/
df: no file systems processed
ab85m:~ #

Anything any ordinary user can do the superuser ought be able to do, especially
when involving OS, right???
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata




Information forwarded to bug-coreutils <at> gnu.org:
bug#73134; Package coreutils. (Mon, 09 Sep 2024 19:44:01 GMT) Full text and rfc822 format available.

Message #8 received at 73134 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Felix Miata <mrmazda <at> earthlink.net>, 73134 <at> debbugs.gnu.org
Cc: Andreas Schwab <schwab <at> suse.de>, Thorsten Kukuk <kukuk <at> suse.com>
Subject: Re: bug#73134: coreutils: df: no file systems processed
Date: Mon, 9 Sep 2024 21:43:18 +0200
On 9/8/24 11:45 PM, Felix Miata wrote:
> ab85m:~ # df/sys/firmware/efi/efivars/
> df: no file systems processed
> ab85m:~ #
>
> Anything any ordinary user can do the superuser ought be able to do, especially
> when involving OS, right???

This is not necessarily true, because the kernel decides what 'root' is allowed to do.
I don't have such an efi mount point right here to test, but a different one for which
the kernel denies access for root:

  $ sudo strace -e newfstatat df -h /run/user/1000/gvfs
  newfstatat(AT_FDCWD, "/run/user/1000/gvfs", 0x55cd2e4c0e50, 0) = -1 EACCES (Permission denied)
  df: /run/user/1000/gvfs: Permission denied
  +++ exited with 1 +++

Have a nice day,
Berny




Information forwarded to bug-coreutils <at> gnu.org:
bug#73134; Package coreutils. (Mon, 09 Sep 2024 21:10:02 GMT) Full text and rfc822 format available.

Message #11 received at 73134 <at> debbugs.gnu.org (full text, mbox):

From: Felix Miata <mrmazda <at> earthlink.net>
To: 73134 <at> debbugs.gnu.org
Subject: Re: bug#73134: coreutils: df: no file systems processed
Date: Mon, 9 Sep 2024 17:08:58 -0400
In openSUSE forum thread
<https://forums.opensuse.org/t/make-tumbleweed-hard-disk-bootable-and-grub-question/178030/265>
I reported I could not not produce the "df: no file systems processed"
response as root no matter the computer, OS or kernel (Debian, Fedora,
Mageia, Mint, MX, openSUSE, Ubuntu; always and only using EXT4) while
100% of thread responders reported inability to produce
"df: no file systems processed"
as root (most if not all of whom are BTRFS users).
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata




bug closed, send any further explanations to 73134 <at> debbugs.gnu.org and Felix Miata <mrmazda <at> earthlink.net> Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Sun, 16 Feb 2025 06:59:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 16 Mar 2025 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.