LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1754|回复: 7

mdv2006中编译dazuko出了点问题

[复制链接]
发表于 2005-11-12 22:55:22 | 显示全部楼层 |阅读模式
[root@localhost dazuko-2.1.0]# ./configure
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel source in /lib/modules/2.6.12-12mdk/build... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... yes
discovered host system... Linux (2.6.12)
configure: creating Makefile
configure: creating library/Makefile
configure: creating example_c/Makefile

./configure successful

=======================
Configuration summary
=======================

module events = ON_OPEN ON_CLOSE ON_EXEC
devfs support = no
rsbac support = yes
stacking support = yes
local __d_path() = yes
module debug = no
library 1.x compatibility = yes


Note: For RSBAC you should copy the contents of this directory to:
      /lib/modules/2.6.12-12mdk/build/rsbac/adf/daz
      and recompile the kernel. Also make sure that the DAZ module
      has been enabled in the kernel configuration.

[root@localhost dazuko-2.1.0]# make
make: *** 无目标。 停止。
[root@localhost dazuko-2.1.0]#     

----------------------------------------------------------------
kernel source有了
configure已经通过了
makefile也有了
检查 /lib/modules/2.6.12-12mdk/build/rsbac/adf/daz已经包含了文件

make其他软件没问题
所以不是我没装make或automake的问题
为什么make dazuko就这样呢?

http://dazuko.org/downloads.shtm ... 其他版本试试
还是这样

到底是那里出了问题?
希望有高手指点
谢谢
 楼主| 发表于 2005-11-12 23:16:17 | 显示全部楼层

应该是内核的问题吧

README.linux26里写道
In order to lookup full file paths (even in chroot environments), Dazuko
uses the kernel function __d_path(). Unfortunately this function is no
longer exported to kernel modules in the Linux 2.6 kernel.

是不是需要重新编译内核
回复 支持 反对

使用道具 举报

发表于 2005-11-12 23:49:48 | 显示全部楼层
没有通过configure。
**************************************************
Note: For RSBAC you should copy the contents of this directory to:
/lib/modules/2.6.12-12mdk/build/rsbac/adf/daz
and recompile the kernel. Also make sure that the DAZ module
has been enabled in the kernel configuration.
**************************************************
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-13 22:11:23 | 显示全部楼层

./configure successful
是什么意思
Note: For RSBAC you should copy the contents of this directory to:/lib/modules/2.6.12-12mdk/build/rsbac/adf/dazand recompile the kernel. Also make sure that the DAZ modulehas been enabled in the kernel configuration.应该是make的提示,而不是提示configure失败吧
回复 支持 反对

使用道具 举报

发表于 2005-11-14 00:08:37 | 显示全部楼层
Post by scumweasel9914
README.linux26里写道
In order to lookup full file paths (even in chroot environments), Dazuko
uses the kernel function __d_path(). Unfortunately this function is no
longer exported to kernel modules in the Linux 2.6 kernel.

首先,我没有编过这个东西。不过建议你看看上面这段东西的解决方法,他的意思是在2.6内核中,kernel function __d_path()已经没有在kernel modules里面exported了。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-14 15:19:13 | 显示全部楼层
真是难过,mdv2006里捆绑了clamAV却没有捆绑dazuko
所以现在用antivir也是一个没有dazuko支持的问题
而dazuko是要在内核中加载模块的
就这样把我卡住了

这让我等傻瓜用户很难为情啊
我可不想重新编译内核
回复 支持 反对

使用道具 举报

发表于 2009-4-15 22:17:32 | 显示全部楼层
没办法,我用redhat Enterprise 5.0,也遇到这个问题,ms要重新编译内核,根据dazuko主页上的解释:3.2 What does "error: capabilities are built-in to the kernel" mean?

The Linux Default Capabilities security module has been compiled into the kernel itself rather than as a separate module. The Linux Security Model for Linux 2.6 allows multiple security modules to be loaded, but only when the modules themselves allow others to be loaded. The "capability" module unfortunately does not allow other modules to be loaded. However, Dazuko does allow module "stacking". This means that if Linux Default Capabilities are compiled as a separate module, then Dazuko can be loaded first and "capability" loaded afterwards, allowing both security modules to exist together.

This means that you will need to build a new kernel with Linux Default Capabilities as a module, rather than built in.
回复 支持 反对

使用道具 举报

发表于 2009-4-16 14:07:00 | 显示全部楼层
系统太老了 换系统吧 用Mandriva
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表