Hello community, here is the log from the commit of package aaa_base checked in at Thu Nov 6 21:59:54 CET 2008. -------- --- aaa_base/aaa_base.changes 2008-11-05 17:27:43.000000000 +0100 +++ /mounts/work_src_done/STABLE/aaa_base/aaa_base.changes 2008-11-06 12:38:17.097385000 +0100 @@ -1,0 +2,5 @@ +Thu Nov 6 12:36:22 CET 2008 - werner@suse.de + +- Fix chkconfig to make option `-s <serv> on' (bnc#422433) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base.spec ++++++ --- /var/tmp/diff_new_pack.I27013/_old 2008-11-06 21:59:42.000000000 +0100 +++ /var/tmp/diff_new_pack.I27013/_new 2008-11-06 21:59:42.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 udev net-tools AutoReqProv: on Version: 11.1 -Release: 10002 +Release: 10003 Summary: SUSE Linux Base Package BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: aaa_base.tar.bz2 @@ -152,6 +152,8 @@ %defattr(-,root,root) %changelog +* Thu Nov 06 2008 werner@suse.de +- Fix chkconfig to make option `-s <serv> on' (bnc#422433) * Wed Nov 05 2008 werner@suse.de - rs.status: don't use escape seqs if not on a tty (bnc#422004) * Wed Nov 05 2008 ro@suse.de ++++++ aaa_base.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/aaa_base/sbin/chkconfig new/aaa_base/sbin/chkconfig --- old/aaa_base/sbin/chkconfig 2008-10-21 18:44:50.000000000 +0200 +++ new/aaa_base/sbin/chkconfig 2008-11-06 12:30:26.000000000 +0100 @@ -611,8 +611,8 @@ printf("Usage: chkconfig -s service on|off|runlevels\n"); exit 1; } - @remove = ('-r', '-d', '-p', "$initdir"); - @enable = ('-p', "$initdir"); + @remove = (); + @enable = (); while (@services) { $s = shift @services; my $want = shift @services; @@ -652,8 +652,12 @@ } $links_unknown{$s} = 1; # check again for this service } - $status = 1 unless insserv(@remove); - $status = 1 unless insserv(@enable); + if (scalar(@remove)) { + $status = 1 unless insserv('-r', '-d', '-p', "$initdir", @remove); + } + if (scalar(@enable)) { + $status = 1 unless insserv('-p', "$initdir", @enable); + } } while ($usestdin); exit $status; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org