Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: What the devil?!! [or Plasma teething problems Ia.]
Date: Thu, 27 Jun 2019 07:31:18
Message-Id: 1996519.sBTIm0zUjJ@peak
In Reply to: Re: [gentoo-user] Re: What the devil?!! [or Plasma teething problems Ia.] by Mick
1 On Wednesday, 26 June 2019 16:16:36 BST Mick wrote:
2 > On Wednesday, 26 June 2019 15:22:45 BST Peter Humphrey wrote:
3 > > On Wednesday, 26 June 2019 11:20:20 BST Mick wrote:
4 > > > I just looked at another installation. The default sddm configuration
5 > > > file (/usr/share/sddm/sddm.conf.d/00default.conf) shows this:
6 > > >
7 > > > [General]
8 > > > # Halt command
9 > > > HaltCommand=/usr/bin/loginctl poweroff
10 > > >
11 > > > In an OpenRC system there is no loginctl. Consequently, unless we
12 > > > define
13 > > > a
14 > > > separate config in /etc/ to use shutdown (with sudo?) it won't work.
15 > > > This
16 > > > systemd-ism may be worth a bug report.
17 > >
18 > > Here, it shows 'HaltCommand=/sbin/shutdown -h -P now'.
19 >
20 > Where 'here' is ... where? :-)
21
22 # grep Halt /usr/share/sddm/sddm.conf.d/00default.conf
23 # Halt command
24 HaltCommand=/sbin/shutdown -h -P now
25
26 (I hadn't seen this message when I replied just now.)
27
28 --
29 Gentoo testing system
30 gcc 9.1.0, sys-kernel/gentoo-sources 5.1.15
31 QT 5.12.3, KDE frameworks 5.59.0, KDE plasma 5.16.2
32 KDE apps 19.04.2 incl KMail 19.04.2-r1 (5.11.2), akonadi 19.04.0
33 dev-db/mariadb-10.3.16
34 x11-drivers/xf86-video-amdgpu 19.0.0
35 dev-libs/amdgpu-pro-opencl 18.20.684755