Your message dated Wed, 18 Aug 2021 23:20:09 +0200
with message-id <YR15iKmCv/[email protected]>
and subject line Re: Bug#981649: mlocate: updatedb fails silently on 
configuration syntax error
has caused the Debian Bug report #981649,
regarding mlocate: updatedb fails silently on configuration syntax error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
981649: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981649
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mlocate
Version: 0.26-5
Severity: normal
X-Debbugs-Cc: none, Francesco Potortì <[email protected]>

When updatedb was run by cron, an error would be mailed to root.  With
systemd, this is not longer the case.

I changed something in /etc/updatedb.conf and introduced a syntax error.
I realised that only some days later, after noticing that some files
were not present in the mlocate database.

updatedb should notify something when it sees an error instead of
failing silently

-- 
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(gate 20, 1st floor, room C71)         Web:    http://fly.isti.cnr.it


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (101, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mlocate depends on:
ii  adduser  3.118
ii  libc6    2.31-9

mlocate recommends no packages.

Versions of packages mlocate suggests:
ii  nocache  1.1-1+b1

-- Configuration Files:
/etc/updatedb.conf changed:
PRUNE_BIND_MOUNTS="yes"
PRUNENAMES=".git .bzr .hg .svn"
PRUNEPATHS="/tmp /media /backup /mnt /scratch/ftp/riservato /scratch/oldfly"
PRUNEFS="NFS afs autofs binfmt_misc ceph cgroup cgroup2 cifs coda configfs 
curlftpfs debugfs devfs devpts devtmpfs ecryptfs ftpfs fuse.ceph fuse.glusterfs 
fuse.gvfsd-fuse fuse.mfs fuse.rozofs fuse.sshfs fusectl fusesmb hugetlbfs 
iso9660 lustre lustre_lite mfs mqueue ncpfs nfs nfs4 ocfs ocfs2 proc pstore 
rpc_pipefs securityfs shfs smbfs sysfs tmpfs tracefs udev udf usbfs 
fuse.fuseiso"


-- no debconf information

--- End Message ---
--- Begin Message ---
On Tue, Feb 02, 2021 at 04:32:01PM +0100, Francesco Potortì wrote:
> When updatedb was run by cron, an error would be mailed to root.  With
> systemd, this is not longer the case.
> 
> I changed something in /etc/updatedb.conf and introduced a syntax error.
> I realised that only some days later, after noticing that some files
> were not present in the mlocate database.
> 
> updatedb should notify something when it sees an error instead of
> failing silently

Hi,

mlocate has been removed from Debian, and has been replaced with plocate.
I'm going through the list of mlocate bugs to try to figure out if any of
them are relevant for plocate.

However, this isn't really something updatedb, or any other periodic job,
can do much about. (What would it do; call out to /usr/sbin/sendmail on
syntax error? What about on a crash?) If a service on your system fails, it
is your job as admin to notice that. If systemd does not give you the
adequate tools to do so conveniently, that may very well be a (wishlist) bug
against systemd -- but it is not updatedb's fault, and cannot be reasonably
fixed there.

/* Steinar */
-- 
Homepage: https://www.sesse.net/

--- End Message ---

Reply via email to