Package: adduser Version: 3.118 Severity: normal Dear Maintainer,
When deleting a user with `--remove-all-files`, I have seen the script take an inordinately long time, and investigating with `lsof` I found it was descending into rclone mounts, despite having disable this in the deluser.conf file, because I had expected traversing those mounts to be both pointless and slow. Looking at the perl script, it looks like the set of mounts to descend or not descend into is built as `@mountpoints`, and a bit of print-debugging indicated that these mounts weren't being added to the array, as expected. However, it looks like `@mountpoints` is only actually referenced in the block for `sub home_match`; it's not used in `sub find_match`, which is the one that's invoked when removing all files rather than just home directories. At least by my reading of deluser.conf, this isn't expected, and the `EXCLUDE_FSTYPES` configuration should affect both runs with `--remove-home` and `--remove-all-files`. -- System Information: Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye Architecture: armv7l Kernel: Linux 5.10.63-v7l+ (SMP w/4 CPU threads) Kernel taint flags: TAINT_CRAP Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages adduser depends on: ii debconf [debconf-2.0] 1.5.77 ii passwd 1:4.8.1-1 adduser recommends no packages. Versions of packages adduser suggests: ii liblocale-gettext-perl 1.07-4+b1 ii perl 5.32.1-4+deb11u2 -- Configuration Files: /etc/deluser.conf changed: REMOVE_HOME = 0 REMOVE_ALL_FILES = 0 BACKUP = 0 BACKUP_TO = "." ONLY_IF_EMPTY = 0 EXCLUDE_FSTYPES = "(proc|sysfs|usbfs|devpts|tmpfs|afs|fuse.rclone)" -- debconf information: * adduser/homedir-permission: true adduser/title: