[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: elogind configuration
From: |
Ludovic Courtès |
Subject: |
Re: elogind configuration |
Date: |
Wed, 19 Oct 2022 11:53:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi,
Antonio Carlos Padoan Junior <acpadoanjr@yahoo.com.br> skribis:
> I do not know why but "suspend" stopped working on my computer
> after a recent upgrade (pull & reconfigure).
By that you mean that ‘loginctl suspend’ doesn’t have any effect?
I’ve just tried on my laptop and it works for me with this system
generation:
--8<---------------cut here---------------start------------->8---
$ guix system describe
Generation 204 Oct 10 2022 00:29:29 (current)
file name: /var/guix/profiles/system-204-link
canonical file name: /gnu/store/yvaj9yi25rm16q9j6jccviaf5i55hk83-system
label: GNU with Linux-Libre 5.19.14
bootloader: grub-efi
root device: label: "root"
kernel:
/gnu/store/8s41d36dgb700p3g5jbgl5vy7wi7lbsw-linux-libre-5.19.14/bzImage
channels:
guix:
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: e827d45db92d6e1f9dc68199cd40cb5d67de9d46
configuration file:
/gnu/store/p4w6x2q9x9cakslb0n6qcqyydn5y0a8m-configuration.scm
--8<---------------cut here---------------end--------------->8---
> However I'm intrigued because my
> /run/current-system/profile/etc/elogind/logind.conf
As Tobias wrote, it’s a trap. :-)
The config file that’s actually use can be found like so:
--8<---------------cut here---------------start------------->8---
$ sudo herd status elogind
Status of elogind:
It is started.
Running value is 347.
It is enabled.
Provides (elogind).
Requires (dbus-system).
Conflicts with ().
Will be respawned.
$ sudo cat /proc/347/environ |xargs -0
ELOGIND_CONF_FILE=/gnu/store/z14j9xi29aci66d2akcflbgxzwm4lg8q-logind.conf
--8<---------------cut here---------------end--------------->8---
I guess we could improve that user interface.
Ludo’.