Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [Was: What the devil?!!] sddm shutdown & reboot
Date: Wed, 26 Jun 2019 14:15:51
Message-Id: 4651527.RIk3DKp3Mh@localhost
In Reply to: Re: [gentoo-user] Re: What the devil?!! [or Plasma teething problems Ia.] by Neil Bothwick
1 On Wednesday, 26 June 2019 11:34:47 BST Neil Bothwick wrote:
2 > On Wed, 26 Jun 2019 11:20:20 +0100, Mick wrote:
3 > > I just looked at another installation. The default sddm configuration
4 > > file (/ usr/share/sddm/sddm.conf.d/00default.conf) shows this:
5 > >
6 > > [General]
7 > > # Halt command
8 > > HaltCommand=/usr/bin/loginctl poweroff
9 > >
10 > > In an OpenRC system there is no loginctl. Consequently, unless we
11 > > define a separate config in /etc/ to use shutdown (with sudo?) it won't
12 > > work. This systemd-ism may be worth a bug report.
13 >
14 > It won't work on systemd either, loginctl has no poweroff command, it
15 > should be systemctl poweroff, which is symlinked to /sbin/poweroff here
16 > so setting it to that should work for modern and ancient systems alike :P
17
18 Could it be loginctl is there to confirm if a local button operation can run /
19 sbin/poweroff, rather than actually running the command as shown in the sddm
20 config file?
21 --
22 Regards,
23
24 Mick

Attachments

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

Replies

Subject Author
Re: [gentoo-user] Re: [Was: What the devil?!!] sddm shutdown & reboot Neil Bothwick <neil@××××××××××.uk>