Your message dated Thu, 19 May 2005 18:10:09 +0200
with message-id <[EMAIL PROTECTED]>
and subject line ntp: doesn't preserve rc?.d settings on 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; 31 Jan 2003 15:21:47 +0000
>From [EMAIL PROTECTED] Fri Jan 31 09:21:47 2003
Return-path: <[EMAIL PROTECTED]>
Received: from mail2.uklinux.net [80.84.72.32] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18eczD-0006IZ-00; Fri, 31 Jan 2003 09:21:47 -0600
Received: from polya (bts-0205.dialup.zetnet.co.uk [194.247.48.205])
        by mail2.uklinux.net (Postfix) with ESMTP id E1991409FB2
        for <[EMAIL PROTECTED]>; Fri, 31 Jan 2003 15:21:44 +0000 (UTC)
Received: from jdg by polya with local (Exim 3.36 #1 (Debian))
        id 18ecz8-0002q2-00; Fri, 31 Jan 2003 15:21:42 +0000
Date: Fri, 31 Jan 2003 15:21:40 +0000
From: Julian Gilbey <[EMAIL PROTECTED]>
To: Debian bug reports <[EMAIL PROTECTED]>
Subject: ntp: doesn't preserve rc?.d settings on upgrade
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.3i
Sender: Julian Gilbey <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-6.6 required=5.0
        tests=SIGNATURE_SHORT_SPARSE,SPAM_PHRASE_00_01,USER_AGENT,
              USER_AGENT_MUTT
        version=2.41
X-Spam-Level: 

Package: ntp-simple
Version: 4.1.1b-3
Severity: important

In the preinst, ntp-simple checks:

case "$1" in
    upgrade)
        # if we're upgrading from before the init.d scripts were separated,
        # an init.d exists under the old name, and none exists under the new 
        # name, then move the old file to the new name...
        if [ "$2" ] && dpkg --compare-versions $2 lt 1:4.1.1b-1 && \
           [ -f /etc/init.d/ntp ] && [ ! -f /etc/init.d/ntp-simple ]
        then
                        mv -f /etc/init.d/ntp /etc/init.d/ntp-simple
        fi
    ;;

Now, if the init script is changing name, the links have to be moved
in a corresponding manner, so in the then ... fi block, we should have
something which checks the current status of the ntp links and
replaces them with corresponding ntp-simple links.  Unfortunately,
while we can retrieve the necessary information using update-rc.d if
the sysvinit setup is being used, we cannot if file-rc is being used.
So I'm filing a wishlist bug against these two packages to request an
"update-rc.d name display" command which will give a runlevels output
which can be used as input to update-rc.d.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

        Julian Gilbey, website: http://www.polya.uklinux.net/
   Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
     Visit http://www.thehungersite.com/ to help feed the hungry

---------------------------------------
Received: (at 179209-done) by bugs.debian.org; 19 May 2005 16:10:11 +0000
>From [EMAIL PROTECTED] Thu May 19 09:10:10 2005
Return-path: <[EMAIL PROTECTED]>
Received: from p54835793.dip.t-dialin.net (zzznowman.dyndns.org) 
[84.131.87.147] 
        by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
        id 1DYnb8-0005eg-00; Thu, 19 May 2005 09:10:10 -0700
Received: (qmail 7912 invoked by uid 1000); 19 May 2005 16:10:09 -0000
Date: Thu, 19 May 2005 18:10:09 +0200
From: Fabian Pietsch <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: ntp: doesn't preserve rc?.d settings on upgrade
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

The code quoted from ntp-simple preinst isn't there anymore; moreover,
the quoted code moves /etc/init.d/ntp to ntp-simple, but in current
ntp-server preinst, both files are moved to .dpkg-old names, thereby
disabled. Finally, the init.d symlinks for both init.d scripts are being
removed by current ntp-server preinst. Therefore closing...

Fabian


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

Reply via email to