Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884039 - gui-libs/display-manager-init-1.1.1: missing xdm stanza causes bogus error message
Summary: gui-libs/display-manager-init-1.1.1: missing xdm stanza causes bogus error m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-02 16:35 UTC by Phil Stracchino (Unix Ronin)
Modified: 2022-12-04 20:02 UTC (History)
1 user (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 Phil Stracchino (Unix Ronin) 2022-12-02 16:35:32 UTC
setup_dm() in /etc/init.d/display-manager in gui-libs/display-manager-init-1.1.1 no longer contains a stanza for xdm.  If DISPLAYMANAGER="xdm" in /etc/conf.d/display-manager, this causes display-manager selection to fall through to the default and causes a bogus error message falsely stating that "No xdm executable could be found on your system."
Comment 1 Phil Stracchino (Unix Ronin) 2022-12-02 16:47:06 UTC
Additionally just discovered:  The naive 'solution' of adding a correct-looking xdm stanza suppresses the bogus error message, but causes display-manager-init to fail to start xdm.
Comment 2 Phil Stracchino (Unix Ronin) 2022-12-02 18:04:56 UTC
...However, adding an EMPTY xdm);; stanza suppresses the bogus error message without causing xdm to fail to start.
Comment 3 Larry the Git Cow gentoo-dev 2022-12-04 20:02:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0759e39809ee94ea821269480a0ed65fd593ba9e

commit 0759e39809ee94ea821269480a0ed65fd593ba9e
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2022-12-04 20:02:07 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2022-12-04 20:02:51 +0000

    gui-libs/display-manager-init: 1.1.2 version bump
    
    Closes: https://bugs.gentoo.org/884039
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 .../display-manager-init-1.1.2.ebuild              |  54 ++++++
 .../files/display-manager.initd-r5                 | 201 +++++++++++++++++++++
 2 files changed, 255 insertions(+)