[rsbac] Problem initializing RSBAC 5.4.8

Ahmed Alzhrani alzhrani.a at yahoo.com
Wed Jan 8 13:55:15 CET 2020


Dear all,
I am trying to setup RSBAC for kernel 5.4.8 on Debian. I went through the patching, compiling and installation of the Kernel + RSBAC Admin with no issue.
However, after I rebooted the system in soft mode, I checked the kernel log and found out that RSBAC is actually not initialized, here is a snippet of the log:

[ 3.649299] 0000000140|rsbac_mount(): RSBAC not initialized while mounting DEV 00:46, fs-type tmpfs, delaying[ 3.649355] 0000000141|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.649470] 0000000142|rsbac_mount(): RSBAC not initialized while mounting DEV 00:22, fs-type tmpfs, delaying[ 3.649611] 0000000143|rsbac_mount(): RSBAC not initialized while mounting DEV 00:22, fs-type tmpfs, delaying[ 3.649716] 0000000144|rsbac_mount(): RSBAC not initialized while mounting DEV 00:22, fs-type tmpfs, delaying[ 3.649741] 0000000145|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.649754] 0000000146|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.649767] 0000000147|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.651162] 0000000148|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.657582] 0000000149|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.657653] 0000000150|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.657840] 0000000151|rsbac_mount(): RSBAC not initialized while mounting DEV 00:22, fs-type tmpfs, delaying[ 3.658018] 0000000152|rsbac_mount(): RSBAC not initialized while mounting DEV 00:22, fs-type tmpfs, delaying[ 3.658179] 0000000153|rsbac_mount(): RSBAC not initialized while mounting DEV 00:22, fs-type tmpfs, delaying[ 3.658207] 0000000154|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.658220] 0000000155|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.658233] 0000000156|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.659572] 0000000157|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.664942] 0000000158|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.665018] 0000000159|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.665066] 0000000160|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.665144] 0000000161|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.665176] 0000000162|rsbac_mount(): RSBAC not initialized while mounting DEV 00:22, fs-type tmpfs, delaying[ 3.665225] 0000000163|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.666933] 0000000164|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.708489] Error: Driver 'pcspkr' is already registered, aborting...[ 3.717751] cfg80211: Loading compiled-in X.509 certificates for regulatory database[ 3.729969] snd_hda_intel 0000:00:1f.3: enabling device (0100 -> 0102)[ 3.730128] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])[ 3.736737] 0000000165|rsbac_mount(): RSBAC not initialized while mounting DEV 259:06, fs-type ext4, delaying[ 3.737051] 0000000166|rsbac_mount(): RSBAC not initialized while mounting DEV 00:47, fs-type tmpfs, delaying[ 3.737063] 0000000167|rsbac_mount(): RSBAC not initialized while mounting DEV 00:21, fs-type devpts, delaying[ 3.737092] 0000000168|rsbac_mount(): RSBAC not initialized while mounting DEV 00:25, fs-type tmpfs, delaying[ 3.737098] 0000000169|rsbac_mount(): RSBAC not initialized while mounting DEV 00:19, fs-type mqueue, delaying[ 3.737103] 0000000170|rsbac_mount(): RSBAC not initialized while mounting DEV 00:44, fs-type hugetlbfs, delaying[ 3.737605] 0000000171|rsbac_umount(): RSBAC not initialized[ 3.737612] 0000000172|do_umount() [sys_umount()]: umount failed -> calling rsbac_mount for Device 00:06[ 3.737613] 0000000173|rsbac_mount(): RSBAC not initialized while mounting DEV 00:06, fs-type devtmpfs, delaying[ 3.737615] 0000000174|rsbac_umount(): RSBAC not initialized[ 3.737983] 0000000175|rsbac_umount(): RSBAC not initialized[ 3.737984] 0000000176|rsbac_umount(): found delayed mount for device 00:06, removing[ 3.737988] 0000000177|do_umount() [sys_umount()]: umount failed -> calling rsbac_mount for Device 00:06[ 3.737988] 0000000178|rsbac_mount(): RSBAC not initialized while mounting DEV 00:06, fs-type devtmpfs, delaying[ 3.737991] 0000000179|rsbac_umount(): RSBAC not initialized[ 3.738284] 0000000180|rsbac_umount(): RSBAC not initialized[ 3.738285] 0000000181|rsbac_umount(): found delayed mount for device 00:06, removing[ 3.738288] 0000000182|do_umount() [sys_umount()]: umount failed -> calling rsbac_mount for Device 00:06[ 3.738288] 0000000183|rsbac_mount(): RSBAC not initialized while mounting DEV 00:06, fs-type devtmpfs, delaying[ 3.738290] 0000000184|rsbac_umount(): RSBAC not initialized[ 3.738545] 0000000185|rsbac_umount(): RSBAC not initialized[ 3.738546] 0000000186|rsbac_umount(): found delayed mount for device 00:06, removing[ 3.738548] 0000000187|do_umount() [sys_umount()]: umount failed -> calling rsbac_mount for Device 00:06[ 3.738549] 0000000188|rsbac_mount(): RSBAC not initialized while mounting DEV 00:06, fs-type devtmpfs, delaying[ 3.738551] 0000000189|rsbac_umount(): RSBAC not initialized




Additionally, I get the following error whenever I execute a sys call that is intercepted by RSBAC:
[ 90.369531] 0000000370|rsbac_get_attr(): RSBAC not initialized[ 90.369537] 0000000371|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error![ 90.374013] 0000000372|rsbac_get_attr(): RSBAC not initialized[ 90.374018] 0000000373|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error![ 90.374351] 0000000374|rsbac_get_attr(): RSBAC not initialized[ 90.374355] 0000000375|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error![ 107.738794] 0000000376|rsbac_get_attr(): RSBAC not initialized[ 107.738800] 0000000377|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error![ 107.739944] 0000000378|rsbac_get_attr(): RSBAC not initialized[ 107.739945] 0000000379|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error![ 107.740042] 0000000380|rsbac_get_attr(): RSBAC not initialized[ 107.740042] 0000000381|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!


It would be great to have your support on what might went wrong with the initialization.
Thank you,Alzhrani




More information about the rsbac mailing list