Package: davfs2
Version: 1.6.0-1
Severity: important
Dear Maintainer,
a move command was issued to move a directory from a local directory onto a
mounted webdav resource.
The mount is system-wide, configured in /etc/fstab and handled by systemd.
After creating the target directory and successfully copying one file, mv hangs
busy (100% of one CPU core).
Analysing the system showed that the corresponding mount.davfs background
process was gone. No message as of
the cause could be found in /var/log/daemon.log. No message at all at that time
is shown in dmesg. The mv
process cannot be killed (not even with -KILL, neither with -STOP), trying to
attach with strace or gdb
just hangs strace/gdb (can be killed). Any command accessing the stale webdav
mount point also hangs unkillable,
however not consuming CPU.
The mv command does not hold a file descriptor on the stale mount, I'd conclude
that it hangs in an "open"
system call. Its process status is R (running), not D (uninteruptible sleep)!
The process is not consuming
more memory, not generating I/O, nor generating any diagnostic (neither itself
nor from the kernel). It
remains a mystery what it is doing.
Unmounting the volume is not possible (device busy). After a lazy unmount,
mounting the webdav resource again
is possible and the mount point is usable for any future access. Moving the
same directory again worked without
problems, so the presumed crash of mount.davfs was not related to the content.
The original mv command is still running constantly consuming one CPU core
after 24 hours.
I'd expect to see a diagnostic log entry from the crashing mount.davfs process.
I'd expect the user space
programs accessing the stale mount point to receive an I/O error.
Yours,
Andreas.
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-4-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de:en_US
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages davfs2 depends on:
ii adduser 3.118
ii debconf [debconf-2.0] 1.5.75
ii libc6 2.31-10
ii libneon27 0.31.2-1
davfs2 recommends no packages.
davfs2 suggests no packages.
-- Configuration Files:
/etc/davfs2/davfs2.conf changed:
connect_timeout 10
read_timeout 30
retry 5
max_retry 300
# httpauth, locks, ssl, httpbody, secrets, most
/etc/davfs2/secrets [Errno 13] Keine Berechtigung: '/etc/davfs2/secrets'
-- debconf information:
davfs2/new_user: true
davfs2/group_name: davfs2
davfs2/non_root_users_confimed:
davfs2/user_name: davfs2
* davfs2/suid_file: true
davfs2/new_group: true