guix/gnu/system
Ludovic Courtès 6c4458172d
services: file-systems: Include 'user-file-systems' service.
Previously the KNOWN-FS value used in 'essential-services' would be
incomplete: it would lack all the file systems provided by services that
extend 'file-system-service-type' (/sys/fs/cgroup,
/proc/sys/fs/binfmt_misc, etc.)  Consequently, upon shutdown,
'user-processes' would unmount these file systems before their
corresponding service had been stopped; when their corresponding (e.g.,
'file-system-/proc/sys/fs/binfmt_misc') was stopped, its 'umount' call
would fail.

This was harmless in practice, but this patch makes sure things work as
intended and file systems are unmounted in the right order.

* gnu/services/base.scm (file-system-shepherd-services): Instantiate
'user-file-systems' Shepherd service from here.
(user-unmount-service-type, user-unmount-service): Remove.
* gnu/system.scm (essential-services): Remove call to 'user-unmount-service'.
* gnu/system/install.scm (cow-store-service-type): Adjust comment.
2018-03-07 11:22:42 +01:00
..
examples system: beaglebone-black: Use 'initrd-modules'. 2018-03-03 09:41:21 +01:00
file-systems.scm file-systems: Move %control-groups from %base-file-systems to 2017-12-22 15:03:10 +01:00
install.scm services: file-systems: Include 'user-file-systems' service. 2018-03-07 11:22:42 +01:00
linux-container.scm file-systems: Add 'file-system-mapping->bind-mount'. 2017-02-03 00:23:28 +01:00
linux-initrd.scm linux-initrd: Add virtio modules to '%base-initrd-modules'. 2018-03-03 09:41:21 +01:00
locale.scm system: Put locales where libc will find them. 2018-01-24 11:18:49 -05:00
mapped-devices.scm guix system: Check for the lack of modules in the initrd. 2018-03-02 13:53:15 +01:00
nss.scm nss: Add '%mdns-host-lookup-nss'. 2015-05-08 16:35:32 +02:00
pam.scm services: Move 'session-environment-service-type' to pam.scm. 2017-09-22 00:05:08 +02:00
shadow.scm Merge branch 'master' into core-updates 2018-01-11 14:22:50 -08:00
uuid.scm uuid: Fix typo in comment. 2017-12-02 23:13:20 +01:00
vm.scm linux-initrd: Add virtio modules to '%base-initrd-modules'. 2018-03-03 09:41:21 +01:00