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

Bug#515309: nstx: init restart action not equivalent to stop+start and fails miserably



Package: nstx
Version: 1.1-beta6-5
Severity: important

Coin,

The start action has the following options handling code:
        if [ -n "$NSTX_IFACE" ]; then
                OPTIONS="-i $NSTX_IFACE $NSTX_OPTIONS $NSTX_DOMAIN"
        else
                OPTIONS="$NSTX_OPTIONS $NSTX_DOMAIN"
        fi
but the restart action does not.

I guess the start and stop actions should be handled by functions, so that restart can call them and ensure there is no inconsistancies.

The consequencies of this problem is nstxd cannot bind the port and fails. This is quite inconvenient during upgrades.

--
Marc Dequènes (Duck)

Attachment: pgpwDnRzGWABL.pgp
Description: PGP Digital Signature


Reply to: