Package: plocate
Version: 1.1.14-1
Severity: normal

Dear Maintainer,

On a machine with a CIFS mount on /mnt, plocate-updatedb.service
failed and updatedb.plocate printed:

/: Host is down

Running updatedb.plocate -v printed:

//initrd.img.old
//vmlinuz.old
//mnt
//root
//vmlinuz
//sys
//bin
//run
//etc
//libx32
//lib32
//var
//initrd.img
//usr
//lib
//tmp
//proc
//srv
//home
//dev
//lost+found
//lib64
//media
//sbin
//opt
//boot
/: Host is down

It turns out this the failure was due to a network issue which
prevented contacting the host for the CIFS mount on /mnt.  However,
this presents several issues that might be worth addressing:

1. The error message contains the parent directory, rather than the
   directory which could not be read, which makes the error harder to
   diagnose.
2. The error occurred on a CIFS filesystem, which is excluded by
   PRUNEFS in /etc/updatedb.conf.  Presumably it should be skipped
   rather than causing an error.
3. updatedb immediately aborts, rather than updating the database for
   the rest of the filesystem.  In this case, since the failing mount
   was at the root, the entire tree is skipped.

Let me know if you'd like me to report any of these issues separately.

Thanks for considering,
Kevin


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (990, 'testing-debug'), (990, 'testing'), (500, 
'unstable-debug'), (500, 'stable-debug'), (500, 'oldoldstable'), (500, 
'unstable'), (101, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0+ (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages plocate depends on:
ii  libc6       2.33-2
ii  libgcc-s1   11.2.0-13
ii  libstdc++6  11.2.0-13
ii  liburing2   2.1-2
ii  libzstd1    1.4.8+dfsg-3

plocate recommends no packages.

Versions of packages plocate suggests:
ii  powermgmt-base  1.36
ii  systemd-sysv    250.2-3

-- no debconf information

Reply via email to