GNU bug report logs - #73494
[PATCH 0/2] tmpfs /run.

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Thu, 26 Sep 2024 07:03:02 UTC

Severity: normal

Tags: patch

Full log


Message #176 received at 73494 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Vagrant Cascadian <vagrant <at> debian.org>, Hilton Chain <hako <at> ultrarare.space>,
 73494 <at> debbugs.gnu.org, Z572 <zhengjunjie <at> iscas.ac.cn>
Subject: Re: [bug#73494] [PATCH v6 1/3] services: activation: Continue on
 exceptions.
Date: Thu, 08 May 2025 14:54:30 +0900
Hi,

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

> Hilton Chain <hako <at> ultrarare.space> writes:
>
>> * gnu/services.scm (activation-script): Reset environment before loading
>> activation script.
>> Catch exception and print the error.
>> Warn about failed activation script.
>>
>> Change-Id: I89be31433fbb46d0c4a9dc6115ab167910840b6f
>
> [...]
>
>> +                      (for-each (lambda (action)
>> +                                  ;; Don't block activation process when one
>> +                                  ;; action fails.
>> +                                  (guard (condition
>> +                                          (else
>> +                                           (format (current-error-port) "~a~%"
>> +                                                   condition)
>> +                                           (warning
>> +                                            (G_ "failed to activate '~a'~%")
>> +                                            action)))
>> +                                    (save-module-excursion
>> +                                     (lambda ()
>> +                                       (set-current-module
>> +                                        (make-fresh-user-module))
>> +                                       (primitive-load action)))))
>> +                                '#$actions)))))
>
> LGTM.

Thanks.  I've pushed just this 1/3 patch so far.  We still need to
understand why the use of shepherd-system-log-service hangs the jami
service (dbus daemon), *only* when /run is mounted on a tmpfs (!).

-- 
Thanks,
Maxim




This bug report was last modified 37 days ago.

Previous Next


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