Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493990 - app-admin/supervisor-3.0 with sys-apps/openrc-0.9.8.4 - init script fails to start supervisord: start-stop-daemon: unrecognized option '--nodaemon'
Summary: app-admin/supervisor-3.0 with sys-apps/openrc-0.9.8.4 - init script fails to ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-12 02:36 UTC by Mina Naguib
Modified: 2016-01-22 19:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mina Naguib 2013-12-12 02:36:47 UTC
Attempting to start supervisord via `/etc/init.d/supervisord start` yields:

    # /etc/init.d/supervisord start
     * Caching service dependencies ...                                                   [ ok ]
     * Starting supervisord ...
    start-stop-daemon: unrecognized option '--nodaemon'
    Usage: start-stop-daemon [options]

    Options: [I:KN:PR:Sa:bc:d:e:g:ik:mn:op:s:tu:r:w:x:1:2:ChqVv]
      -I, --ionice <arg>                Set an ionice class:data when starting
      -K, --stop                        Stop daemon
      -N, --nicelevel <arg>             Set a nicelevel when starting
      -R, --retry <arg>                 Retry schedule to use when stopping
      -S, --start                       Start daemon
      -a, --startas <arg>               deprecated, use --exec or --name
      -b, --background                  Force daemon to background
      -c, --chuid <arg>                 deprecated, use --user
      -d, --chdir <arg>                 Change the PWD
      -e, --env <arg>                   Set an environment string
      -k, --umask <arg>                 Set the umask for the daemon
      -g, --group <arg>                 Change the process group
      -i, --interpreted                 Match process name by interpreter
      -m, --make-pidfile                Create a pidfile
      -n, --name <arg>                  Match process name
      -o, --oknodo                      deprecated
      -p, --pidfile <arg>               Match pid found in this file
      -s, --signal <arg>                Send a different signal
      -t, --test                        Test actions, don't do them
      -u, --user <arg>                  Change the process user
      -r, --chroot <arg>                Chroot to this directory
      -w, --wait <arg>                  Milliseconds to wait for daemon start
      -x, --exec <arg>                  Binary to start/stop
      -1, --stdout <arg>                Redirect stdout to file
      -2, --stderr <arg>                Redirect stderr to file
      -P, --progress                    Print dots each second while waiting
      -h, --help                        Display this help output
      -C, --nocolor                     Disable color output
      -V, --version                     Display software version
      -v, --verbose                     Run verbosely
      -q, --quiet                       Run quietly
     * Failed to start supervisord                                                                                             [ !! ]
     * ERROR: supervisord failed to start


Reproducible: Always
Comment 1 Mina Naguib 2013-12-12 14:41:36 UTC
This might be related to the older version of openrc on the box I tested on.

It currently has openrc version sys-apps/openrc-0.9.8.4:0

I'm upgrading system and will report back if it fixes the startup problem.
Comment 2 Mina Naguib 2013-12-12 16:38:42 UTC
I can confirm that after upgrading from sys-apps/openrc-0.9.8.4:0 to sys-apps/openrc-0.12.4:0 the problem no longer occurs.

I'll leave it up to you whether this should be still treated as a bug or not.  I'm not sure what's gentoo's stance is on init script system dependencies.
Comment 3 Thomas Capricelli 2016-01-22 19:32:23 UTC
The problem seems solved with recent openrc, and anyway supervisor-3.0 is very old, not in portage anymore.