Performing verification for Jammy

I set up two Jammy VMs, one a nfs-server and the other an autofs/nfs-
client.

The client is using coreutils 8.32-4.1ubuntu1.1 from -updates.

$ apt-cache policy coreutils | grep Installed
  Installed: 8.32-4.1ubuntu1.1
  
I set up the nfs server and autofs mounts as the Testcase indicates.

$ ls -l
ls: cannot access 'export-missing': No such file or directory
total 4
drwxr-xr-x 3 root root 4096 Mar 20 22:16 export
d????????? ? ?    ?       ?            ? export-missing

$ mount -l | grep mnt2
/etc/auto.indirect on /mnt2 type autofs 
(rw,relatime,fd=6,pgrp=692,timeout=300,minproto=5,maxproto=5,indirect,pipe_ino=21588)
192.168.122.65:/export on /mnt2/export type nfs 
(rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.122.65,mountvers=3,mountport=47718,mountproto=udp,local_lock=none,addr=192.168.122.65)

The mounts were previously unmounted, but when I issue 'ls -l', the
mounts occur, which is not wanted, and we error out on the non-existant
export-missing mount.

I then enabled -proposed, and installed coreutils 8.32-4.1ubuntu1.2.

$ apt-cache policy coreutils | grep Installed
  Installed: 8.32-4.1ubuntu1.2

From there, lets try the 'ls -l':

$ ls -l
total 0
drwxr-xr-x 2 root root 0 Mar 20 22:25 export
drwxr-xr-x 2 root root 0 Mar 20 22:25 export-missing

$ mount -l | grep mnt2
/etc/auto.indirect on /mnt2 type autofs 
(rw,relatime,fd=6,pgrp=648,timeout=300,minproto=5,maxproto=5,indirect,pipe_ino=16856)

This time the mounts do not occur, we just get a listing of the possible
autofs mounts. We can confirm with 'mount -l' that nothing was actually
actioned.

The package in -proposed fixes the issues. Happy to mark verified for
Jammy.

** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2033892

Title:
  ls -l triggers mount of autofs shares when --ghost option is present
  or browse_mode is enabled

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to