[DragonFlyBSD - Bug #2908] (Closed) ls: .: Socket is not connected

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Mon May 30 04:08:04 PDT 2016


Issue #2908 has been updated by tkusumi.

Status changed from New to Closed

----------------------------------------
Bug #2908: ls: .: Socket is not connected
http://bugs.dragonflybsd.org/issues/2908#change-12894

* Author: tkusumi
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
Weird ls behavior on cache_resolve().
stat(".",0x7fffffffee70)                         ERR#57 'Socket is not connected'
lstat(".",0x7fffffffee70)                        ERR#57 'Socket is not connected'
open(".",0x20000,00)                             ERR#57 'Socket is not connected'

This is namei lookup issue.
This has existed since at least 4.0 or 4.2.

hammer
[root@]~# mount_hammer /dev/da1:/dev/da2:/dev/da3 /mnt
[root@]~# cd /mnt
[root@]/mnt# umount /mnt
umount: unmount of /mnt failed: Device busy
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# cd
[root@]~# ls /mnt
[root@]~# umount /mnt

tmpfs
[root@]~# mount_tmpfs none /mnt
[root@]~# cd /mnt
[root@]/mnt# umount /mnt
umount: unmount of /mnt failed: Device busy
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# cd
[root@]~# ls /mnt
[root@]~# umount /mnt

warnings in dmesg
[root@]~# dmesg | tail -6
Warning: cache_resolve: ncp '(null)' was unlinked
Warning: cache_resolve: ncp '(null)' was unlinked
Warning: cache_resolve: ncp '(null)' was unlinked
Warning: cache_resolve: ncp '(null)' was unlinked
Warning: cache_resolve: ncp '(null)' was unlinked
Warning: cache_resolve: ncp '(null)' was unlinked

On FreeBSD
[root@]~# uname -r
11.0-CURRENT
[root@]~# mount -t tmpfs none /mnt
[root@]~# cd /mnt
[root@]/mnt# umount /mnt
umount: unmount of /mnt failed: Device busy
[root@]/mnt# ls
[root@]/mnt# ls
[root@]/mnt# ls
[root@]/mnt# cd
[root@]~# ls /mnt
[root@]~# umount /mnt




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list