guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding ‘rottlog-service-type’ to ‘%base-services’


From: Ludovic Courtès
Subject: Adding ‘rottlog-service-type’ to ‘%base-services’
Date: Thu, 02 Apr 2020 19:18:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello Guix!

We discussed recently that we should add a ‘rottlog-service-type’
instance to ‘%base-services’.  It’s a trivial change that makes a lot of
sense to me.

It’s all fine but the problem is that it leads to a build failure of
etc.drv for those who were already adding ‘rottlog-service-type’ to
their services (because we end up with two instances of that service
type, both of which try to add /etc/rottlog.)

Perhaps that’s fine, and we can provide a news entry to let people now?

Incidentally, I think we should probably stop using GNU rottlog and
implement our own stuff: it wouldn’t be much work and would be much more
flexible (and we wouldn’t need that /etc/rottlog entry!).

Thoughts?

Ludo’.

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 8d9a563e2b..a0179c0259 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -2444,6 +2444,8 @@ to handle."
         (service guix-service-type)
         (service nscd-service-type)
 
+        (service rottlog-service-type)
+
         ;; The LVM2 rules are needed as soon as LVM2 or the device-mapper is
         ;; used, so enable them by default.  The FUSE and ALSA rules are
         ;; less critical, but handy.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]