Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCS module mangles path in nested NFS mount. #141

Open
jinks opened this issue Jul 20, 2022 · 0 comments
Open

VCS module mangles path in nested NFS mount. #141

jinks opened this issue Jul 20, 2022 · 0 comments

Comments

@jinks
Copy link

jinks commented Jul 20, 2022

When I cd into a deeply nested NFS mount the current path is somehow broken via the VCS module.

[root@client] ~ # showmount -e server
Export list for server:
/mnt/storage/share/Pictures     192.168.0.99
/mnt/storage/share/Programs     192.168.0.99
/mnt/storage/share/Downloads    192.168.0.99
/mnt/storage/share/Books        192.168.0.99
/mnt/storage/share/Clips        192.168.0.99
/mnt/storage/share/Music        192.168.0.99
/mnt/storage                    192.168.0.99

(The nested exports are because those are BTRFS subvolumes which require manually setting fsids)

[root@client] ~ # cd /mnt/server/share/Music/X-Mas

[root@client] /mnt/server/share/Music/X-Mas # /bin/ls
bin  boot  checkout  dev  esp  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var

[root@client] /mnt/server/share/Music/X-Mas # /bin/ls $PWD
'Die Stars Der Hitparade Feiern Weihnachten (2009)'  'RTL Weihnachten 2008'  'The Ultimate Christmas Music Collection'  'Various Artists'
'Frank Schöbel'                                      'Roland Kaiser'         'Top Christmas Songs of All Time'          'von Wilfried'

You can clearly see the difference between ls and ls $PWD, which should not exist.

Removing the VCS module from :prompt:grml:left:setup fixes this, but I can't determine why it happens in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant