unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Sergey Trofimov <sarg@sarg.org.ru>
To: Feng Shu <tumashu@163.com>
Cc: 68415@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <87mst4torv.fsf@sarg.org.ru> (raw)
In-Reply-To: <87sf2xe9cg.fsf@163.com>


Feng Shu <tumashu@163.com> 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))))
>




  reply	other threads:[~2024-01-17  7:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-13  5:15 bug#68415: User's shepherd services defined in guix home config can not start after guix pull Feng Shu
2024-01-16  6:51 ` Sergey Trofimov
2024-01-16 12:44   ` Feng Shu
2024-01-17  7:04     ` Sergey Trofimov [this message]
2024-01-17 12:55       ` Feng Shu
2024-03-31 14:19         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mst4torv.fsf@sarg.org.ru \
    --to=sarg@sarg.org.ru \
    --cc=68415@debbugs.gnu.org \
    --cc=tumashu@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).