unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: guix-devel@gnu.org, Konrad Hinsen <konrad.hinsen@fastmail.net>
Subject: Re: syslogd can't be started when running Guix in Docker
Date: Wed, 03 Jul 2019 05:10:50 +0000	[thread overview]
Message-ID: <32C2B140-E070-4940-8234-35459A909A5B@gmail.com> (raw)
In-Reply-To: <m1r2789x1j.fsf@khs-macbook.home>

Hi Konrad,

On July 2, 2019 5:16:40 PM UTC, Konrad Hinsen <konrad.hinsen@fastmail.net> wrote:
>Hi everyone,
>
>I am exploring the possibility of running Guix under macOS via Docker.
>First I ran 'guix system docker-image` on a minimal system
>configuration, which I then transferred to the Mac and started.
>Overall it works admirably well. There are however a few services
>that don't work, in particulary syslogd:

Try running the Docker container in privileged mode (docker run --privileged); I think this will allow the necessary Guix  services dependencies of the syslog service to run.

I forgot the details, bit I think it has to do with syslog depending on something you'd have on a real system but not in a container.


>   root@guix /# herd status
>   Started:
>    + file-systems
>    + guix-daemon
>    + host-name
>    + loopback
>    + root
>    + root-file-system
>    + udev
>    + urandom-seed
>    + user-file-systems
>    + user-processes
>    + virtual-terminal
>   Stopped:
>    - nscd
>    - ssh-daemon
>    - syslogd
>   One-shot:
>    * user-homes
>
>   root@guix /# herd start syslogd
>   Service syslogd could not be started.
>   herd: failed to start service syslogd
>
>I have no idea why this should fail, and worse, I have no idea how to
>debug this. 

I think I've used the emacs-guix package to see the dependency graphs of services and that helped me IIRC. Plus peaking in the services source code.

HTH,

Maxim

  reply	other threads:[~2019-07-03  5:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-02 17:16 syslogd can't be started when running Guix in Docker Konrad Hinsen
2019-07-03  5:10 ` Maxim Cournoyer [this message]
2019-07-03  8:12   ` Konrad Hinsen
2019-07-03 11:17     ` Konrad Hinsen
2019-07-04 13:10       ` Maxim Cournoyer
2019-07-04 15:39         ` Konrad Hinsen
2019-07-05 18:22           ` Maxim Cournoyer
2019-07-05 22:25           ` Ludovic Courtès
2019-07-06  6:26             ` Konrad Hinsen
2019-07-11 15:35               ` Ludovic Courtès
2019-07-11 18:40                 ` Konrad Hinsen
2019-07-11 21:00                   ` 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=32C2B140-E070-4940-8234-35459A909A5B@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=konrad.hinsen@fastmail.net \
    /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).