[Pkg-sysvinit-devel] Bug#580272: sysvinit: Does not load SELinux policy

Dr. Werner Fink werner at suse.de
Fri May 7 08:25:12 UTC 2010


On Fri, May 07, 2010 at 10:17:53AM +0200, Petter Reinholdtsen wrote:
> [Martin Orr]
> > I am happy to test things.  I shall ask on the SELinux list and with
> > init upstream what init should be happening here.
> 
> Great.  I have already asked on the upstream mailing list, see
> <URL: http://lists.nongnu.org/archive/html/sysvinit-devel/2010-05/msg00000.html >.

I'd like to see if it makes a difference to change

       if (is_selinux_enabled() > 0) {

to

       if (is_selinux_enabled() == 0) {

as this may enforce the call of selinux_init_load_policy()

Martin?  Does this change work for you?

    Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr





More information about the Pkg-sysvinit-devel mailing list