diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-07-01 09:38:09 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-07-01 12:10:28 +0200 |
commit | 0483c71cc5aeb3b69f6deb154fe12c0b2e6dc17f (patch) | |
tree | 6e6d54505a3e9828a328d7057ca9904054cd2311 /gnu/services/ssh.scm | |
parent | 4636640de8ecd9e3702bca75c9ce0649ac5d4979 (diff) |
services: root-file-system: Cleanly unmount upon shutdown.
Fixes <https://issues.guix.gnu.org/56209>.
Reported by angry rectangle <angryrectangle@cock.li>.
* gnu/packages/admin.scm (shepherd-0.9)[modules, snippet]: New fields.
* gnu/services/base.scm (%root-file-system-shepherd-service): In 'stop'
method, remove 'call-with-blocked-asyncs'. When 'mount' throws to
'system-error, call (@ (fibers) sleep) and try again.
* gnu/tests/base.scm (run-root-unmount-test): New procedure.
(%test-root-unmount): New variable.
Diffstat (limited to 'gnu/services/ssh.scm')
0 files changed, 0 insertions, 0 deletions