Mailinglist Archive: opensuse-commit (1093 mails)

< Previous Next >
commit aaa_base for openSUSE:Factory
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 08 Mar 2010 18:09:40 +0100
  • Message-id: <20100308170940.38A64202A7@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package aaa_base for openSUSE:Factory
checked in at Mon Mar 8 18:09:40 CET 2010.



--------
--- aaa_base/aaa_base.changes 2010-03-04 18:04:12.000000000 +0100
+++ /mounts/work_src_done/STABLE/aaa_base/aaa_base.changes 2010-03-08
18:06:56.000000000 +0100
@@ -1,0 +2,16 @@
+Mon Mar 8 18:06:37 CET 2010 - ro@xxxxxxx
+
+- drop boot.sched
+
+-------------------------------------------------------------------
+Mon Mar 8 17:12:19 CET 2010 - ro@xxxxxxx
+
+- implemented more primitive status calls for boot.* scripts
+
+-------------------------------------------------------------------
+Mon Mar 8 14:17:25 CET 2010 - ro@xxxxxxx
+
+- implemented primitive status call for boot.rootfsck and
+ boot.localfs
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ aaa_base.spec ++++++
--- /var/tmp/diff_new_pack.HkLwwZ/_old 2010-03-08 18:09:19.000000000 +0100
+++ /var/tmp/diff_new_pack.HkLwwZ/_new 2010-03-08 18:09:19.000000000 +0100
@@ -28,7 +28,7 @@
PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date
/usr/bin/cmp /bin/fillup /sbin/insserv
AutoReqProv: on
Version: 11.2
-Release: 62
+Release: 63
Summary: SUSE Linux Base Package
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: aaa_base.tar.bz2

++++++ aaa_base-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.HkLwwZ/_old 2010-03-08 18:09:19.000000000 +0100
+++ /var/tmp/diff_new_pack.HkLwwZ/_new 2010-03-08 18:09:19.000000000 +0100
@@ -39,7 +39,6 @@
addFilter("no-reload-entry.*/etc/init.d/boot.loadmodules")
addFilter("no-reload-entry.*/etc/init.d/boot.ldconfig")
addFilter("no-reload-entry.*/etc/init.d/boot")
-addFilter("no-reload-entry.*/etc/init.d/boot.sched")
addFilter("no-reload-entry.*/etc/init.d/boot.klog")
addFilter("no-reload-entry.*/etc/init.d/rc")
addFilter("no-reload-entry.*/etc/init.d/boot.clock")
@@ -62,7 +61,6 @@

addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.loadmodules")

addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.ldconfig")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot")
-addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.sched")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.klog")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/rc")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.clock")

++++++ aaa_base.post ++++++
--- /var/tmp/diff_new_pack.HkLwwZ/_old 2010-03-08 18:09:19.000000000 +0100
+++ /var/tmp/diff_new_pack.HkLwwZ/_new 2010-03-08 18:09:19.000000000 +0100
@@ -35,7 +35,7 @@
## powerfail probably needs empty header ...

# add Kill-links in boot.d if needed:
-for i in proc localfs swap clock ldconfig ipconfig klog localnet loadmodules
sched ; do
+for i in proc localfs swap clock ldconfig ipconfig klog localnet loadmodules ;
do
if [ -f /etc/init.d/boot.d/S??boot.$i -a ! -f
/etc/init.d/boot.d/K??boot.$i ] ; then
%{insserv_force_if_yast boot.$i}
fi

++++++ aaa_base.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aaa_base/etc/init.d/boot.cleanup
new/aaa_base/etc/init.d/boot.cleanup
--- old/aaa_base/etc/init.d/boot.cleanup 2009-09-16 14:27:38.000000000
+0200
+++ new/aaa_base/etc/init.d/boot.cleanup 2010-03-08 16:32:01.000000000
+0100
@@ -96,7 +96,8 @@
# skip / nothing to do
;;
status)
- rc_failed 4
+ # assume we have been run
+ rc_reset
rc_status -v
;;
*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aaa_base/etc/init.d/boot.ipconfig
new/aaa_base/etc/init.d/boot.ipconfig
--- old/aaa_base/etc/init.d/boot.ipconfig 2008-08-11 16:52:38.000000000
+0200
+++ new/aaa_base/etc/init.d/boot.ipconfig 2010-03-08 16:40:13.000000000
+0100
@@ -124,7 +124,28 @@
# skip / nothing to do
;;
status)
- rc_failed 4
+ echo -n "checking if boot.ipconfig has been run"
+ rc_reset
+ VAL4=`cat /proc/sys/net/ipv4/ip_forward`
+ case $IP_FORWARD in
+ yes)
+ test "$VAL4" = "1" || rc_failed 3
+ ;;
+ *)
+ test "$VAL4" = "0" || rc_failed 3
+ ;;
+ esac
+ if test -e /proc/sys/net/ipv6/conf/all/forwarding ; then
+ VAL6=`cat /proc/sys/net/ipv6/conf/all/forwarding`
+ case $IPV6_FORWARD in
+ yes)
+ test "$VAL6" = "1" || rc_failed 3
+ ;;
+ *)
+ test "$VAL6" = "0" || rc_failed 3
+ ;;
+ esac
+ fi
rc_status -v
;;
*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aaa_base/etc/init.d/boot.klog
new/aaa_base/etc/init.d/boot.klog
--- old/aaa_base/etc/init.d/boot.klog 2008-08-11 16:52:56.000000000 +0200
+++ new/aaa_base/etc/init.d/boot.klog 2010-03-08 16:41:06.000000000 +0100
@@ -62,7 +62,8 @@
# skip / nothing to do
;;
status)
- rc_failed 4
+ # assume we have been run
+ rc_reset
rc_status -v
;;
*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aaa_base/etc/init.d/boot.ldconfig
new/aaa_base/etc/init.d/boot.ldconfig
--- old/aaa_base/etc/init.d/boot.ldconfig 2010-03-04 18:03:18.000000000
+0100
+++ new/aaa_base/etc/init.d/boot.ldconfig 2010-03-08 16:41:51.000000000
+0100
@@ -38,7 +38,8 @@
}
;;
status)
- rc_failed 4
+ # assume we have been run
+ rc_reset
rc_status -v
;;
*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aaa_base/etc/init.d/boot.loadmodules
new/aaa_base/etc/init.d/boot.loadmodules
--- old/aaa_base/etc/init.d/boot.loadmodules 2008-07-22 11:47:27.000000000
+0200
+++ new/aaa_base/etc/init.d/boot.loadmodules 2010-03-08 16:45:08.000000000
+0100
@@ -34,7 +34,11 @@
# skip / nothing to do
;;
status)
- rc_failed 4
+ echo -n "Checking if boot.loadmodules has run"
+ rc_reset
+ for I in $MODULES_LOADED_ON_BOOT ; do
+ lsmod | grep -q "^$I " || rc_failed 3
+ done
rc_status -v
;;
*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aaa_base/etc/init.d/boot.localfs
new/aaa_base/etc/init.d/boot.localfs
--- old/aaa_base/etc/init.d/boot.localfs 2010-02-26 12:58:22.000000000
+0100
+++ new/aaa_base/etc/init.d/boot.localfs 2010-03-08 14:17:18.000000000
+0100
@@ -409,9 +409,11 @@
rc_status -v
;;
status)
- rc_failed 4
- rc_status -v
- ;;
+ echo -n "Checking if boot.localfs has run"
+ rc_reset
+ grep -q " /dev/shm " /etc/mtab || rc_failed 3
+ rc_status -v
+ ;;
*)
echo "Usage: $0 {start|stop|status|restart}"
exit 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aaa_base/etc/init.d/boot.localnet
new/aaa_base/etc/init.d/boot.localnet
--- old/aaa_base/etc/init.d/boot.localnet 2009-07-22 14:57:47.000000000
+0200
+++ new/aaa_base/etc/init.d/boot.localnet 2010-03-08 16:46:58.000000000
+0100
@@ -67,7 +67,8 @@
# skip / nothing to do
;;
status)
- rc_failed 4
+ # assume we have been run
+ rc_reset
rc_status -v
;;
*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aaa_base/etc/init.d/boot.proc
new/aaa_base/etc/init.d/boot.proc
--- old/aaa_base/etc/init.d/boot.proc 2010-02-16 11:34:08.000000000 +0100
+++ new/aaa_base/etc/init.d/boot.proc 2010-03-08 16:47:43.000000000 +0100
@@ -60,7 +60,8 @@
# skip / nothing to do
;;
status)
- rc_failed 4
+ # assume we have been run
+ rc_reset
rc_status -v
;;
*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aaa_base/etc/init.d/boot.rootfsck
new/aaa_base/etc/init.d/boot.rootfsck
--- old/aaa_base/etc/init.d/boot.rootfsck 2010-02-15 00:02:43.000000000
+0100
+++ new/aaa_base/etc/init.d/boot.rootfsck 2010-03-08 16:47:44.000000000
+0100
@@ -172,9 +172,11 @@
rc_status -v
;;
status)
- rc_failed 4
- rc_status -v
- ;;
+ echo -n "Checking if boot.rootfsck has run"
+ rc_reset
+ grep -q " / " /etc/mtab || rc_failed 3
+ rc_status -v
+ ;;
*)
echo "Usage: $0 {start|stop|status|restart}"
exit 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aaa_base/etc/init.d/boot.sched
new/aaa_base/etc/init.d/boot.sched
--- old/aaa_base/etc/init.d/boot.sched 2008-07-22 14:17:56.000000000 +0200
+++ new/aaa_base/etc/init.d/boot.sched 1970-01-01 01:00:00.000000000 +0100
@@ -1,83 +0,0 @@
-#! /bin/sh
-#
-# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
-# All rights reserved.
-#
-# /etc/init.d/boot.sched
-#
-### BEGIN INIT INFO
-# Provides: boot.sched
-# Required-Start:
-# Required-Stop:
-# Default-Start: B
-# Default-Stop:
-# Short-Description: sets the scheduling timeslices
-# Description: sets the scheduling timeslices
-### END INIT INFO
-
-. /etc/rc.status
-test -r /etc/sysconfig/kernel || exit 6
-. /etc/sysconfig/kernel
-
-rc_reset
-
-case "$1" in
- start)
- echo -n "Setting scheduling timeslices "
- # Configured?
- if test -z "$SCHED_MINTIMESLICE" -o -z "$SCHED_MAXTIMESLICE"; then
- rc_failed 6
- # Sanity?
- elif test $((3*$SCHED_MINTIMESLICE)) -gt $SCHED_MAXTIMESLICE; then
- echo -n "3*$SCHED_MINTIMESLICE > $SCHED_MAXTIMESLICE"
- rc_failed 1
- # Kernel support?
- elif test ! -r /proc/sys/kernel/min-timeslice; then
- echo -n "not supported by kernel ";
- rc_failed 3
- elif test ! -r /proc/sys/kernel/HZ; then
- echo -n "kernel HZ unknown "
- rc_failed 3
- # Go!
- else
- # Make sure timeslice is at least as large as the minimum
- read HZ < /proc/sys/kernel/HZ
- MINSLICE=$((1000000/$HZ))
- if test $MINSLICE -gt $SCHED_MINTIMESLICE; then
- # Scale max timeslice
-
MAXSLICE=$(($SCHED_MAXTIMESLICE*$MINSLICE/$SCHED_MINTIMESLICE))
- echo -n "$SCHED_MINTIMESLICE->$MINSLICE
$SCHED_MAXTIMESLICE->$MAXSLICE"
- SCHED_MINTIMESLICE=$MINSLICE
- SCHED_MAXTIMESLICE=$MAXSLICE
- else
- echo -n "$SCHED_MINTIMESLICE $SCHED_MAXTIMESLICE "
- fi
- echo $SCHED_MINTIMESLICE > /proc/sys/kernel/min-timeslice
- rc_status
- if test -e /proc/sys/kernel/def-timeslice; then
- echo $((($SCHED_MAXTIMESLICE+$MINSLICE)/2)) >
/proc/sys/kernel/def-timeslice
- rc_status
- else
- echo $SCHED_MAXTIMESLICE >
/proc/sys/kernel/max-timeslice
- rc_status
- fi
- fi
- true
- rc_status -v
- ;;
-
- stop|restart)
- # skip / nothing to do
- ;;
- status)
- rc_failed 4
- rc_status -v
- ;;
- *)
- echo "Usage: $0 {start|stop|status|restart}"
- exit 1
- ;;
-esac
-
-rc_exit
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aaa_base/etc/init.d/boot.swap
new/aaa_base/etc/init.d/boot.swap
--- old/aaa_base/etc/init.d/boot.swap 2008-07-22 11:57:19.000000000 +0200
+++ new/aaa_base/etc/init.d/boot.swap 2010-03-08 17:04:51.000000000 +0100
@@ -120,7 +120,8 @@
$0 start
;;
status)
- rc_failed 4
+ # assume we have been run (otherwise this would mean parsing fstab
manually)
+ rc_reset
rc_status -v
;;
*)


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



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >