hello,list:
      I download the sysvinit-2.85-4tr.src.rpm and want rebuild it
with the selinux support.but I get error  information .
I run rpmbuild --bb sysvinit.spec. and I change this line "[ -n
"%{?use_selinux}" ] && patch -p1 < %{SOURCE2}" to
"patch -p1 < %{SOURCE2}",is this error?
      And I add #define SELINUXMNT "/selinux/" and change the
SELINUXPOLICY to selinux_binary_policy_path().
now I can rebuild it.But,when I use the new init reboot my
system(trustix 3.0),it doesn't mount the /selinux and load policy.
     please help me. 


=============
error information.
=============
make: Entering directory `/usr/src/trustix/build/sysvinit-2.85/src'
gcc -c -Wall -O2 -D_GNU_SOURCE -fno-builtin-log -DWITH_SELINUX init.c
init.c: In function `load_policy':
init.c:97: error: `SELINUXMNT' undeclared (first use in this function)
init.c:97: error: (Each undeclared identifier is reported only once
init.c:97: error: for each function it appears in.)
init.c:120: error: `SELINUXPOLICY' undeclared (first use in this function)
make: *** [init.o] Error 1
make: Leaving directory `/usr/src/trustix/build/sysvinit-2.85/src'
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to