Your message dated Sun, 24 Apr 2005 14:34:15 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#155586: /etc/init.d/openafs-fileserver stop doesn't after 
upgrade
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Aug 2002 14:45:58 +0000
>From [EMAIL PROTECTED] Tue Aug 06 09:45:58 2002
Return-path: <[EMAIL PROTECTED]>
Received: from (fire2) [212.124.142.2] 
        by master.debian.org with smtp (Exim 3.12 1 (Debian))
        id 17c5av-0004O2-00; Tue, 06 Aug 2002 09:45:57 -0500
Received: from  ([10.81.245.25]) by fire2; Tue, 06 Aug 2002 12:37:06 +0200 
(CEST)
Received: from baal (172.27.27.135 [172.27.27.135]) by 
washington.verwaltung.austriaone.at with SMTP (Microsoft Exchange Internet Mail 
Service Version 5.5.2650.21)
        id PRR4YNTZ; Tue, 6 Aug 2002 12:30:09 +0200
Received: by baal (Postfix, from userid 1002)
        id 1AC82B812; Tue,  6 Aug 2002 12:36:33 +0200 (CEST)
From: Robert Bihlmeyer <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: /etc/init.d/openafs-fileserver stop doesn't after upgrade 
Message-Id: <[EMAIL PROTECTED]>
Date: Tue,  6 Aug 2002 12:36:33 +0200 (CEST)
Delivered-To: [EMAIL PROTECTED]


Package: openafs-fileserver
Version: 1.2.3final2-6
Severity: normal
Tags: patch

When upgrading, openafs-fileserver's prerm doesn't stop the
fileserver -- fair enough.

But afterwards, the init script's stop function no longer works, as
start-stop-daemon has only the executable's inode to work with
... which now has changed.

I think the following patch will make it work more reliably:

*** /etc/init.d/openafs-fileserver~     Thu Nov 30 02:50:21 2000
--- /etc/init.d/openafs-fileserver      Tue Aug  6 12:25:55 2002
***************
*** 34,40 ****
        echo -n "Stopping $DESC: "
      bos shutdown localhost -wait -localauth
        start-stop-daemon --stop --quiet  \
!               --exec $DAEMON
        echo "$NAME."
        ;;
    #reload)
--- 34,40 ----
        echo -n "Stopping $DESC: "
      bos shutdown localhost -wait -localauth
        start-stop-daemon --stop --quiet  \
!               --pidfile /var/run/$NAME.pid --exec $DAEMON
        echo "$NAME."
        ;;
    #reload)

---------------------------------------
Received: (at 155586-done) by bugs.debian.org; 24 Apr 2005 21:35:01 +0000
>From [EMAIL PROTECTED] Sun Apr 24 14:35:01 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp3.stanford.edu [171.67.16.138] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DPok8-0006OL-00; Sun, 24 Apr 2005 14:34:20 -0700
Received: from windlord.stanford.edu (windlord.Stanford.EDU [171.64.19.147])
        by smtp3.Stanford.EDU (8.12.11/8.12.11) with SMTP id j3OLYFxf012933
        for <[EMAIL PROTECTED]>; Sun, 24 Apr 2005 14:34:15 -0700
Received: (qmail 922 invoked by uid 1000); 24 Apr 2005 21:34:15 -0000
To: [EMAIL PROTECTED]
Subject: Re: Bug#155586: /etc/init.d/openafs-fileserver stop doesn't after
 upgrade
From: Russ Allbery <[EMAIL PROTECTED]>
Organization: The Eyrie
Date: Sun, 24 Apr 2005 14:34:15 -0700
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

The original bug was because the stop function of the init script used
--exec, so it would only stop running processes that were the same inode
as the current bosserver.  In the current version, this has been changed
to use --name, which will do the right thing.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to