diff --git a/aaa_base.changes b/aaa_base.changes index b560bd9..1845a6f 100644 --- a/aaa_base.changes +++ b/aaa_base.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 27 15:05:22 CEST 2010 - ro@suse.de + +- switch SEND_OUTPUT_ON_NO_ERROR from yes to no in postinstall + and only do that exactly once to switch the default (bnc#622203) + ------------------------------------------------------------------- Thu Aug 26 12:19:53 CEST 2010 - ro@suse.de diff --git a/aaa_base.post b/aaa_base.post index 662167c..3285543 100644 --- a/aaa_base.post +++ b/aaa_base.post @@ -65,6 +65,12 @@ if grep -q RCCONFIG_BACKUP_DIR../var/adm/backup/rpmdb etc/sysconfig/backup; then mv /var/adm/backup/rpmdb/sysconfig[-_]* /var/adm/backup/sysconfig 2>/dev/null fi +if grep -q "SEND_OUTPUT_ON_NO_ERROR=\"yes\"" etc/sysconfig/cron -a ! -f var/adm/bnc_622203_fixed ; then + sed -e "s|^SEND_OUTPUT_ON_NO_ERROR=\"yes\"|SEND_OUTPUT_ON_NO_ERROR=\"no\"|" \ + etc/sysconfig/cron > etc/sysconfig/cron.new \ + && mv etc/sysconfig/cron.new etc/sysconfig/cron + touch var/adm/bnc_622203_fixed +fi # clear old install settings of MODULES_LOADED_ON_BOOT eval `grep "^MODULES_LOADED_ON_BOOT" etc/sysconfig/kernel`