Skip to content

Commit

Permalink
gui-libs/display-manager-init: start after elogind
Browse files Browse the repository at this point in the history
fixes race condition with elogind
Closes: https://bugs.gentoo.org/768834
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Aisha Tammy <[email protected]>
Closes: gentoo#19348
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
epsilon-0 authored and a17r committed Feb 5, 2021
1 parent 2318b3a commit d318143
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RDEPEND="

src_install() {
newinitd "${FILESDIR}"/display-manager-setup.initd display-manager-setup
newinitd "${FILESDIR}"/display-manager.initd display-manager
newinitd "${FILESDIR}"/display-manager.initd-r1 display-manager
newinitd "${FILESDIR}"/xdm.initd xdm
newconfd "${FILESDIR}"/display-manager.confd display-manager
exeinto /usr/bin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License, v2

# This is here to serve as a note to myself, and future developers.
Expand Down Expand Up @@ -46,9 +46,11 @@ depend() {
# (#291269) Start after quota, since some dm need readable home
# (#390609) gdm-3 will fail when dbus is not running
# (#366753) starting keymaps after X causes problems
# (#768834) race condition with elogind
after bootmisc consolefont modules netmount
after readahead-list ypbind autofs openvpn gpm lircmd
after quota keymaps
after elogind
before alsasound

# Start before GUI
Expand Down

0 comments on commit d318143

Please sign in to comment.