Hi Rene,

Rene <pac...@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’.

Reply via email to