-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-06-07 14:11, Vitezslav Cizek wrote:
On Mon, Jun 06, 2011 at 11:57:32PM +0200, Carlos E. R. wrote:
Yes, it should be fixed that cronie fails silently when it finds an entry with a dash. It should complain in the log and/or the email that the plain users can not use the dash; and ignore the dash and execute the entry, and log it.
It doesn't fail silently, it complains to syslog with: "(CRON) ERROR (Only privileged user can disable logging)"
It fails silently. The syslog entry existed already, machine was using cron. Then machine is upgraded to oS 11.4, cron changed to cronie (not my decision), entry is no longer valid, it is not executed, nothing in syslog. Silence. It complains to syslog when the user edits the entry; but then remember that a plain user is not authorized to see what is in syslog (-rw-r----- root root), so to all purposes the failure is also silent.
I prefer Stefan's approach, cron will strip leading dashes from unprivileged users' crontabs during an update.
Too late. 11.4 was released.
The only case when a dash can slip to a user's crontab remains, when someone copies a crontab between different systems, but this is the user's fault and he should handle it himself.
You forget supported scenario of openSUSE upgrade. Not the user fault, but the packager fault. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk3uKh4ACgkQtTMYHG2NR9Xx0wCgj9slsLk0Vdw/sdZGfRaD/+k0 HU0AnA85wfXL9m2AB+LZ9dS5MkPHSoUC =gIYP -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org