From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EH1VJxCP5GQT8gAASxT56A (envelope-from ) for ; Tue, 22 Aug 2023 12:33:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gK1CJhCP5GTNBgEAG6o9tA (envelope-from ) for ; Tue, 22 Aug 2023 12:33:52 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 28C995ACA0 for ; Tue, 22 Aug 2023 12:33:52 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bioneland.org header.s=20230804 header.b="AIaZiH0/"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692700432; a=rsa-sha256; cv=none; b=QZA+zKW+l+4AhzR6FTGt6Xj579Wk52olyRVLg4rU29xLnDN4bJXYJuR/Pad4T1IfI3K2ik BqM2YV0ugXPlZsIIqQS65X06SfvVDi8AY+8DtbRGO4yHmadpQFtjdbhcg2ldpEOi+o3mzD PNvdXBDd46DFy+wl9VWDWdtHCn+Um5hgea/kp+HdvZTmpgYMap02qcZtbcQO2Jconh6V4S UgDhqDofMWT4ErAY7T3Iy/Tf2/+APvp7+f/PgOrFGhxdxT7jDis4GZ0VBaxJwxTCPiX3pk x5lPIW9j1SwzP06lWXRuHINR8WJbtEvGGldxMUB3w9y6P34kACsqm09vQeqtJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bioneland.org header.s=20230804 header.b="AIaZiH0/"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692700432; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7Z1MLA+FZlsRMH3/ieg0eiWXozMuG1kpqHMPBCd7zQE=; b=kblzvJg9sLqj6s45vF60UULdu51m+vDanw5oM3lZWA6OiO7k6XdYm9w1/eM0LHbTG3NUkc y1aXLKr/zjzNA6q4hsGremESJ1s7qzuYPzmFa6WThAYtjl+XONOf/zNHQOF6hhWkFFiHox lF5qFBe5AcKJZhKO++/HUnl2GLA8BHtaXwe023snDW0hfCjFvulQXlzoKrS09/hklziuBH xvH3hIJsB465cTAOvrv+9LZouz5EHZkJmW3h+xoPPf5sio4xdl+lRIVz9E88Bkq0Ie4jf3 CglwYe12F9SkDlLctmPwn4kyfXFDxHuRLczKaxzs5M80ZFrMOsObS2o6ILM6dg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYOhK-0001Ph-D0; Tue, 22 Aug 2023 06:33:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYOhI-0001PW-I5 for help-guix@gnu.org; Tue, 22 Aug 2023 06:33:16 -0400 Received: from smtp-1909.mail.infomaniak.ch ([2001:1600:3:17::1909]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYOhF-0004xn-Rj for help-guix@gnu.org; Tue, 22 Aug 2023 06:33:16 -0400 Received: from smtp-2-0000.mail.infomaniak.ch (unknown [10.5.36.107]) by smtp-2-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4RVQfV61tGzMqB7g for ; Tue, 22 Aug 2023 10:33:06 +0000 (UTC) Received: from unknown by smtp-2-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4RVQfV3P6nzMppDP for ; Tue, 22 Aug 2023 12:33:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bioneland.org; s=20230804; t=1692700386; bh=7Z1MLA+FZlsRMH3/ieg0eiWXozMuG1kpqHMPBCd7zQE=; h=From:To:Subject:Date:From; b=AIaZiH0/r9z5rNpBYdSNVgcPWf56+6YODrzeAqVqDQnFy5QDHt7fx4IvLCIqBPwWQ j0BWwVDeV7esVxWILAgW3XdB9A75DmXbBxE/2MguXUIhIYOm4nNyscQR8xjdH0CUjA 70IqBxAT9CvPXnIY9SmtbJUEiuht6kDUUpVYtmFaqXU5S9Lt8mFePWeZ8GqMSpVQJQ WmRlO6XMrc4HluFwgF6gGvLrhikE1RfwSXFfo56UJkKekZyGsEqZIIU5UJOs83syXq S429Cvvy1L3nt23qRjLkZAf1aI2m/BttlSzDK2fJmRsVf4jarLJmfzo1FvLxrXUOV6 80AqFlzk2KoZQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tanguy LE CARROUR To: help-guix@gnu.org Subject: Problem with Sheperd after `guix home reconfigure` Date: Tue, 22 Aug 2023 12:33:05 +0200 Message-ID: <169270038577.21161.10509568575565107521@localhost> User-Agent: alot/0.10 X-Infomaniak-Routing: alpha Received-SPF: pass client-ip=2001:1600:3:17::1909; envelope-from=tanguy@bioneland.org; helo=smtp-1909.mail.infomaniak.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -6.40 X-Migadu-Queue-Id: 28C995ACA0 X-Migadu-Spam-Score: -6.40 X-TUID: GbWhDZ4Cf+Ed Hi Guix, This morning I `guix pull` and `guix system reconfigure` my system and everything seemed to be OK. But, when I `guix home reconfigure`, I got an error message: ``` Loading /gnu/store/x103955zkwzkbmb9hji0dxc5fk7l8c3q-shepherd.conf. herd: error: exception caught while executing 'load' on service 'root': Unbound variable: %user-log-dir ``` The config contains the following: ``` $ cat /gnu/store/x103955zkwzkbmb9hji0dxc5fk7l8c3q-shepherd.conf (begin (use-modules (srfi srfi-34) (system repl error-handling)) (apply reg= ister-services (map (lambda (file) (load file)) (quote ("/gnu/store/xz6amxp= c572hirdysivd4gmvivfibzkh-shepherd-transmission.scm" "/gnu/store/wwkmsgbi8j= c0nysgflgg10sqmqmxs8dm-shepherd-tor.scm" "/gnu/store/kzlmpjlbzz7fmvb32f96qd= 7wnw0rx4nn-shepherd-mpd.scm" "/gnu/store/7qa23wxmmqf50iybpd86qyg64977mdzm-s= hepherd-mcron.scm")))) (action (quote root) (quote daemonize)) (format #t "= Starting services...~%") (let ((services-to-start (quote (mpd mcron)))) (if= (defined? (quote start-in-the-background)) (start-in-the-background servic= es-to-start) (for-each start services-to-start)) (redirect-port (open-input= -file "/dev/null") (current-input-port)))) ``` The only mention to `%user-log-dir` seems to be in `...-shepherd-mcron.scm`: ``` $ cat /gnu/store/7qa23wxmmqf50iybpd86qyg64977mdzm-shepherd-mcron.scm (eval-when (expand load eval) (let ((extensions (quote ())) (prepend (lambd= a (items lst) (let loop ((items items) (lst lst)) (if (null? items) lst (lo= op (cdr items) (cons (car items) (delete (car items) lst)))))))) (set! %loa= d-path (prepend (cons "/gnu/store/5bgqil67vfaymb4q3pxp2xb5lqvki81x-module-i= mport" (map (lambda (extension) (string-append extension "/share/guile/site= /" (effective-version))) extensions)) %load-path)) (set! %load-compiled-pat= h (prepend (cons "/gnu/store/gknigc86qbb433gp83jg7nd1pzksswir-module-import= -compiled" (map (lambda (extension) (string-append extension "/lib/guile/" = (effective-version) "/site-ccache")) extensions)) %load-compiled-path))))(b= egin (use-modules (srfi srfi-1) (srfi srfi-26) (ice-9 popen) (ice-9 rdelim)= (ice-9 match) (shepherd service) (oop goops) ((guix build utils) #:hide (d= elete)) (guix build syscalls)) (make #:docstring (quote "[No docu= mentation.]") #:provides (quote (mcron)) #:requires (quote ()) #:one-shot? = (quote #f) #:respawn? (quote #t) #:start (make-forkexec-constructor (list "= /gnu/store/mxjkd7644pzs00sq8x47s9k9kcmlr5ib-mcron-1.2.1-0.5fd0ccd/bin/mcron= " "--log" "--log-format" "~1@*~a ~a: ~a~%" "/gnu/store/wynnrkgj67rc7s20mv12= 2vlkzvkpm3gh-mcron-job" "/gnu/store/cgbn0dgfwx09hfpqjs5raz8gw99m0lbq-mcron-= job") #:environment-variables (cons* "GUILE_AUTO_COMPILE=3D0" "PATH=3D/run/= current-system/profile/bin" (remove (cut string-prefix? "PATH=3D" <>) (envi= ron))) #:log-file (string-append %user-log-dir "/mcron.log")) #:stop (make-= kill-destructor) #:actions (make-actions (schedule "Display jobs that are g= oing to be scheduled." (lambda* (_ #:optional (n "5")) (setenv "GUILE_AUTO_= COMPILE" "0") (let ((pipe (open-pipe* OPEN_READ "/gnu/store/mxjkd7644pzs00s= q8x47s9k9kcmlr5ib-mcron-1.2.1-0.5fd0ccd/bin/mcron" (string-append "--schedu= le=3D" n) "/gnu/store/wynnrkgj67rc7s20mv122vlkzvkpm3gh-mcron-job" "/gnu/sto= re/cgbn0dgfwx09hfpqjs5raz8gw99m0lbq-mcron-job"))) (let loop () (match (read= -line pipe (quote concat)) ((? eof-object?) (catch (quote system-error) (la= mbda () (zero? (close-pipe pipe))) (lambda args (or (=3D ECHILD (system-err= or-errno args)) (apply throw args))))) (line (display line) (loop)))))))))) ``` Any idea what might be going wrong?! Regards, --=20 Tanguy