[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#400908: marked as done (Shutdown portion of init script not working properly)

Your message dated Mon, 5 May 2008 15:28:52 +0100
with message-id <200805051428.m45ESqGN019076@kmos.homeip.net>
and subject line dcc has been removed from Debian, closing #400908
has caused the Debian Bug report #400908,
regarding Shutdown portion of init script not working properly
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

400908: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400908
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: dcc-server
Version: 1.3.42-2, 1.3.42-4

I've recently been trying to use the dcc greylist milter with sendmail for
a client of mine. During this process I noticed that the init.d script for
dcc-server won't shut down the greylist daemon if the main dcc daemon isn't
enabled. I am not well versed in the dcc architecture yet but as I
understand it the three parts of the package; dccd, dccifd and greylistd
(dccd -G) can each exist independently. The startup portion of the script
treats them that way but the shutdown does not.

To get things working on the system that I'm using for this project I
changed the dcc_stop function in /etc/init.d/dcc-server to the following:

dcc_stop () {
    if is_enabled "$DCCIFD_ENABLE" 'DCCIFD_ENABLE'; then
        if [ -e "$pidfile" ]; then
           log_daemon_msg "Stopping $DESC" "dccifd"
           kill -15 `cat $pidfile`
           log_end_msg $?

    if is_enabled "$GREY_ENABLE" 'GREY_ENABLE'; then
        log_daemon_msg "Stopping $DESC" "grey"
        $DCC_LIBEXEC/stop-dccd -G
        log_end_msg $?

    if is_enabled "$DCCD_ENABLE" 'DCCD_ENABLE'; then
        log_daemon_msg "Stopping $DESC" "dccd"
        log_end_msg $?

I'm by no means sure that this is the best solution but it does result in a
startup/shutdown that works (at least so far <G>).

--- End Message ---
--- Begin Message ---
Version: 1.3.42-5+rm

The dcc package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/464161 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Marco Rodrigues

--- End Message ---

Reply to: