Re: ANN: SELinux Userspace Release: 20140826-rc7

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

 



On Thu, Dec 4, 2014 at 8:15 PM, Steve Lawrence <slawrence@xxxxxxxxxx> wrote:
> The seventh release candidate for the next release of SELinux Userspace
> [1] is now available. T
[...]

Hi all

Is it possible to kepe the tmp/ directory when building/loading a policy fails?

# semodule -v -i foo.pp
Attempting to install module 'foo.pp':
Ok: return value of 0.
Committing changes:
Conflicting type rules
Binary policy creation failed at line 177 of
/var/lib/selinux/mcs/tmp/modules/400/java/cil
Failed to generate binary
semodule:  Failed!

The tmp/ directory is cleared so it is not possible to use that
location for troubleshooting.

In this particular case, I could find the java/cil in the
/var/lib/selinux/mcs/active/modules/400 location, but if the error
would be within the foo.pp-generated CIL file, then the CIL file
cannot be found anymore.

Wkr,
  Sven Vermeulen
_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux