Mailinglist Archive: opensuse-factory (710 mails)

< Previous Next >
Re: [opensuse-factory] Cronie as default cron in Factory
Am Mon, 6 Jun 2011 17:02:17 +0200
schrieb Vitezslav Cizek <vcizek@xxxxxxx>:

You're right.
But as this behaviour was caused by a bug, I think it should be fixed.

Then we should probably fix the crontabs during the update.
The user hit by a regression will not care if this worked due to a bug
before.

it will probably be something like

for i in /var/spool/cron/tabs/*; do
case $i in
*/\*) continue ;; # no crontabs present
*/root) continue ;; # root is allowed
*) sed -i 's/^-//' $i ;;
esac
done

in %postin

You'll have to do this for the next SLES anyway as such a regression will
probably not be tolerated there ;)
--
Stefan Seyfried

"Dispatch war rocket Ajax to bring back his body!"
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >