From 478d1270ce4029b7fe5bfbb369f8e35c57b32ab2 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 13 Jun 2020 15:05:22 +0200 Subject: install: final: Add some logging. * gnu/installer/final.scm (umount-cow-store): Add some logging. --- gnu/installer/final.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu/installer/final.scm') diff --git a/gnu/installer/final.scm b/gnu/installer/final.scm index e06b104d59..a742c2a0cd 100644 --- a/gnu/installer/final.scm +++ b/gnu/installer/final.scm @@ -155,6 +155,8 @@ (define (restart-service name) ;; restart it. (restart-service 'guix-daemon) + (syslog "Killing cow users.") + ;; Kill all processes started while the cow-store was active (logins ;; on other TTYs for instance). (kill-cow-users tmp-dir) @@ -162,6 +164,7 @@ (define (restart-service name) ;; Try to umount the store overlay. Some process such as udevd ;; workers might still be active, so do some retries. (let loop ((try 5)) + (syslog "Umount try ~a~%" (- 5 try)) (sleep 1) (let ((umounted? (false-if-exception (umount tmp-dir)))) (if (and (not umounted?) (> try 0)) -- cgit v1.2.3