* About guix system init
@ 2018-02-13 3:38 rennes
2018-02-21 6:38 ` Chris Marusich
0 siblings, 1 reply; 4+ messages in thread
From: rennes @ 2018-02-13 3:38 UTC (permalink / raw)
To: guix-devel; +Cc: rennes
Hello,
I am currently running 'guix system init doc/os-config-hurd.scm /guix'
on Debian/Hurd;
Some of the things that I have observed:
* Only the directories '/gnu/store' and 'var' are populated.
* The directories: bin, etc, home, mnt, root, run and tmp are created
but without configuration.
However, there is no error at the end of the command, is there a way to
debug to identify which part is being omitted?
About GNU Shepherd,
'shepherd -c
/guix/gnu/store/naxj2x6i83bba7a2h5dmpz4sclxqifxk-shepherd.conf -l
/home/jin/shepherd.log'
sample:
starting services...
Service root-file-system has been started.
Service user-file-systems has been started.
failed to start service 'file-systems'
failed to start service 'file-system-/dev/pts'
failed to start service 'file-system-/dev/shm'
failed to start service 'file-system-/gnu/store'
failed to start service 'file-system-/sys/fs/cgroup'
failed to start service 'file-system-/sys/fs/cgroup/cpuset'
failed to start service 'file-system-/sys/fs/cgroup/cpu'
failed to start service 'file-system-/sys/fs/cgroup/cpuacct'
failed to start service 'file-system-/sys/fs/cgroup/memory'
failed to start service 'file-system-/sys/fs/cgroup/devices'
failed to start service 'file-system-/sys/fs/cgroup/freezer'
failed to start service 'file-system-/sys/fs/cgroup/blkio'
failed to start service 'file-system-/sys/fs/cgroup/perf_event'
failed to start service 'file-system-/sys/fs/cgroup/hugetlb'
failed to start service 'user-processes'
Service host-name has been started.
failed to start service 'user-homes'
failed to start service 'nscd'
failed to start service 'guix-daemon'
failed to start service 'urandom-seed'
failed to start service 'syslogd'
failed to start service 'loopback'
Is it necessary to have the services started correctly to run 'guix
system init ..' ?
Thank you
^ permalink raw reply [flat|nested] 4+ messages in thread
* About guix system init
@ 2018-02-13 22:16 Rene
2018-02-14 14:25 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Rene @ 2018-02-13 22:16 UTC (permalink / raw)
To: guix-devel@gnu.org; +Cc: pacoon@protonmail.com
[-- Attachment #1: Type: text/plain, Size: 1829 bytes --]
Hello,
I am currently running 'guix system init doc/os-config-hurd.scm /guix' on Debian/Hurd;
Some of the things that I have observed:
* Only the directories '/gnu/store' and 'var' are populated.
* The directories: bin, etc, home, mnt, root, run and tmp are created but without configuration.
However, there is no error at the end of the command, is there a way to debug to identify which part is being omitted?
About GNU Shepherd,
'shepherd -c /guix/gnu/store/naxj2x6i83bba7a2h5dmpz4sclxqifxk-shepherd.conf -l /home/jin/shepherd.log'
sample:
starting services...
Service root-file-system has been started.
Service user-file-systems has been started.
failed to start service 'file-systems'
failed to start service 'file-system-/dev/pts'
failed to start service 'file-system-/dev/shm'
failed to start service 'file-system-/gnu/store'
failed to start service 'file-system-/sys/fs/cgroup'
failed to start service 'file-system-/sys/fs/cgroup/cpuset'
failed to start service 'file-system-/sys/fs/cgroup/cpu'
failed to start service 'file-system-/sys/fs/cgroup/cpuacct'
failed to start service 'file-system-/sys/fs/cgroup/memory'
failed to start service 'file-system-/sys/fs/cgroup/devices'
failed to start service 'file-system-/sys/fs/cgroup/freezer'
failed to start service 'file-system-/sys/fs/cgroup/blkio'
failed to start service 'file-system-/sys/fs/cgroup/perf_event'
failed to start service 'file-system-/sys/fs/cgroup/hugetlb'
failed to start service 'user-processes'
Service host-name has been started.
failed to start service 'user-homes'
failed to start service 'nscd'
failed to start service 'guix-daemon'
failed to start service 'urandom-seed'
failed to start service 'syslogd'
failed to start service 'loopback'
Is it necessary to have the services started correctly to run 'guix system init ..' ?
Thank you
Rene
[-- Attachment #2: Type: text/html, Size: 2486 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: About guix system init
2018-02-13 22:16 Rene
@ 2018-02-14 14:25 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-02-14 14:25 UTC (permalink / raw)
To: Rene; +Cc: guix-devel@gnu.org
Hi Rene,
Rene <pacoon@protonmail.com> scribes:
> I am currently running 'guix system init doc/os-config-hurd.scm /guix' on Debian/Hurd;
>
> Some of the things that I have observed:
>
> * Only the directories '/gnu/store' and 'var' are populated.
> * The directories: bin, etc, home, mnt, root, run and tmp are created but without configuration.
>
> However, there is no error at the end of the command, is there a way to debug to identify which part is being omitted?
Nothing’s omitted, this is working as expected: /bin and /etc will be
populated at activation time (i.e., when you boot the system), and of
course populating /home, /run, etc. is up to users and daemons.
> About GNU Shepherd,
> 'shepherd -c /guix/gnu/store/naxj2x6i83bba7a2h5dmpz4sclxqifxk-shepherd.conf -l /home/jin/shepherd.log'
> sample:
>
> starting services...
> Service root-file-system has been started.
> Service user-file-systems has been started.
> failed to start service 'file-systems'
> failed to start service 'file-system-/dev/pts'
> failed to start service 'file-system-/dev/shm'
> failed to start service 'file-system-/gnu/store'
> failed to start service 'file-system-/sys/fs/cgroup'
> failed to start service 'file-system-/sys/fs/cgroup/cpuset'
> failed to start service 'file-system-/sys/fs/cgroup/cpu'
> failed to start service 'file-system-/sys/fs/cgroup/cpuacct'
> failed to start service 'file-system-/sys/fs/cgroup/memory'
> failed to start service 'file-system-/sys/fs/cgroup/devices'
> failed to start service 'file-system-/sys/fs/cgroup/freezer'
> failed to start service 'file-system-/sys/fs/cgroup/blkio'
> failed to start service 'file-system-/sys/fs/cgroup/perf_event'
> failed to start service 'file-system-/sys/fs/cgroup/hugetlb'
> failed to start service 'user-processes'
> Service host-name has been started.
> failed to start service 'user-homes'
> failed to start service 'nscd'
> failed to start service 'guix-daemon'
> failed to start service 'urandom-seed'
> failed to start service 'syslogd'
> failed to start service 'loopback'
>
> Is it necessary to have the services started correctly to run 'guix system init ..' ?
No, not at all; ‘guix system init’ can even be run on a foreign distro.
BTW, notice that on GNU/Hurd the file systems above aren’t available.
So you’ll need to adjust (gnu system file-systems) to not try to mount
them.
HTH,
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: About guix system init
2018-02-13 3:38 About guix system init rennes
@ 2018-02-21 6:38 ` Chris Marusich
0 siblings, 0 replies; 4+ messages in thread
From: Chris Marusich @ 2018-02-21 6:38 UTC (permalink / raw)
To: rennes; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 359 bytes --]
rennes <rennes@openmailbox.org> writes:
> Is it necessary to have the services started correctly to run 'guix
> system init ..' ?
No, I don't think it's necessary. Judging by the source code, it looks
like "guix system init" does not start any services. The relevant bits
are in the "install" procedure in guix/scripts/system.scm.
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-21 6:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-13 3:38 About guix system init rennes
2018-02-21 6:38 ` Chris Marusich
-- strict thread matches above, loose matches on Subject: below --
2018-02-13 22:16 Rene
2018-02-14 14:25 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.