Re: init problem

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

 



Daniel J Walsh wrote:
> /* Return 1 if we are running on a SELinux kernel, or 0 if not or -1
> if we get an error. */
> extern int is_selinux_enabled(void);
> 
> Attached patch to fix man page.

Okay. In that case, sysvinit needs the following fix (tested to solve
the issue):

   if (getenv("SELINUX_INIT") == NULL&&  (1 != is_selinux_enabled())) {
                                          ^

(I got the original fix wrong.)

Michal Svoboda

Attachment: pgppJ6t9sJK4f.pgp
Description: PGP signature


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

  Powered by Linux