[rsbac] Problems with Dazuko

Oliver Welter mail at oliwel.de
Fri Jun 22 12:17:16 CEST 2007


Hi All,

I am using RSBAC "only" to get access on the disk events with dazuko
like its suggested in the dazuko FAQ
(http://www.dazuko.de/tgen.shtml#LINUX26-EVENTS), so I am not very
familiar with the rsbac system....

I run gentoo and used the gentoo rsbac ebuild which ist a 2.6.19 kernel.
As I dont need RSBAC itself, I disabled everything besides the Dazuko
Policy and now get following error in the kernel log when I boot the system:

0000000012|rsbac_init_debug(): Initializing
0000000013|rsbac_daz_ttl is 86400
0000000014|rsbac_do_init(): reading FD attributes from root dev
0000000015|rsbac_init_daz(): Initializing RSBAC: DAZuko subsystem
kobject_add failed for dazuko with -EEXIST, don't try to register things
with the same name in the same directory.

Call Trace:
 [<ffffffff802edbe8>] kobject_add+0x16e/0x199
 [<ffffffff802edda5>] subsystem_register+0x11/0x20
 [<ffffffff8034808b>] class_register+0x97/0x130
 [<ffffffff803486db>] class_create+0x53/0x6f
 [<ffffffff8019a37d>] xp_sys_hook+0x7f/0xc7
 [<ffffffff8019c7ce>] dazuko_init+0x9d/0xbf
 [<ffffffff80566824>] rsbac_init+0xbdd/0xde7
 [<ffffffff8018a0a0>] rsbac_list_hash_nettemp+0x0/0x6
 [<ffffffff80553c62>] prepare_namespace+0x131/0x143
 [<ffffffff8016697b>] init+0x239/0x310
 [<ffffffff8015eed8>] child_rip+0xa/0x12
 [<ffffffff80310e70>] acpi_ds_init_one_object+0x0/0x80
 [<ffffffff80166742>] init+0x0/0x310
 [<ffffffff8015eece>] child_rip+0x0/0x12

<a>0000000016|uko: loaded, version=2.0.5

Even as the module shows up as loaded, it is not accessible - at least
the test programs tell me that they cant register to it....

I also tried building and inserting the module from the dazuko website,
it brings up a similar error:

kobject_add failed for dazuko with -EEXIST, don't try to register things
with the same name in the same directory.
[trace snipped]
dazuko: loaded, version=2.3.3

Anybody can help me out ?

tia Oliver
-- 
Protect your environment -  close windows and adopt a penguin!
PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://www.rsbac.org/pipermail/rsbac/attachments/20070622/ed9f5109/attachment.pgp 


More information about the rsbac mailing list