From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Young Subject: Re: why not install selinux with systemd being used Date: Wed, 22 May 2013 18:14:20 +0800 Message-ID: <519C9A7C.7080904@redhat.com> References: <519C9A2E.2080100@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <519C9A2E.2080100-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Harald Hoyer Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Vivek Goyal , Baoquan On 05/22/2013 06:13 PM, Dave Young wrote: > Hi, Harald > > I have a question about selinux module. > > In dracut.spec there's below code: > > %if %{defined _unitdir} > # with systemd IMA and selinux modules do not make sense > rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/96securityfs > rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/97masterkey > rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/98integrity > rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/98selinux > %endif > > I'm confused why they are excluded for systemd? > > And how can we load selinux policy in initramfs without 98selinux now? > > CC Vivek and Baoquan -- Thanks Dave