Hi, Last change on locate.updatedb(8) ensures that the file passed via --fcodes option is in a writeable directory, and error out if it isn't. but it doesn't allow anymore '-' (output on stdout).
the use of '-' is documented has a valid option, and weekly(8) uses it in order to run locate.updatedb(8) has 'nobody' and have the output in tempfile under /var/db (place writable only by root). with the change, as weekly(8) run locate.updatedb(8) with 2>/dev/null, the error is silenciously discarded, letting the system without proper /var/db/locate.database file. # locate test locate: database too small: /var/db/locate.database The change should be discarded or at least permit '-' as valid option. Thanks. -- Sebastien Marie