[rsbac] RC model not working in linux-2.6.3 v1.2.3 ?

Amon Ott ao at rsbac.org
Sat Mar 13 20:01:25 CET 2004


On Samstag, 13. März 2004 19:24, Thomas Mueller wrote:
> I've compiled a new kernel and rsbac-admin from rsync.rsbac.org with
> models AUTH and RC. AUTH seems to work fine, but I can't get RC up.
> 
> If I use rsbac_rc_type_menu -> FD -> New Type and enter any number I
> always get RSBAC_EINVALIDMODULE.
> 
> cat /proc/rsbac-info/stats:
> RSBAC Version: v1.2.3-pre4
> Compiled Modules: AUTH
> Active Modules:   AUTH

This means that really only AUTH has been included.
 
> RC seems not to be compiled in? But it should be I think:
> 
> $ cat config-2.6.3-586 |grep ^CONFIG_RSBAC
> CONFIG_RSBAC=y
> CONFIG_RSBAC_INIT_THREAD=y
> CONFIG_RSBAC_MAX_INIT_TIME=60
> CONFIG_RSBAC_PROC=y
> CONFIG_RSBAC_INIT_CHECK=y
> CONFIG_RSBAC_AUTO_WRITE=5
> CONFIG_RSBAC_DEBUG=y
> CONFIG_RSBAC_DEV_USER_BACKUP=y
> CONFIG_RSBAC_SECOFF_UID=400
> CONFIG_RSBAC_NET=y
> CONFIG_RSBAC_NET_DEV=y
> CONFIG_RSBAC_IND_NETDEV_LOG=y
> CONFIG_RSBAC_NET_OBJ=y
> CONFIG_RSBAC_IND_NETOBJ_LOG=y
> CONFIG_RSBAC_RC=y
> CONFIG_RSBAC_RC_AUTH_PROT=y
> CONFIG_RSBAC_RC_GEN_PROT=y
> CONFIG_RSBAC_RC_BACKUP=y
> CONFIG_RSBAC_RC_NET_DEV_PROT=y
> CONFIG_RSBAC_RC_NET_OBJ_PROT=y
> CONFIG_RSBAC_RC_NR_P_LISTS=4
> CONFIG_RSBAC_AUTH=y
> CONFIG_RSBAC_AUTH_AUTH_PROT=y
> CONFIG_RSBAC_SOFTMODE=y
> CONFIG_RSBAC_SOFTMODE_IND=y
> CONFIG_RSBAC_IND_LOG=y
> CONFIG_RSBAC_IND_USER_LOG=y
> CONFIG_RSBAC_IND_PROG_LOG=y
> CONFIG_RSBAC_LOG_FULL_PATH=y
> CONFIG_RSBAC_MAX_PATH_LEN=512
> CONFIG_RSBAC_RMSG=y
> CONFIG_RSBAC_FAKE_ROOT_UID=y
> CONFIG_RSBAC_XSTATS=y

Weird. Strange. How can it be both enabled and disabled? Needless to say 
that it compiles correctly here.

Did you recheck with make menuconfig and after a make clean? Does any file 
*rc* appear in /proc/rsbac-info? Do you see a rsbac/adf/rc/rc_main.o file?

Amon.
-- 
http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22



More information about the rsbac mailing list