Gentoo Archives: gentoo-dev

From: Mart Raudsepp <leio@g.o>
To: gentoo-dev@l.g.o
Cc: Matt Turner <mattst88@g.o>, asturm@g.o, grknight@g.o
Subject: Re: [gentoo-dev] Re: [PATCH] profiles: Enable USE=user-session on systemd profiles
Date: Thu, 19 Mar 2020 13:41:29
Message-Id: 1554283e9a149434f13ab2fc8b6158601b945dda.camel@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [PATCH] profiles: Enable USE=user-session on systemd profiles by Mike Gilbert
1 Ühel kenal päeval, K, 18.03.2020 kell 16:43, kirjutas Mike Gilbert:
2 > Seems good to me in principle, but I'm not sure it is something we
3 > > should do until we haven't promoted this into a global USE flag.
4 >
5 > An alternative would be to add entries in package.use.
6
7 Yeah, that'd be what it is now, just done in systemd profile, not most
8 of the separate systemd profiles.
9
10 > > With the disclaimer of not knowing anything about dbus[user-
11 > > session] on
12 > > a non-systemd system - maybe it's just time to make user-session
13 > > unconditionally enabled on dbus (and then bluez) instead?
14 > > All it seems to do (on a very quick look) is install some extra
15 > > systemd
16 > > files - can't they just be always installed (by always passing --
17 > > enable-user-session) and call it a day?
18 >
19 > It looks like user-session has no effect if systemd is not in use.
20 >
21 > On systems running systemd, having the units installed automatically
22 > enables the systemd user bus, and the only way to disable it is to
23 > mask the units. Having the user bus enabled generally prevents
24 > display
25 > managers and startx from starting individual session buses, since
26 > they
27 > will use the user bus instead. That's probably fine, but I wanted to
28 > note it.
29
30 So how about we try to just always enable this instead in dbus and
31 bluez? Anyone got any objections, provided the below can be handled?
32
33 I peeked at bluez, and there USE=user-session exists to apply a patch
34 to unbreak things when user-session is disabled. Unfortunately it seems
35 to be needed there for non-systemd systems as well. I think we should
36 be able to figure things out to work in all situations there, or make
37 it be applied for USE=-systemd only (that's already the case there,
38 just it is not applied for USE="systemd -user-session" right now).
39
40
41 Mart

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies