From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <54006DD4.6040706@tycho.nsa.gov> Date: Fri, 29 Aug 2014 08:11:00 -0400 From: Stephen Smalley MIME-Version: 1.0 To: Sven Vermeulen , SELinux Subject: Re: SELinux Userspace Release: 20140826-rc1 References: <53FCA845.1030001@tresys.com> <20140827150608.GA6701@siphos.be> <53FE02E5.6080506@tresys.com> <53FF8DE9.6070302@tycho.nsa.gov> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: On 08/28/2014 04:52 PM, Sven Vermeulen wrote: > On Thu, Aug 28, 2014 at 10:15 PM, Stephen Smalley wrote: >>> When running the semanage_migrate_script I get the following problem: >>> >>> Migrating from /etc/selinux/mcs/modules/active to /var/lib/selinux/mcs/active >>> Attempting to rebuild policy from /var/lib/selinux >>> sysnetwork: Warning: 'else' blocks in optional statements are >>> unsupported in CIL. Dropping from output. >>> Segmentation fault > [...] >> Can you provide a copy of your original policy prior to conversion? > > If you mean the policy.29 file, certainly. You can wget it from > http://dev.gentoo.org/~swift/tmp/20140828-policy.29 No, the contents of /etc/selinux/mcs. The migration script converts the old policy module store, not the final kernel policy file.