Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634752 - sys-apps/openrc-0.33.1: xdm | * ERROR: could not start the Display Manager
Summary: sys-apps/openrc-0.33.1: xdm | * ERROR: could not start the Display Manager
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal blocker (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-19 05:12 UTC by Perfect Gentleman
Modified: 2017-10-19 17:30 UTC (History)
2 users (show)

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 Perfect Gentleman 2017-10-19 05:12:24 UTC
xdm                |/etc/X11/startDM.sh: строка 26: get_options: команда не найдена
xdm                |/etc/X11/startDM.sh: строка 27: get_options: команда не найдена
xdm                |/etc/X11/startDM.sh: строка 28: get_options: команда не найдена
xdm                |/etc/X11/startDM.sh: строка 29: get_options: команда не найдена
xdm                |start-stop-daemon: option '--exec' requires an argument
xdm                |Usage: start-stop-daemon [options] 
xdm                |
xdm                |Options: [ I:KN:PR:Sa:bc:d:e:g:ik:mn:op:s:tu:r:w:x:1:2:ChqVv ]
xdm                |  -I, --ionice <arg>                Set an ionice class:data when starting
xdm                |  -K, --stop                        Stop daemon
xdm                |  -N, --nicelevel <arg>             Set a nicelevel when starting
xdm                |  -R, --retry <arg>                 Retry schedule to use when stopping
xdm                |  -S, --start                       Start daemon
xdm                |  -a, --startas <arg>               deprecated, use --exec or --name
xdm                |  -b, --background                  Force daemon to background
xdm                |  -c, --chuid <arg>                 deprecated, use --user
xdm                |  -d, --chdir <arg>                 Change the PWD
xdm                |  -e, --env <arg>                   Set an environment string
xdm                |  -k, --umask <arg>                 Set the umask for the daemon
xdm                |  -g, --group <arg>                 Change the process group
xdm                |  -i, --interpreted                 Match process name by interpreter
xdm                |  -m, --make-pidfile                Create a pidfile
xdm                |  -n, --name <arg>                  Match process name
xdm                |  -o, --oknodo                      deprecated
xdm                |  -p, --pidfile <arg>               Match pid found in this file
xdm                |  -s, --signal <arg>                Send a different signal
xdm                |  -t, --test                        Test actions, don't do them
xdm                |  -u, --user <arg>                  Change the process user
xdm                |  -r, --chroot <arg>                Chroot to this directory
xdm                |  -w, --wait <arg>                  Milliseconds to wait for daemon start
xdm                |  -x, --exec <arg>                  Binary to start/stop
xdm                |  -1, --stdout <arg>                Redirect stdout to file
xdm                |  -2, --stderr <arg>                Redirect stderr to file
xdm                |  -P, --progress                    Print dots each second while waiting
xdm                |  -h, --help                        Display this help output
xdm                |  -C, --nocolor                     Disable color output
xdm                |  -V, --version                     Display software version
xdm                |  -v, --verbose                     Run verbosely
xdm                |  -q, --quiet                       Run quietly (repeat to suppress errors)
xdm                | * ERROR: could not start the Display Manager

Reproducible: Always

Steps to Reproduce:
1. Update to 0.33.1
2. Reboot
3.
Actual Results:  
xdm                |/etc/X11/startDM.sh: строка 26: get_options: команда не найдена
xdm                |/etc/X11/startDM.sh: строка 27: get_options: команда не найдена
xdm                |/etc/X11/startDM.sh: строка 28: get_options: команда не найдена
xdm                |/etc/X11/startDM.sh: строка 29: get_options: команда не найдена
xdm                |start-stop-daemon: option '--exec' requires an argument
xdm                |Usage: start-stop-daemon [options] 
xdm                |
xdm                |Options: [ I:KN:PR:Sa:bc:d:e:g:ik:mn:op:s:tu:r:w:x:1:2:ChqVv ]
xdm                |  -I, --ionice <arg>                Set an ionice class:data when starting
xdm                |  -K, --stop                        Stop daemon
xdm                |  -N, --nicelevel <arg>             Set a nicelevel when starting
xdm                |  -R, --retry <arg>                 Retry schedule to use when stopping
xdm                |  -S, --start                       Start daemon
xdm                |  -a, --startas <arg>               deprecated, use --exec or --name
xdm                |  -b, --background                  Force daemon to background
xdm                |  -c, --chuid <arg>                 deprecated, use --user
xdm                |  -d, --chdir <arg>                 Change the PWD
xdm                |  -e, --env <arg>                   Set an environment string
xdm                |  -k, --umask <arg>                 Set the umask for the daemon
xdm                |  -g, --group <arg>                 Change the process group
xdm                |  -i, --interpreted                 Match process name by interpreter
xdm                |  -m, --make-pidfile                Create a pidfile
xdm                |  -n, --name <arg>                  Match process name
xdm                |  -o, --oknodo                      deprecated
xdm                |  -p, --pidfile <arg>               Match pid found in this file
xdm                |  -s, --signal <arg>                Send a different signal
xdm                |  -t, --test                        Test actions, don't do them
xdm                |  -u, --user <arg>                  Change the process user
xdm                |  -r, --chroot <arg>                Chroot to this directory
xdm                |  -w, --wait <arg>                  Milliseconds to wait for daemon start
xdm                |  -x, --exec <arg>                  Binary to start/stop
xdm                |  -1, --stdout <arg>                Redirect stdout to file
xdm                |  -2, --stderr <arg>                Redirect stderr to file
xdm                |  -P, --progress                    Print dots each second while waiting
xdm                |  -h, --help                        Display this help output
xdm                |  -C, --nocolor                     Disable color output
xdm                |  -V, --version                     Display software version
xdm                |  -v, --verbose                     Run verbosely
xdm                |  -q, --quiet                       Run quietly (repeat to suppress errors)
xdm                | * ERROR: could not start the Display Manager

Expected Results:  
xdm                | * Setting up sddm ...
Comment 1 PrSo 2017-10-19 12:01:04 UTC
Same here. Something is wrong with "/lib/rc/bin/get_options".

If this helps

ls -l /lib/rc/bin/get_options produces:

-rwxr-xr-x 1 root root 23064 10-19 11:14 /lib/rc/bin/get_options
Comment 2 PrSo 2017-10-19 16:24:22 UTC
Editing /etc/X11/startDM.sh by hardcoding get_option path helps:

EXEC="$(/lib/rc/bin/get_options service)"
NAME="$(/lib/rc/bin/get_options name)"
PIDFILE="$(/lib/rc/bin/get_options pidfile)"
START_STOP_ARGS="$(/lib/rc/bin/get_options start_stop_args)"

see: https://forums.gentoo.org/viewtopic-t-1017328.html .