Index: src/platform/init/ui.conf |
diff --git a/src/platform/init/ui.conf b/src/platform/init/ui.conf |
index 8cc20f7161f72df0df10ddb6aed2643e0a7aa235..db4608bea1092846888fcad71c44d8d808b8cc30 100644 |
--- a/src/platform/init/ui.conf |
+++ b/src/platform/init/ui.conf |
@@ -45,15 +45,11 @@ post-stop script |
set +e |
. /sbin/killers |
-# If this was a short-lived, first login, then cryptohome may still be expanding |
-# the image. resize2fs is called in a loop from mount.cryptohome so we kill it. |
-# The sleep loop in kill_with_open_files_on should be enough time for the |
-# current resize2fs call to complete. |
-term_process "mount.cryptohome$" |
+# Terminate any processes with files open on the mount point |
kill_with_open_files_on /home/chronos/user |
term_process "^X$" |
# Eventually, this will take a parameter specifying which user's dir to unmount. |
-! exec /usr/sbin/umount.cryptohome |
+/usr/sbin/cryptohome --action=unmount |
end script |