aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2011-05-25 12:32:40 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2011-05-25 12:32:40 +0000
commitea166f3fed90711ad333de6864835173dc5bbd94 (patch)
tree764a56233e25ed1b22fb409ff29b311accf72702
parent0fad9f3d6739efe949b2c05ded4bb36accec42f9 (diff)
downloadmsec-ea166f3fed90711ad333de6864835173dc5bbd94.tar
msec-ea166f3fed90711ad333de6864835173dc5bbd94.tar.gz
msec-ea166f3fed90711ad333de6864835173dc5bbd94.tar.bz2
msec-ea166f3fed90711ad333de6864835173dc5bbd94.tar.xz
msec-ea166f3fed90711ad333de6864835173dc5bbd94.zip
don't pass '--noscripts' to 'rpm -Va' (#62644)
-rw-r--r--NEWS1
-rwxr-xr-xcron-sh/scripts/03_rpm.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 9e74f67..89f6043 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- don't pass '--noscripts' to 'rpm -Va' (#62644)
- rotate /var/log/msec.log together with /var/log/security.log
- properly handle cases when /etc/sysconfig/i18n is not there
- properly handling startx parsing (#60440)
diff --git a/cron-sh/scripts/03_rpm.sh b/cron-sh/scripts/03_rpm.sh
index cf84d6e..e2b2b5f 100755
--- a/cron-sh/scripts/03_rpm.sh
+++ b/cron-sh/scripts/03_rpm.sh
@@ -48,7 +48,7 @@ fi
# integrity of installed packages
if check_is_enabled "${CHECK_RPM_INTEGRITY}" ; then
rm -f ${RPM_VA_TODAY}.tmp
- nice --adjustment=+19 rpm -Va --noscripts | grep '^..5' | sort > ${RPM_VA_TODAY}.tmp
+ nice --adjustment=+19 rpm -Va | grep '^..5' | sort > ${RPM_VA_TODAY}.tmp
Filter ${RPM_VA_TODAY} CHECK_RPM_INTEGRITY
grep -v '^..........c.' ${RPM_VA_TODAY}.tmp | sed 's/^............//' | sort > ${RPM_VA_TODAY}
grep '^..........c.' ${RPM_VA_TODAY}.tmp | sed 's/^............//' | sort > ${RPM_VA_CONFIG_TODAY}