all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dannym@scratchpost.org
To: 53763@debbugs.gnu.org
Cc: Danny Milosavljevic <dannym@scratchpost.org>
Subject: [bug#53763] [PATCH 2/3] services: %base-services: Adapt agetty-service-type to depend on syslogd.
Date: Thu,  3 Feb 2022 21:55:20 +0100	[thread overview]
Message-ID: <20220203205521.25145-2-dannym@scratchpost.org> (raw)
In-Reply-To: <20220203205521.25145-1-dannym@scratchpost.org>

From: Danny Milosavljevic <dannym@scratchpost.org>

Fixes <https://issues.guix.gnu.org/30464>.

* gnu/services/base.scm (%base-services): Reorder syslog-service for clarity.
[shepherd-requirement]: New field.
---
 gnu/services/base.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index d6f584abdb..028426c3f8 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -2787,10 +2787,12 @@ (define %base-services
                         (cons tty %default-console-font))
                       '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6")))
 
+        (syslog-service)
         (service agetty-service-type (agetty-configuration
                                        (extra-options '("-L")) ; no carrier detect
                                        (term "vt100")
-                                       (tty #f))) ; automatic
+                                       (tty #f) ; automatic
+                                       (shepherd-requirement '(syslogd))))
 
         (service mingetty-service-type (mingetty-configuration
                                          (tty "tty1")))
@@ -2807,7 +2809,6 @@ (define %base-services
 
         (service static-networking-service-type
                  (list %loopback-static-networking))
-        (syslog-service)
         (service urandom-seed-service-type)
         (service guix-service-type)
         (service nscd-service-type)
-- 
2.34.0





  reply	other threads:[~2022-02-03 21:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-03 20:52 [bug#53763] [PATCH 0/3] Make console agetty wait for syslogd to start up dannym
2022-02-03 20:55 ` [bug#53763] [PATCH 1/3] services: agetty: Add shepherd-requirement dannym
2022-02-03 20:55   ` dannym [this message]
2022-02-03 20:55   ` [bug#53763] [PATCH 3/3] agetty-shepherd-service: Rename console agetty to "term-console" for clarity dannym
2022-02-25 16:17 ` bug#53763: [PATCH 0/3] Make console agetty wait for syslogd to start up Danny Milosavljevic

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=20220203205521.25145-2-dannym@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=53763@debbugs.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.