Hello community,

here is the log from the commit of package lynis for openSUSE:Factory checked 
in at 2013-01-29 14:21:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lynis (Old)
 and      /work/SRC/openSUSE:Factory/.lynis.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lynis", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/lynis/lynis.changes      2013-01-14 
22:23:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.lynis.new/lynis.changes 2013-01-29 
14:21:59.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Jan 25 09:40:52 UTC 2013 - [email protected]
+
+- fixed log message for dbus test
+- fixed bash variable incrementation that sneaked in the code 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ tests_binary_rpath ++++++
--- /var/tmp/diff_new_pack.m9VFKu/_old  2013-01-29 14:22:01.000000000 +0100
+++ /var/tmp/diff_new_pack.m9VFKu/_new  2013-01-29 14:22:01.000000000 +0100
@@ -36,10 +36,10 @@
        HPBAD=0
        for FILE in $(find / -xdev -type f \( -perm -0100 -o -perm -0010 -o 
-perm -0001 \) 2>/dev/null)
        do
-               ((FILENUM))
+               ((FILENUM++))
                for RPATH_VAL in $(objdump -p "$FILE" 2>/dev/null | egrep -w 
'(RPATH|RUNPATH)' | awk '{ print $2 ":"}')
                do
-                       ((HPMAX))
+                       ((HPMAX++))
                        if [ "${RPATH_VAL:0:7}" = "\$ORIGIN" ]; then continue; 
fi
                        while [ -n "$RPATH_VAL" ]
                        do
@@ -59,7 +59,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
@@ -78,4 +78,4 @@
 
#################################################################################
 #
 
-wait_for_keypress
\ No newline at end of file
+wait_for_keypress

++++++ tests_file_permissionsDB ++++++
--- /var/tmp/diff_new_pack.m9VFKu/_old  2013-01-29 14:22:01.000000000 +0100
+++ /var/tmp/diff_new_pack.m9VFKu/_new  2013-01-29 14:22:01.000000000 +0100
@@ -37,7 +37,7 @@
        HPBAD=0
        for LINE in $(cat $DB)
        do
-               ((HPMAX))
+               ((HPMAX++))
                FN=$(echo $LINE | cut -d: -f2)
                PM=$(echo $LINE | cut -d: -f3)
                UN=$(echo $LINE | cut -d: -f4)
@@ -56,7 +56,7 @@
                        continue;
                fi
                if ! [ "$STR" == "$STAT" ]; then
-                       ((HPBAD))
+                       ((HPBAD++))
                        Display --indent 4 --text "${FN}" --result WARNING 
--color RED
                else
                        Display --indent 4 --text "${FN}" --result OK --color 
GREEN
@@ -74,4 +74,4 @@
 wait_for_keypress
 
 #
-#================================================================================
\ No newline at end of file
+#================================================================================

++++++ tests_network_allowed_ports ++++++
--- /var/tmp/diff_new_pack.m9VFKu/_old  2013-01-29 14:22:01.000000000 +0100
+++ /var/tmp/diff_new_pack.m9VFKu/_new  2013-01-29 14:22:01.000000000 +0100
@@ -58,7 +58,7 @@
                done
                if [ $PORTOK -eq 0 ]
                then
-                       ((NUM_NOTOK))
+                       ((NUM_NOTOK++))
                        P=${PORTS[$IDX_P]}
                        Display --indent 4 --text "Open port ${P} not allowed" 
--result WARNING --color RED
                fi

++++++ tests_system_dbus ++++++
--- /var/tmp/diff_new_pack.m9VFKu/_old  2013-01-29 14:22:01.000000000 +0100
+++ /var/tmp/diff_new_pack.m9VFKu/_new  2013-01-29 14:22:01.000000000 +0100
@@ -25,7 +25,7 @@
 #
     # Test        : SYSTEM-1000
     # Description : Verifies dbus policy.
-    Register --test-no SYSTEM-1000 --weight L --network NO --description 
"Verifies if a binary contains an insecure RPATH variable."
+    Register --test-no SYSTEM-1000 --weight L --network NO --description 
"Verifies if an unknown dbus service is installed."
     if [ ${SKIPTEST} -eq 0 ]; then
         Display --indent 2 --text "- Starting dbus policy check..."
         logtext "Test: Checking dbus policy"
@@ -59,7 +59,7 @@
                        done
                        if [ $FOUND -eq 0 ]
                        then
-                               ((HPBAD))
+                               ((HPBAD++))
                                PKG=$(rpm -qf "$i")
                                Display --indent 4 --text "Warning: Package 
$PKG installs an unknown D-BUS autostart/system service: $DF" --result WARNING 
--color RED
                        fi
@@ -76,4 +76,4 @@
 wait_for_keypress
 
 #
-#================================================================================
\ No newline at end of file
+#================================================================================

++++++ tests_users_wo_password ++++++
--- /var/tmp/diff_new_pack.m9VFKu/_old  2013-01-29 14:22:01.000000000 +0100
+++ /var/tmp/diff_new_pack.m9VFKu/_new  2013-01-29 14:22:01.000000000 +0100
@@ -38,7 +38,7 @@
        HPBAD=0
        for i in $(cat $TMPDIR/userwopwd2)
        do
-               ((HPBAD))
+               ((HPBAD++))
                Display --indent 4 --text "${i} has no password set" --result 
WARNING --color RED
        done
 
@@ -55,4 +55,4 @@
 wait_for_keypress
 
 #
-#================================================================================
\ No newline at end of file
+#================================================================================

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to