#252288 s-s-d: Please add option to set --nodo status code

Package:
dpkg
Source:
dpkg
Description:
Debian package management system
Submitter:
Thomas Hood
Date:
2015-03-29 00:03:09 UTC
Severity:
wishlist
#252288#5
Date:
2004-06-02 14:27:42 UTC
From:
To:
If you try to start a daemon using start-stop-daemon and the daemon
is already running then start-stop-daemon returns 1.

If the daemon is not already running and start-stop-daemon starts
an instance of it, and the instance exits with status 1, then
start-stop-daemon again returns 1.

I would like to be able to distinguish between these cases.  What
would help would be an option that sets the value that is returned
when the daemon is already running.  A value could then be chosen
that the daemon itself never returns.

The return value can already be changed (to 0) using the "--oknodo"
option.  What we need is a "--nodostatus=VAL" option.  "--oknodo"
would thus be equivalent to "--nodostatus=0".

#252288#10
Date:
2004-06-02 15:28:03 UTC
From:
To:
An alternative to the original wish would be for the --start method
to return 2 if the daemon can't be started, just as the --stop method
along with --retry returns 2 if the daemon can't be stopped.

A drawback of this approach is that the failure code of the daemon
isn't returned.  However, I am not sure how often that value is
used.  Certainly not very often.  The man page does not say that the
daemon's exit status is returned when it fails to start, so I
guess we can say that implementing this second alternative wouldn't
be a change in declared semantics.  Furthermore, the daemon's exit
status could be included in the error message.  A really desperate
user could parse that.  :)

#252288#13
Date:
2004-07-17 22:48:49 UTC
From:
To:
Hello all,

You are receiving this mail because you submitted a bug report that your
SPARC machines failed to boot into the Debian installer. A lot of
problems have since been fixed, notably the initrd problem that caused
the VFS: could not mount root device problem.

Now, I invite you to try a new installer image:

http://gluck.debian.org/cdimage/testing/sid_d-i/sparc/current/

If that works, reply to this message and I'll close the bug.
Alternatively, you can file a new installation report.

Thanks for reporting!

#252288#16
Date:
2004-07-22 17:08:37 UTC
From:
To:
EBUGNUMBER. Sorry.
#252288#19
Date:
2004-08-12 11:36:45 UTC
From:
To:
This bug can be closed because it is obviousely fixed.  Kudos to the installer
team.
I try to comment my installation procedure as detailed as possible and hope
you might foreward this to the right places:


   1. Language selection: The non-ASCII fonts like Greek are displayed as
      blue boxes.

   2. I'm doing the German installation and try to translate back the strings:
         "Festplatten partitionieren"  (Partitioning harddisks)

         Sie haben ein komplettes Laufwerk zur Partitionierung angegeben.
         Wenn Sie fortfahren und eine neue Partitionstabelle anlegen, werden
         alle darauf vorhandenen Partitionen gelöscht.

         Beachten Sie, dass Sie diese Änderung später Rückgängig machen können.

        [You have choosen a complete disk for partitioning.  If you continue and
         create a new partition table all data will be deleted.

         Note taht these changes can be redone later.]

      I think here is missing a NICHT (not), right

      So the last sentence should be:

         Beachten Sie, dass Sie diese Änderung später NICHT rückgängig machen können.

      (and "rückgängig" is spelled in small caps).

      In the next screen I get the advise that I can NOT revert this step because
      of the Sun partitioning.  So may be the "NOT" is not missing above and
      the sentence was right.  Please verify this (and fix the spelling of
      "rückgängig" at least).

That's all I thought which was worth mentioning - which is less enough and
proves that you did a really great job.

Many thanks

           Andreas.

#252288#22
Date:
2004-10-02 07:26:18 UTC
From:
To:
I have to admit that I'm unable to try this again but I think I just
wrote in the past that I was able to install this machine by a daily
build (about two month ago) and thus I guess my problem is solved an the
bug can be closed.

Thanks for caring for the installer

             Andreas.