From: "Ludovic Courtès" <ludo@gnu.org>
To: Robin Green <greenrd@greenrd.org>
Cc: 42427-done@debbugs.gnu.org
Subject: bug#42427: [PATCH] services: Fix auditd startup.
Date: Mon, 27 Jul 2020 11:31:37 +0200 [thread overview]
Message-ID: <87365d1eyu.fsf@gnu.org> (raw)
In-Reply-To: <87k0yqxmta.fsf@greenrd.org> (Robin Green's message of "Sun, 26 Jul 2020 17:28:49 +0100")
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
Hi,
Robin Green <greenrd@greenrd.org> skribis:
>>From 2944613bee5a742b04c26a7c27d3a09f9047dbe5 Mon Sep 17 00:00:00 2001
> From: Robin Green <greenrd@greenrd.org>
> Date: Sun, 19 Jul 2020 08:32:31 +0100
> Subject: [PATCH] services: Fix auditd startup.
>
> * gnu/services/auditd.scm: Make auditd start successfully in the default case.
> * gnu/services/aux-files/auditd/auditd.conf: New file.
> * doc/guix.texi (Miscellaneous Services): Update docs to reflect changes.
> ---
> doc/guix.texi | 11 +++++++++--
> gnu/services/auditd.scm | 41 ++++++++++++++++++++++++++++++-----------
> 2 files changed, 39 insertions(+), 13 deletions(-)
Applied with the changes below and a tweaked commit log.
Thank you!
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1359 bytes --]
diff --git a/doc/guix.texi b/doc/guix.texi
index 8b9eb791c7..d4557b360a 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -27629,8 +27629,8 @@ This is the data type representing the configuration of auditd.
@item @code{audit} (default: @code{audit})
The audit package to use.
-@item @code{configdir} (default: @code{(local-file "aux-files/auditd")})
-A directory containing a configuration file for the audit package, which
+@item @code{configuration-directory} (default: @code{%default-auditd-configuration-directory})
+The directory containing the configuration file for the audit package, which
must be named @code{auditd.conf}, and optionally some audit rules to
instantiate on startup.
diff --git a/gnu/services/auditd.scm b/gnu/services/auditd.scm
index 1750614207..cffc226ec9 100644
--- a/gnu/services/auditd.scm
+++ b/gnu/services/auditd.scm
@@ -48,7 +48,7 @@ ignore\ndisk_error_action = syslog\n"))
auditd-configuration?
(audit auditd-configuration-audit ; package
(default audit))
- (configuration-directory auditd-configuration-configuration-directory)) ; local-file
+ (configuration-directory auditd-configuration-configuration-directory)) ; file-like
(define (auditd-shepherd-service config)
(let* ((audit (auditd-configuration-audit config))
prev parent reply other threads:[~2020-07-27 9:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-19 17:17 [bug#42427] [PATCH] services: Fix auditd startup Robin Green
2020-07-22 22:07 ` Ludovic Courtès
2020-07-26 16:28 ` Robin Green
2020-07-27 9:31 ` Ludovic Courtès [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87365d1eyu.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=42427-done@debbugs.gnu.org \
--cc=greenrd@greenrd.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).