Your message dated Sun, 20 Dec 2020 21:51:21 +0000 with message-id <[email protected]> and subject line Bug#929763: fixed in systemd-cron 1.5.16-1 has caused the Debian Bug report #929763, regarding runs backup files 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.) -- 929763: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929763 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: systemd-cron Version: 1.5.14-2 Severity: normal This log strongly indicates systemd-cron is trying to "do things" with backup files: 2019-05-31T01:29:30+1000 not-omega systemd[1]: cron.target: Wants dependency dropin /run/systemd/generator/cron.target.wants/cron-ntpsec~-root-0.timer is not a valid unit name, ignoring. This happened after I edited /etc/cron.d/ntpsec-ntpviz, thereby creating a backup file /etc/cron.d/ntpsec-ntpviz~. https://manpages.debian.org/stretch/cron/cron.8.en.html#DEBIAN_SPECIFIC https://manpages.debian.org/run-parts Vixie cron ignores backups in /etc/cron.d/, so systemd-cron should, too. The actual code in Vixie cron is below; it's the same as run-parts(8). systemd-cron needs similar logic. pathnames.h:#define SYSCRONDIR "/etc/cron.d" database.c: if (!(dir = opendir(SYSCRONDIR))) { database.c: while (dir != NULL && NULL != (dp = readdir(dir))) { database.c: /* skipfile names with letters outside the set database.c: * [A-Za-z0-9_-], like run-parts. database.c: */ database.c: if (!valid_name(dp->d_name)) database.c: continue; database.c:/* True or false? Is this a valid filename? */ database.c: database.c:/* Taken from Clint Adams 'run-parts' version to support lsb style database.c: names, originally GPL, but relicensed to cron license per e-mail of database.c: 27 September 2003. I've changed it to do regcomp() only once. */ database.c: database.c:static int database.c:valid_name(char *filename) database.c:{ database.c: static regex_t hierre, tradre, excsre, classicalre; database.c: static int donere = 0; database.c: database.c: if (!donere) { database.c: donere = 1; database.c: if (regcomp(&hierre, "^_?([a-z0-9_.]+-)+[a-z0-9]+$", database.c: REG_EXTENDED | REG_NOSUB) database.c: || regcomp(&excsre, "^[a-z0-9-].*dpkg-(old|dist)$", database.c: REG_EXTENDED | REG_NOSUB) database.c: || regcomp(&tradre, "^[a-z0-9][a-z0-9-]*$", REG_NOSUB) database.c: || regcomp(&classicalre, "^[a-zA-Z0-9_-]+$", database.c: REG_EXTENDED | REG_NOSUB)) { database.c: log_it("CRON", getpid(), "REGEX FAILED", "valid_name"); database.c: (void) exit(ERROR_EXIT); database.c: } database.c: } database.c: if (lsbsysinit_mode) { database.c: if (!regexec(&hierre, filename, 0, NULL, 0)) { database.c: return regexec(&excsre, filename, 0, NULL, 0); database.c: } else { database.c: return !regexec(&tradre, filename, 0, NULL, 0); database.c: } database.c: } database.c: /* Old standard style */ database.c: return !regexec(&classicalre, filename, 0, NULL, 0); database.c:}
--- End Message ---
--- Begin Message ---Source: systemd-cron Source-Version: 1.5.16-1 Done: Alexandre Detiste <[email protected]> We believe that the bug you reported is fixed in the latest version of systemd-cron, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alexandre Detiste <[email protected]> (supplier of updated systemd-cron package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 20 Dec 2020 22:33:59 +0100 Source: systemd-cron Architecture: source Version: 1.5.16-1 Distribution: unstable Urgency: low Maintainer: Debian Systemd Maintainers <[email protected]> Changed-By: Alexandre Detiste <[email protected]> Closes: 929763 949851 Changes: systemd-cron (1.5.16-1) unstable; urgency=low . * New upstream release * fix typo in package decription (Closes: #949851) * do not run backup files in /etc/cron.d/ (Closes: #929763) Checksums-Sha1: 39e2bf1337f302ed68adcd8a5f106fd978ef13c5 2068 systemd-cron_1.5.16-1.dsc ea029ff89fe3da4adc5d69b3a25d29b941c53936 32331 systemd-cron_1.5.16.orig.tar.gz 8c9d5f0d8bbd90f52839c537cb3aef352336d73b 6720 systemd-cron_1.5.16-1.debian.tar.xz 02bcb22b0e0fc2c452fc5d996935b2e585d56970 6737 systemd-cron_1.5.16-1_source.buildinfo Checksums-Sha256: 45d870a3133ff6386ddd5f1df11aadece1ab2999f96b02de6690b372167991f7 2068 systemd-cron_1.5.16-1.dsc a256143677ff9f3bb64abb66e405bb9cd7a468131599eba9ba094d8d75c77bb9 32331 systemd-cron_1.5.16.orig.tar.gz eb2d9b974a02c74ed57d28b8421297b4c41a74df1f97b990a6ec954f0add7e9f 6720 systemd-cron_1.5.16-1.debian.tar.xz 3479721944be0995c484942cee6a7f12f8973d51440be6f5d34151f3eda17ac9 6737 systemd-cron_1.5.16-1_source.buildinfo Files: 17a4eca6db8c85d669439fa217b120b2 2068 admin optional systemd-cron_1.5.16-1.dsc 5dc8da2db01b58228492b2620508a7ce 32331 admin optional systemd-cron_1.5.16.orig.tar.gz 4b65c5256eb93acf03d2b390c9162abb 6720 admin optional systemd-cron_1.5.16-1.debian.tar.xz 4c3afed71c343cd843a574fd023b257f 6737 admin optional systemd-cron_1.5.16-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAl/fxGMACgkQMfMURUSh dBovBw//doWyH3ZYbC3XWNBP8RsHLWYanCO28qVxO6O/y+ccDt47HHVcXKI1Tjy7 +p1w36dgr49I0D4H9i1yP2OicvptYbTsw/2NREtn/pIkTGbzgSxhRgsuU6C1R7iy aEl1ICtSgKfkduJXIvOsrpg2YX8iCGbGK1FAXbtYAuhSrWa47Xpv7uFasNQsWQ1J nwHBVOLQY/ljzSW4yTZQTN8MeF9Cn2HoCoMKEaZeIxBzULmtWA+adMYMT1NUcMn3 6gv5La2miHDrt9vrwZVKzgOdLArLIn4s9J2yxIPkjm4930D9p9ovcAgFaSdui2o/ hSoFWxBW00GlqNs1EQ56qHZf7wtEFFKpzVjr3HhgRtitkSfg4BW0hb7W5NCsGb+c EoWP6bKoK6kVt69TNYrBZiJm2BFKv+7CW9CXT50H7ZfPreo/7BNlrDDXaDfsXidh Vlz6J5Hr6t45121LJtJf8IujanwXXHVV8TJIaicw2idMah8jYJOeBoLQE0GBZYor cA1CbXAItGhypTqD1U+yC0qJ/rTP+rVqZljWDbMuRuP0J1ins2Wqu0mdWGfO2VK3 qOtvVGXCkbYHKmvfoLHPW53TgravhjyHwJnzLd3Z83ojLc654U6H2FzWX3piK+C6 FMrneS4yci2unANza7dXNE6aRJwbR2xmjnj+dI25W19C5c+I4ak= =s3Nv -----END PGP SIGNATURE-----
--- End Message ---
