Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lynis for openSUSE:Factory checked 
in at 2021-09-16 23:14:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lynis (Old)
 and      /work/SRC/openSUSE:Factory/.lynis.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lynis"

Thu Sep 16 23:14:54 2021 rev:46 rq:919481 version:3.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/lynis/lynis.changes      2021-07-05 
22:24:07.149193036 +0200
+++ /work/SRC/openSUSE:Factory/.lynis.new.1899/lynis.changes    2021-09-16 
23:17:38.047982313 +0200
@@ -1,0 +2,7 @@
+Thu Sep 16 08:59:23 UTC 2021 - Johannes Segitz <jseg...@suse.com>
+
+- Changed tests_binary_rpath to subtract points for files found with RPATH set,
+  not add points for files that are configured correctly. This resulted in a 
+  huge number of points that skewed the overal result
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------


++++++ tests_binary_rpath ++++++
--- /var/tmp/diff_new_pack.TBNUlm/_old  2021-09-16 23:17:38.759983051 +0200
+++ /var/tmp/diff_new_pack.TBNUlm/_new  2021-09-16 23:17:38.759983051 +0200
@@ -32,14 +32,12 @@
 
        RPNOTOK=0
        FILENUM=0
-       HPMAX=0
        HPBAD=0
        for FILE in $(find / -xdev -type f \( -perm -0100 -o -perm -0010 -o 
-perm -0001 \) 2>/dev/null)
        do
                ((FILENUM++))
                for RPATH_VAL in $(objdump -p "$FILE" 2>/dev/null | egrep -w 
'(RPATH|RUNPATH)' | awk '{ print $2 ":"}')
                do
-                       ((HPMAX++))
                        if [ "${RPATH_VAL:0:7}" = "\$ORIGIN" ]; then continue; 
fi
                        while [ -n "$RPATH_VAL" ]
                        do
@@ -59,7 +57,7 @@
                                        :/usr/local/lib*)
                                                ;;
                                        *)
-                                               ((HPBAD++))
+                                               ((HPBAD--))
                                                RPNOTOK=1;
                                                Display --indent 4 --text 
"${FILE}" --text "RPATH \"$RPATH_VAL_NXT\" on $FILE is not allowed" --result 
WARNING --color RED
                                esac
@@ -69,9 +67,7 @@
        if [ $RPNOTOK == 0 ]; then
                Display --indent 4 --text "No bad RPATH usage found in $FILENUM 
executables" --result OK --color GREEN
        fi
-       HP=$(expr $HPMAX - $HPBAD)
-#      echo "AddHP $HP $HPMAX"
-       AddHP $HP $HPMAX
+       AddHP $HPBAD 0
 
     fi
 #

Reply via email to