Re: [PATCH 2/2] do not umount selinuxfs and sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This other part of the patch, on the other hand, is not dropped and it
is actually quite important because it might cause boot failures under
some circumstances.

I am now going to rebase this second (2/2) part, after the first (1/2)
part has been withdrawn...

On Mon, 02/01/2017 at 02.26 +0100, Guido Trentalancia wrote:
> Do not umount the SELinux filesystem after loading the SELinux
> policy.
> 
>  modules.d/98selinux/selinux-loadpolicy.sh |    2 --
>  1 file changed, 2 deletions(-)
> 
> --- dracut-044-orig/modules.d/98selinux/selinux-loadpolicy.sh	
> 2017-01-02 02:09:25.774143396 +0100
> +++ dracut-044/modules.d/98selinux/selinux-loadpolicy.sh	2017-
> 01-02 02:09:38.844621886 +0100
> @@ -32,8 +32,6 @@ rd_load_policy()
>              ret=$?
>              info $out
>          fi
> -        umount /sys/fs/selinux
> -        umount /sys
>  
>          if [ "$SELINUX" = "disabled" ]; then
>              return 0;
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux