GNU bug report logs - #77578
[PATCH] tests: docker-system: Use only guix-daemon service.

Previous Next

Package: guix-patches;

Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>

Date: Sun, 6 Apr 2025 15:09:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Oleg Pykhalov <go.wigust <at> gmail.com>,  77578 <at> debbugs.gnu.org
Subject: [bug#77578] [PATCH 1/2] tests: docker-system: Remove unnecessary services from Docker image.
Date: Mon, 02 Jun 2025 10:25:52 +0200
Hi Oleg,

Ludovic Courtès <ludo <at> gnu.org> writes:

> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>>> +                         (modify-services
>>> +                             (append
>>> +                              (operating-system-user-services os)
>>> +                              (list
>>> +                               (service syslog-service-type
>>> +                                        (syslog-configuration
>>> +                                         (extra-options
>>> +                                          '("--rcfile=/etc/syslog.conf"
>>> +                                            "--no-forward"
>>> +                                            "--no-unixaf"
>>> +                                            "--no-klog"))))))
>>> +                           ;; 'herd status' is unresponsive. Investigation
>>> +                           ;; needed to resolve before migrating from syslog
>>> +                           ;; logging.
>>> +                           (delete shepherd-system-log-service-type)
>>
>> I think that’s because by default ‘system-log-service’ tries to open
>> /proc/kmsg; it fails in the container, which causes ‘system-log’ to fail
>> to start, and then nothing starts.
>>
>> The solution is to modify ‘shepherd-system-log-service-type’ to set
>> ‘kernel-log-file’ to #f (similar to ‘--no-klog’ above).
>
> I also pushed a fix in the Shepherd (which will be in 1.0.5) where
> ‘system-log’ starts even if #:kernel-log-file is inaccessible:
>
>   https://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=a54a503b01f9da4f6fb49d736dcf90da0fe51f1b

Now that 1.0.5 is out, could we revisit this patch?

TIA,
Ludo’.




This bug report was last modified 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.