GNU bug report logs -
#77578
[PATCH] tests: docker-system: Use only guix-daemon service.
Previous Next
Full log
Message #26 received at 77578 <at> debbugs.gnu.org (full text, mbox):
Hi,
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
In the meantime, the solution I proposed above remains necessary.
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.