From 912ec467dbf94ec0b62a6894e0d044a877a6724d Mon Sep 17 00:00:00 2001 From: Joerg Thalheim Date: Sat, 7 Oct 2017 10:06:34 +0100 Subject: [PATCH] openafs-client: don't remove kernel module on stop Otherwise it cannot re-insert the kernel module after a kernel upgrade when boot kernel != running kernel. --- .../services/network-filesystems/openafs-client/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/services/network-filesystems/openafs-client/default.nix b/nixos/modules/services/network-filesystems/openafs-client/default.nix index 94f93162cfee..0946e379e796 100644 --- a/nixos/modules/services/network-filesystems/openafs-client/default.nix +++ b/nixos/modules/services/network-filesystems/openafs-client/default.nix @@ -93,7 +93,6 @@ in preStop = '' ${pkgs.utillinux}/bin/umount /afs ${openafsPkgs}/sbin/afsd -shutdown - ${pkgs.kmod}/sbin/rmmod libafs ''; }; };