← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2115274] Please test proposed package

 

Hello Ghadi, or anyone else affected,

Accepted coreutils into noble-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/coreutils/9.4-3ubuntu6.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2115274

Title:
  ls -l returns permission denied errors on NFS share to /home

Status in coreutils package in Ubuntu:
  Fix Committed
Status in coreutils source package in Noble:
  Fix Committed
Status in coreutils source package in Oracular:
  Won't Fix
Status in coreutils source package in Plucky:
  Fix Committed
Status in coreutils source package in Questing:
  Fix Committed

Bug description:
  Thank you @joalif for troubleshooting the issue and finding the
  required commit.

  [impact]

  When hosting an NFS share that is sharing the home directory of users
  (e.g. /home), doing an "ls -l" on a client that has access to this
  share will return permission denied errors for each user before
  showing the output of the command. Below is an example output of the
  current version of ls:

  ghadi@nfs-client:/mnt/nfs_clientshare$ ls -l
  ls: test_user1: Permission denied
  ls: test_user2: Permission denied
  total 12
  drwxr-x--- 5 ghadi ghadi 4096 May  7 18:17 ghadi
  drwxr-x--- 2  1001  1001 4096 Jun 17 15:25 test_user1
  drwxr-x--- 2  1002  1002 4096 Jun 17 15:27 test_user2

  There has been a patch upstream to resolve this issue that I have
  already backported after some modifications to fit the current version
  of coreutils being used:
  https://cgit.git.savannah.gnu.org/cgit/coreutils.git/commit/?id=b58e321c8d5dd841f4170312692035a66b5ac149

  [Test Plan]

  1. On the NFS server create a few users and make sure they have a home directory:
   $ sudo useradd -m test_user1
   $ sudo useradd -m test_user2

  2. Then setup the NFS server and make sure to share /home

  3. On the client machine, mount the NFS share and run "ls -l"

  4. With the current version of coreutils you will see the following
  output:

  $ ghadi@nfs-client:/mnt/nfs_clientshare$ ls -l
  ls: test_user1: Permission denied
  ls: test_user2: Permission denied
  total 12
  drwxr-x--- 5 ghadi ghadi 4096 May  7 18:17 ghadi
  drwxr-x--- 2  1001  1001 4096 Jun 17 15:25 test_user1
  drwxr-x--- 2  1002  1002 4096 Jun 17 15:27 test_user2

  However in the patched version you will see the following:

  $ ghadi@nfs-client:/mnt/nfs_clientshare$ ls -l 
  total 12
  drwxr-x---  5 ghadi ghadi 4096 May  7 18:17 ghadi
  drwxr-x---? 2  1001  1001 4096 Jun 17 15:25 test_user1
  drwxr-x---? 2  1002  1002 4096 Jun 17 15:27 test_user2

  
    
  [Where problems could occur]

  * The patch adds "?" symbols when it cannot get the metadata which could cause issues with some scripts
  * Some errors that should be displayed might stop being displayed specially if they are related to reading file attributes (operations that involve the listxattr syscall)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/2115274/+subscriptions



References