Gentoo Archives: gentoo-dev

From: Hans Fernhout <hfern@××××××××.info>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Refactor display manager openrc init scripts to independent package
Date: Sun, 11 Oct 2020 09:07:08
Message-Id: 21776a60-34d0-ca60-f217-8903b8084e4c@fernhout.info
In Reply to: Re: [gentoo-dev] [RFC] Refactor display manager openrc init scripts to independent package by Aisha Tammy
1 On 10/10/20 2:26 PM, Aisha Tammy wrote:
2 >
3 >>>  - Configuration of display-manager is done similar to xdm by modifying
4 >>>     /etc/conf.d/display-manager
5 >>>  - Add display-manager to default runlevel and it should start working
6 >> My counter-proposal at this point would be to handle DMs similarily to
7 >> how it's done with systemd. In other words, every DM would provide their
8 >> own init and conf files (or, "service" files) and they'd be controlled
9 > This is quite hard as openrc manages tty handling differently than
10 > systemd.
11 > Currently display-managers work by adding an extra run level in openrc
12 > (see https://github.com/gentoo/gentoo/pull/16554/files#diff-6d89a718d595e0c0516c6d6b96bd4cd5R21)
13 >
14 > It is not possible to do this independently for each of lightdm/gdm/sddm
15 > separately, there would be too much redundant copying of code.
16 >
17 Would this not be resolved by switching to openrc-init instead of
18 systemv init?

Replies