Bug ID | 973559 |
---|---|
Summary | [DM] Scripts in /etc/X11/xinit/xinitrc.d/ are not executed sequentially |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | All |
OS | openSUSE 42.1 |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | X.Org |
Assignee | eich@suse.com |
Reporter | eich@suse.com |
QA Contact | xorg-maintainer-bugs@forge.provo.novell.com |
CC | mrmazda@earthlink.net, werner@suse.com, xorg-maintainer-bugs@forge.provo.novell.com |
Found By | Development |
Blocker | --- |
Although some scripts in /etc/X11/xinit/xinitrc.d/ bear a sequence number at the beginning of the file name, they are not executed sequentially. Reason is the line: $script & Replacing this with: case $script in [0-9][0-9]-*) $script ;; *) $script & ;; esac will make sure the numbered scripts are run sequentially. All other scripts may be run in parallel after the numbered scripts are done. This way, broken old scripts which don't make sure services are daemonized will still work.