document gvfsd debugging

This commit is contained in:
2024-04-22 16:02:29 +02:00
parent 134270ceaf
commit 8177440337
2 changed files with 21 additions and 8 deletions
+13
View File
@@ -0,0 +1,13 @@
# GVFS (Gnome Virtual Filesystem)
GVFS or `gio mount` allows access to different types of network filesystems like SMB/CIFS and protocols like FTP or SFTP.
If Nautilus access to such a destination or a `gio mount ...` does not work, following can be used to see what happens inside `gvfsd`:
```bash
GVFS_SMB_DEBUG=10 GVFS_DEBUG=1 $(find /usr/lib* -name gvfsd 2>/dev/null) --replace
```
of if Kerberos is involved and might be the issue:
```bash
KRB5_TRACE=/dev/stdout GVFS_SMB_DEBUG=10 GVFS_DEBUG=1 $(find /usr/lib* -name gvfsd 2>/dev/null) --replace
```
+8 -8
View File
@@ -1,13 +1,13 @@
# GVFS (Gnome Virtual Filesystem)
# Kerberos
GVFS or `gio mount` allows access to different types of network filesystems like SMB/CIFS and protocols like FTP or SFTP.
PSI Kerberos documentation: https://intranet.psi.ch/de/knowledge-base/kerberos-and-afs
If Nautilus access to such a destination or a `gio mount ...` does not work, following can be used to see what happens inside `gvfsd`:
- Old AIT AD Kerberos troubleshooting guide: [PDF](../_static/AIT-AD-Kerberos-Troubleshooting.pdf)
- Old AIT keytab file documentation: [PDF](../_static/AIT-Keytab-File.pdf)
Enable trace log of the Kerberos library to troubleshoot authentication problems (e.g. for curl):
```bash
GVFS_SMB_DEBUG=10 GVFS_DEBUG=1 $(find /usr/lib* -name gvfsd 2>/dev/null) --replace
```
of if Kerberos is involved and might be the issue:
```bash
KRB5_TRACE=/dev/stdout GVFS_SMB_DEBUG=10 GVFS_DEBUG=1 $(find /usr/lib* -name gvfsd 2>/dev/null) --replace
KRB5_TRACE=/dev/stderr curl -v --negotiate -u : https://boot00-test.psi.ch/sysdb/v1/node > /dev/null
```