Opened 15 years ago

Closed 14 years ago

#2677 closed enhancement (fixed)

sysvinit-2.88dsf

Reported by: houhongxun Owned by: bdubbs@…
Priority: normal Milestone: 6.7
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

Main page:http://savannah.nongnu.org/projects/sysvinit Download address:http://ftp.twaren.net/Unix/NonGNU/sysvinit/sysvinit-2.88dsf.tar.bz2

This is the sysvinit version currently under maintenance. As we can see, the version we used in our book is not maintained any more for a long time. I have updated to this version for a while, and didn't encounter any problems. I suggest we update to this version.

Only minor changes needed in our bootscript like this:

--- sendsignals_old     2010-06-04 08:48:43.582383740 +0800
+++ sendsignals 2010-06-04 08:48:56.900382438 +0800
@@ -23,7 +23,7 @@
 
                sleep ${KILLDELAY}
 
-               if [ "${error_value}" = 0 ]; then
+               if [ "${error_value}" = 0 -o "${error_value}" = 2 ]; then
                        echo_ok
                else
                        echo_failure
@@ -35,7 +35,7 @@
 
                sleep ${KILLDELAY}
 
-               if [ "${error_value}" = 0 ]; then
+               if [ "${error_value}" = 0 -o "${error_value}" = 2 ]; then
                        echo_ok
                else
                        echo_failure

because if no process needs to be terminated or killed(all running processes are in the same session as killall5, or init process itself), the killall5 program will return 2. it is not a failure.

Change History (7)

comment:1 by bdubbs@…, 15 years ago

Thanks for the info.

I just curious right now until I get a chance to look at it a bit more, but can you give any insight into what has changed in the maintained version?

comment:2 by houhongxun, 15 years ago

Here is the ChangeLog file http://svn.savannah.nongnu.org/viewvc/sysvinit/tags/2.88dsf/doc/Changelog?root=sysvinit&view=markup

According to this file, it's mostly bug fixes and function improvements, I don't think anything is worth writing out separately, so it's safe to update.

in reply to:  2 comment:3 by houhongxun, 15 years ago

Replying to hohoxu_hao115:

Here is the ChangeLog file http://svn.savannah.nongnu.org/viewvc/sysvinit/tags/2.88dsf/doc/Changelog?root=sysvinit&view=markup

According to this file, it's mostly bug fixes and function improvements, I don't think anything is worth writing out separately, so it's safe to update.

Oh, sorry, "It's" should be "They are".

comment:4 by bdubbs@…, 15 years ago

Owner: changed from lfs-book@… to bdubbs@…

Thanks. It looks like there will be some build changes since they added a Makefile to the top level.

I wonder why the version has a dsf tag, as in sysvinit-2.88dsf

In any case it looks OK.

comment:5 by bdubbs@…, 15 years ago

Status: newassigned

comment:6 by houhongxun, 15 years ago

I found http://www.mail-archive.com/initscripts-ng-devel@lists.alioth.debian.org/msg00602.html via google.

so "dsf" means debian,suse and fedora.

comment:7 by bdubbs@…, 14 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revisions 9319 and 9320.

Note: See TracTickets for help on using tickets.