From: "Ludovic Courtès" <ludo@gnu.org>
To: Felix Lechner via "Development of GNU Guix and the GNU System
distribution." <guix-devel@gnu.org>
Cc: Felix Lechner <felix.lechner@lease-up.com>
Subject: Re: [Shepherd] Shutdown and reboot entries in utmp?
Date: Thu, 14 Nov 2024 11:56:06 +0100 [thread overview]
Message-ID: <87jzd6ozi1.fsf@gnu.org> (raw)
In-Reply-To: <87ed3h9dt4.fsf@lease-up.com> (Felix Lechner via's message of "Mon, 11 Nov 2024 22:16:55 -0800")
Hi,
Felix Lechner via "Development of GNU Guix and the GNU System
distribution." <guix-devel@gnu.org> skribis:
> Does the GNU Shepherd add entries for shutdowns and reboots to utmp? [1]
Nope!
This could be done in the start/stop methods of ‘user-processes’ in (gnu
services base) using the utmpx procedures from (guix build syscalls).
Eventually it would be nice to move utmp support in the Shepherd proper,
but that entails a bit of code churn (having the utmp API available from
Shepherd, etc.).
HTH,
Ludo’.
next prev parent reply other threads:[~2024-11-14 10:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-12 6:16 [Shepherd] Shutdown and reboot entries in utmp? Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-11-14 10:56 ` Ludovic Courtès [this message]
2024-11-14 10:56 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzd6ozi1.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=felix.lechner@lease-up.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.