GNU bug report logs - #68415
User's shepherd services defined in guix home config can not start after guix pull.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Feng Shu <tumashu@HIDDEN>; dated Sat, 13 Jan 2024 05:17:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 68415 <at> debbugs.gnu.org:


Received: (at 68415) by debbugs.gnu.org; 17 Jan 2024 12:56:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 17 07:56:09 2024
Received: from localhost ([127.0.0.1]:51109 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rQ5Sj-0007AT-7P
	for submit <at> debbugs.gnu.org; Wed, 17 Jan 2024 07:56:09 -0500
Received: from m16.mail.163.com ([220.197.31.2]:60826)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tumashu@HIDDEN>) id 1rQ5Se-00079u-9n
 for 68415 <at> debbugs.gnu.org; Wed, 17 Jan 2024 07:56:07 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com;
 s=s110527; h=From:Subject:Date:Message-ID:MIME-Version:
 Content-Type; bh=eNDta91wXS5jg5l3orU2GLipl38wc7HSuWBKnA+rqRc=;
 b=A8fGy+95lmrghkFHMRWfqqfRMcX6moRZJgpVdi0Fl0boZjSi2/W7wuXeW0LUVk
 yDfrdFXg9KreiLX9Kl45cdmdfCzhK69Y1q4/Q5ljb7Fzf7wc69CWp04ntH3nRo+8
 mJDygML5aZq79UkStSn1phyhNeofL4nG3p3gXPQiaLKDU=
Received: from Guix (unknown [49.88.118.123])
 by gzga-smtp-mta-g0-0 (Coremail) with SMTP id _____wDnb6tZzqdlB5L6Ag--.450S2; 
 Wed, 17 Jan 2024 20:55:56 +0800 (CST)
From: Feng Shu <tumashu@HIDDEN>
To: Sergey Trofimov <sarg@HIDDEN>
Subject: Re: bug#68415: User's shepherd services defined in guix home config
 can not start after guix pull.
In-Reply-To: <87mst4torv.fsf@HIDDEN> (Sergey Trofimov's message of "Wed, 
 17 Jan 2024 08:04:58 +0100")
References: <87a5p5n4yr.fsf@HIDDEN> <87sf2xe9cg.fsf@HIDDEN>
 <87mst4torv.fsf@HIDDEN>
Date: Wed, 17 Jan 2024 20:55:53 +0800
Message-ID: <87mst4f7ae.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-CM-TRANSID: _____wDnb6tZzqdlB5L6Ag--.450S2
X-Coremail-Antispam: 1Uf129KBjvdXoWrZF17Zw1xAFy8ZF18GFW5Awb_yoWktFgEkF
 yrArZ5Kw1vyw4DGanIqr48uF93Ga18uFZ5Ww1UWr1rA34Sva1jga1UJr97uw1fJan5Krnx
 Xr47Za4fJ3429jkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT
 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xR_J5rDUUUUU==
X-Originating-IP: [49.88.118.123]
X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiSgRo1GVOAyuOEgAAst
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 68415
Cc: 68415 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

Sergey Trofimov <sarg@HIDDEN> writes:

Today, after I guix pull again and reconfig guix home, this problem
dispear, I do not know why :-)

> Feng Shu <tumashu@HIDDEN> writes:
>
>>>
>>> Have you tried debugging it? Is your home shepherd running? Do you
>>> see
>>
>> I tried, but I do not know why: unbound-variable service
>>
> That is not normal. You need to fix that.
>
>>
>> The below code run have problem, and I think shepherd is not run,
>> for
>> 'ps aux |grep shepherd' can not found info.
>
> home's shepherd is started by ~/.guix-home/on-first-login, which gets
> invoked in ~/.profile
> You can try running the script manually and see what happens.
>
> Please compare your home configuration before and after the pull. You
> can find the configs in
> /var/guix/profiles/per-user/<name>/guix-home-<version>-link/configuration.scm
>
> The subject is "can not start after guix pull", but it seems to me
> your home is misconfigured and the pull might be unrelated.
>
>>
>>      (service
>>       home-shepherd-service-type
>>       (home-shepherd-configuration
>>        (shepherd shepherd)
>
> that's the default, no need to specify shepherd
>
>>        (services
>>         (list xautolock-service))))
>>
>

-- 





Information forwarded to bug-guix@HIDDEN:
bug#68415; Package guix. Full text available.

Message received at 68415 <at> debbugs.gnu.org:


Received: (at 68415) by debbugs.gnu.org; 17 Jan 2024 07:14:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 17 02:14:39 2024
Received: from localhost ([127.0.0.1]:50523 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rQ08F-00031y-HK
	for submit <at> debbugs.gnu.org; Wed, 17 Jan 2024 02:14:39 -0500
Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:43480)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sarg@HIDDEN>) id 1rQ08C-00031j-JY
 for 68415 <at> debbugs.gnu.org; Wed, 17 Jan 2024 02:14:38 -0500
Received: by mail-ej1-x631.google.com with SMTP id
 a640c23a62f3a-a2e0be86878so435121766b.1
 for <68415 <at> debbugs.gnu.org>; Tue, 16 Jan 2024 23:14:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=sarg.org.ru; s=google; t=1705475670; x=1706080470; darn=debbugs.gnu.org;
 h=mime-version:message-id:in-reply-to:date:subject:cc:to:from
 :user-agent:references:from:to:cc:subject:date:message-id:reply-to;
 bh=lp/0cLza2U0ULMhwW1W5gB6Jr+Hy/DYGXk2ssUF28AM=;
 b=dCAI5GfbyMp2Y3v93KNNfEaQXp7UEOJ4QaUxhwET4V28JHK4NU31cmh7VULazXJ4S3
 boX9UrQ2z83MPOAmfJ4HPPOPTcPtNNmdpLqJok/a3zPis9kxDd6LNJKiDVPga2Z14rIn
 tyQUd6rKsTayGkZWOlfLIuq0o0VjaZlA01fC4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1705475670; x=1706080470;
 h=mime-version:message-id:in-reply-to:date:subject:cc:to:from
 :user-agent:references:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=lp/0cLza2U0ULMhwW1W5gB6Jr+Hy/DYGXk2ssUF28AM=;
 b=b/a1TE5dTJglRyRuqcky31DAg5v912pEPkAWyDk6M5iNU2qb0uagX+bO7UKCpDi5Cv
 DnlwjY04ROnIujLRCkwSk+LwLXFSQCjvSny+MA2ghlkvflNmA2EoxFBdYMXj65m1/sQN
 KceiWnO7agTxyz60z4yDCe0yL/nDXLH2DLdZS9KxlPyv5/QROjL9CZVTCA1lfK5Oxx4k
 1gIAbjIXzHZ2IUrgAHghc+31S6pXTKcde/fB4ISiUHbSNoVOtbdLPMsc7CnbPI4kSdGV
 WMU7t8Pv7QS/683ZKnzeivbQuFbY6bE9N+wS8ty3hLSHYTwAXeueuf1QUv6lG4Cb25C2
 eqig==
X-Gm-Message-State: AOJu0YwQuPAWpi1lsvUVxxFoKmGpf9gChgDP5eBXdIhcVoFg449l4RF5
 Osws2yz4U6hB7aidvUJROJQ4OH2o7bSokx7grAWopAzSZvgGmJzz
X-Google-Smtp-Source: AGHT+IFmRcl5Yjd+RnluSAhiIdPe+ehuKl/n/obSgcCiQ+uIC4JpUZ8BLLTjF5LJJO8tBhunnDaoTw==
X-Received: by 2002:a17:906:1991:b0:a23:5939:759e with SMTP id
 g17-20020a170906199100b00a235939759emr372887ejd.26.1705475669746; 
 Tue, 16 Jan 2024 23:14:29 -0800 (PST)
Received: from localhost ([2a02:2454:a09d:d000:a64e:31ff:fe38:fd6c])
 by smtp.gmail.com with ESMTPSA id
 ca13-20020a170906a3cd00b00a2c869be22dsm7119083ejb.143.2024.01.16.23.14.29
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 16 Jan 2024 23:14:29 -0800 (PST)
References: <87a5p5n4yr.fsf@HIDDEN> <87sf2xe9cg.fsf@HIDDEN>
User-agent: mu4e 1.10.8; emacs 29.1
From: Sergey Trofimov <sarg@HIDDEN>
To: Feng Shu <tumashu@HIDDEN>
Subject: Re: bug#68415: User's shepherd services defined in guix home config
 can not start after guix pull.
Date: Wed, 17 Jan 2024 08:04:58 +0100
In-reply-to: <87sf2xe9cg.fsf@HIDDEN>
Message-ID: <87mst4torv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 68415
Cc: 68415 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)


Feng Shu <tumashu@HIDDEN> writes:

>>
>> Have you tried debugging it? Is your home shepherd running? Do 
>> you see
>
> I tried, but I do not know why: unbound-variable service
>
That is not normal. You need to fix that.

>
> The below code run have problem, and I think shepherd is not 
> run, for
> 'ps aux |grep shepherd' can not found info.

home's shepherd is started by ~/.guix-home/on-first-login, which 
gets invoked in ~/.profile
You can try running the script manually and see what happens.

Please compare your home configuration before and after the pull. 
You can find the configs in 
/var/guix/profiles/per-user/<name>/guix-home-<version>-link/configuration.scm

The subject is "can not start after guix pull", but it seems to me 
your home is misconfigured and the pull might be unrelated.

>
>      (service
>       home-shepherd-service-type
>       (home-shepherd-configuration
>        (shepherd shepherd)

that's the default, no need to specify shepherd

>        (services
>         (list xautolock-service))))
>




Information forwarded to bug-guix@HIDDEN:
bug#68415; Package guix. Full text available.

Message received at 68415 <at> debbugs.gnu.org:


Received: (at 68415) by debbugs.gnu.org; 16 Jan 2024 12:44:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 16 07:44:44 2024
Received: from localhost ([127.0.0.1]:48040 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPio8-0001cz-8B
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 07:44:44 -0500
Received: from m16.mail.163.com ([220.197.31.2]:45178)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tumashu@HIDDEN>) id 1rPio4-0001cm-2e
 for 68415 <at> debbugs.gnu.org; Tue, 16 Jan 2024 07:44:42 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com;
 s=s110527; h=From:Subject:Date:Message-ID:MIME-Version:
 Content-Type; bh=5+9WYM6/ctE4pTAdUU4nT1C/ELsJzlzb8CZ9mO/YZy8=;
 b=hbXaFDu6/zBYcrRivmju6UDoNgF+JQgQMFcv4Kruk8IAKK5GxGI/kM8fRLLWaQ
 BH4jZ5Pfy74OhwybA+3FP5HSRCmnYgDWHFNxUs5e8iBZ8iwTR1l8KP1YruvF8ozx
 d2z7PM/o9/3YUDSDz+6xhU/5sn0fdF2o/GGdBp7SIxpZ8=
Received: from Guix (unknown [49.88.118.123])
 by gzga-smtp-mta-g0-5 (Coremail) with SMTP id _____wA3f4IveqZlezKLAg--.116S2; 
 Tue, 16 Jan 2024 20:44:33 +0800 (CST)
From: Feng Shu <tumashu@HIDDEN>
To: Sergey Trofimov <sarg@HIDDEN>
Subject: Re: bug#68415: User's shepherd services defined in guix home config
 can not start after guix pull.
In-Reply-To: <87a5p5n4yr.fsf@HIDDEN> (Sergey Trofimov's message of "Tue, 
 16 Jan 2024 07:51:01 +0100")
References: <87a5p5n4yr.fsf@HIDDEN>
Date: Tue, 16 Jan 2024 20:44:31 +0800
Message-ID: <87sf2xe9cg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-CM-TRANSID: _____wA3f4IveqZlezKLAg--.116S2
X-Coremail-Antispam: 1Uf129KBjvJXoW7tr1xKF18KrWrZrWrXr4Utwb_yoW8CFW3p3
 W3WFnava1rJr1UKr1vq3WUWryY9aykC3WSq3sxXr4xJFn8uryvyr13tr1FgFWqvr97Cr1D
 Zr1UA3s8ur1DA3DanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2
 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0zRrb15UUUUU=
X-Originating-IP: [49.88.118.123]
X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiHRJn1GVEpGmAuAAAso
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 68415
Cc: 68415 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

Sergey Trofimov <sarg@HIDDEN> writes:

> Feng Shu <tumashu@HIDDEN> writes:
>
>> After I guix pull, services defined in guix home config can no
>> start:
>>
>> -------------------------
>> =E6=9C=8D=E5=8A=A1 root =E5=B7=B2=E5=90=AF=E5=8A=A8=E3=80=82
>> WARNING: Use of `load' in declarative module (#{ g117}#).  Add
>> #:declarative? #f to your define-module invocation.
>> unbound-variable(#f "Unbound variable: ~S" (service) #f)
>>
>> Some deprecated features have been used.  Set the environment
>> variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
>> program to get more information.  Set it to "no" to suppress
>> this message.
>> Creating XDG user directories... done
>> Comparing
>> /gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share/fonts
>> and
>>           /gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share=
/fonts...
>> done (same)
>> Evaluating on-change gexps.
>>
>> -----------
>>
>> When I run command: herd status, show error:
>>
>> feng@Guix ~$ herd status
>> error: connect: /run/user/1000/shepherd/socket: No such file or
>> directory
>
> Have you tried debugging it? Is your home shepherd running? Do you see

I tried, but I do not know why: unbound-variable service


The below code run have problem, and I think shepherd is not run, for=20
'ps aux |grep shepherd' can not found info.

(define xautolock-service
  (shepherd-service
   (provision '(xautolock))
   (documentation "Run 'xautolock'")
   (start #~(make-forkexec-constructor
             (list #$(file-append xautolock "/bin/xautolock")
                   "-detectsleep")))
   (stop #~(make-kill-destructor))))


...

     (service
      home-syncthing-service-type)

     (service
      home-shepherd-service-type
      (home-shepherd-configuration
       (shepherd shepherd)
       (services
        (list xautolock-service))))

> shepherd mentions in ~/.guix-home/on-first-login?

> Have you tried restarting your system?

Restart system no effect.

>

--=20





Information forwarded to bug-guix@HIDDEN:
bug#68415; Package guix. Full text available.

Message received at 68415 <at> debbugs.gnu.org:


Received: (at 68415) by debbugs.gnu.org; 16 Jan 2024 06:54:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 16 01:54:30 2024
Received: from localhost ([127.0.0.1]:47548 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPdLB-0005tc-QV
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 01:54:30 -0500
Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:51486)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sarg@HIDDEN>) id 1rPdL9-0005tP-C2
 for 68415 <at> debbugs.gnu.org; Tue, 16 Jan 2024 01:54:28 -0500
Received: by mail-ed1-x531.google.com with SMTP id
 4fb4d7f45d1cf-55790581457so10811377a12.3
 for <68415 <at> debbugs.gnu.org>; Mon, 15 Jan 2024 22:54:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=sarg.org.ru; s=google; t=1705388061; x=1705992861; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:user-agent:from:to:cc:subject:date:message-id:reply-to;
 bh=R8mmidXf9cfKuBXfkW2aIvy7Cz8GnQvMOeWu9/UcNMQ=;
 b=QvQ99+tuVKIpF/yiF+y17MU0XSrbnOq8VKckVZePH9QMYhP1SH08m8b9W4k9xPDw74
 rtRhHnJ/b7at11QTVU0pOK6FziH975cSu17/Ly7aZWJOgvmAAUwxVaFI2Dr9Fc9Rx4Op
 PIOxa0PFGaIn2woyfbcGcmHWyrMGCLUW0EED4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1705388061; x=1705992861;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:user-agent:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=R8mmidXf9cfKuBXfkW2aIvy7Cz8GnQvMOeWu9/UcNMQ=;
 b=XeAbl/OdOuI9aemZSt9FZPgdnvtr+5kYc5W1j98kssSJeorBcY+YpyxvvHSrzieE0L
 tFjkzI4J7iZBJy5vmiYMMcgTEKTLRez1WjLBcfoEaEUj5GBMHpgM1GEghRT6lpebdLvA
 AG+CTvwfenDWbbueyYSTU0ya53jE/FgMvSAACUxQv1vogEnjeT1Dvg5yQkkFA4QNlqx8
 Ma83SwPEoigvbQqBriXIQiNMUtIe976skcZZJuq1tsBTtLmOvJiu3htgN7n/I1FmUY2r
 MvAqb78gIwDmMsVZibUzH9YNMWVTkj+euftOyMy8N1WiwLqEMLm6uiSTqQDUyVCEIAFV
 +Qaw==
X-Gm-Message-State: AOJu0YwxheNvJkNhqbpZnms81i25pZ4wGaePlrjv03imqqXLahcbEFHQ
 PlaaHRGDljiBeq1tHzvAGVqYNcsDWud/qNC6e3Q+F1khwJLFsgHI
X-Google-Smtp-Source: AGHT+IEchrLqkQlKN+S90lwDfR+PqPvVl0gkdE6dMAtEpX8aDjxU2ah6OwtBOSskjdE9y6m9/MC6KQ==
X-Received: by 2002:aa7:d056:0:b0:558:c20c:f366 with SMTP id
 n22-20020aa7d056000000b00558c20cf366mr3027114edo.74.1705388061310; 
 Mon, 15 Jan 2024 22:54:21 -0800 (PST)
Received: from localhost ([2a02:2454:a09d:d000:a64e:31ff:fe38:fd6c])
 by smtp.gmail.com with ESMTPSA id
 cq13-20020a056402220d00b0055946388052sm2313385edb.43.2024.01.15.22.54.21
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 15 Jan 2024 22:54:21 -0800 (PST)
User-agent: mu4e 1.10.8; emacs 29.1
From: Sergey Trofimov <sarg@HIDDEN>
To: Feng Shu <tumashu@HIDDEN>
Subject: Re: bug#68415: User's shepherd services defined in guix home config
 can not start after guix pull.
Date: Tue, 16 Jan 2024 07:51:01 +0100
Message-ID: <87a5p5n4yr.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 68415
Cc: 68415 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

Feng Shu <tumashu@HIDDEN> writes:

> After I guix pull, services defined in guix home config can no 
> start:
>
> -------------------------
> 服务 root 已启动。
> WARNING: Use of `load' in declarative module (#{ g117}#).  Add 
> #:declarative? #f to your define-module invocation.
> unbound-variable(#f "Unbound variable: ~S" (service) #f)
>
> Some deprecated features have been used.  Set the environment
> variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
> program to get more information.  Set it to "no" to suppress
> this message.
> Creating XDG user directories... done
> Comparing 
> /gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share/fonts 
> and
>           /gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share/fonts... 
>           done (same)
> Evaluating on-change gexps.
>
> -----------
>
> When I run command: herd status, show error:
>
> feng@Guix ~$ herd status
> error: connect: /run/user/1000/shepherd/socket: No such file or 
> directory

Have you tried debugging it? Is your home shepherd running? Do you 
see shepherd mentions in ~/.guix-home/on-first-login?
Have you tried restarting your system?




Information forwarded to bug-guix@HIDDEN:
bug#68415; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Jan 2024 05:16:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 13 00:16:25 2024
Received: from localhost ([127.0.0.1]:38148 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rOWNc-0005si-VS
	for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 00:16:25 -0500
Received: from lists.gnu.org ([2001:470:142::17]:52922)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tumashu@HIDDEN>) id 1rOWNa-0005jO-Cb
 for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 00:16:24 -0500
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 <tumashu@HIDDEN>) id 1rOWNN-0000uz-Py
 for bug-guix@HIDDEN; Sat, 13 Jan 2024 00:16:11 -0500
Received: from m12.mail.163.com ([220.181.12.197])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <tumashu@HIDDEN>) id 1rOWNJ-0002vT-52
 for bug-guix@HIDDEN; Sat, 13 Jan 2024 00:16:09 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com;
 s=s110527; h=From:Subject:Date:Message-ID:MIME-Version:
 Content-Type; bh=D9bsmxxQZEStDJpn1ocHozvXVyOBV0KguB3WsNJfwXY=;
 b=PDGO+P6Z1CFogMGxFq3jwiQJsB3Nvewk/z/WVEXRDuX+4BFKUBdpmm3wRP5gju
 EM6ssn9N9YSAFQ/ymMutsA2H0YCr9gx2ckEd6x2LwSqbz/R8ERRGlCU7Vg3pCVS0
 Gp88ez/HH+UddNMvHba9X+rUBDr157dKzg+Ijvp4eb7H4=
Received: from Guix (unknown [49.88.118.123])
 by zwqz-smtp-mta-g4-0 (Coremail) with SMTP id _____wD3n4iDHKJlLbZPAw--.55885S2;
 Sat, 13 Jan 2024 13:15:47 +0800 (CST)
From: Feng Shu <tumashu@HIDDEN>
To: "guix-bug" <bug-guix@HIDDEN>
Subject: User's shepherd services defined in guix home config can not start
 after guix pull.
Date: Sat, 13 Jan 2024 13:15:47 +0800
Message-ID: <871qalreyk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-CM-TRANSID: _____wD3n4iDHKJlLbZPAw--.55885S2
X-Coremail-Antispam: 1Uf129KBjvdXoW7GF1UJw4fWF1kGFyUZw1rCrg_yoWfZwbEyF
 Wvqa9xC3yUXr18tw4DZrsYqa4Sq3y29FyYqayFqFWjkw4xXw43Ka9rX39093Z0ga15tr93
 GrnIqry5JwsrKjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT
 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUULID3UUUUU==
X-Originating-IP: [49.88.118.123]
X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiLwdk1GVOBMMHDgAAs9
Received-SPF: pass client-ip=220.181.12.197; envelope-from=tumashu@HIDDEN;
 helo=m12.mail.163.com
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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_BL=0.001, RCVD_IN_MSPIKE_L4=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)


After I guix pull, services defined in guix home config can no start:

-------------------------
=E6=9C=8D=E5=8A=A1 root =E5=B7=B2=E5=90=AF=E5=8A=A8=E3=80=82
WARNING: Use of `load' in declarative module (#{ g117}#).  Add #:declarativ=
e? #f to your define-module invocation.
unbound-variable(#f "Unbound variable: ~S" (service) #f)

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
Creating XDG user directories... done
Comparing /gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share/fo=
nts and
          /gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share/fo=
nts... done (same)
Evaluating on-change gexps.

-----------

When I run command: herd status, show error:

feng@Guix ~$ herd status
error: connect: /run/user/1000/shepherd/socket: No such file or directory




--=20





Acknowledgement sent to Feng Shu <tumashu@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#68415; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

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