unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Sébastien Lerique" <sl@eauchat.org>
To: help-guix@gnu.org, guix-devel@gnu.org
Subject: home-syncthing-service-type wants /root paths, yet syncthing can work
Date: Fri, 05 Jan 2024 15:05:38 +0100	[thread overview]
Message-ID: <0e58fe8b715dc6f4b0ddef3819a5222d@eauchat.org> (raw)

Hi Guix! And dear helpers and devs,

I'm running into a weird failure of home-syncthing-service-type.

Running syncthing manually from the terminal works fine (here's an 
example log: <https://pastebin.com/1dLMKkyK>).

So I Ctrl-C syncthing, then add home-syncthing-service-type to my 
home-configuration 
<https://gitlab.com/wehlutyk/guix-config/-/blob/master/home-configuration.scm> 
(bottom lines).

After restarting, home-syncthing-service-type fails synchronizing 
because it bases all user folders inside /root, to which it doesn't have 
writing rights. This happens whether all syncthing configurations in 
`.local/state/syncthing` had been removed in the meantime or not. Here's 
a log: <https://pastebin.com/14LwbvRn>

Could this be a bug? A mistake in the configuration files? In case it's 
useful, the system config is 
<https://gitlab.com/wehlutyk/guix-config/-/blob/master/config.scm>, and 
the versions:

sl@beoga ~> guix describe
Generation 3	Jan 03 2024 23:08:17	(current)
   guix 7b0863f
     repository URL: https://git.savannah.gnu.org/git/guix.git
     branch: master
     commit: 7b0863f07a113caef26fea13909bd97d250b629e
   guix-science 4e7057c
     repository URL: https://github.com/guix-science/guix-science.git
     branch: master
     commit: 4e7057ceafba901f619bac068c74c6df158fd4ec
   nonguix 8956906
     repository URL: https://gitlab.com/nonguix/nonguix
     branch: master
     commit: 8956906f6bed6709e71f0c26ed6a3620f40dc487

Best to all, and thanks for any answer!
Sébastien


             reply	other threads:[~2024-01-05 14:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-05 14:05 Sébastien Lerique [this message]
2024-01-06 12:39 ` home-syncthing-service-type wants /root paths, yet syncthing can work Tomas Volf
2024-01-09 22:58   ` 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=0e58fe8b715dc6f4b0ddef3819a5222d@eauchat.org \
    --to=sl@eauchat.org \
    --cc=guix-devel@gnu.org \
    --cc=help-guix@gnu.org \
    /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).