【问题标题】:CentOS 6.3 compilation and ksigCentOS 6.3 编译和ksig
【发布时间】:2012-09-04 08:14:35
【问题描述】:

编译 CentOS 6.3 内核时,make 失败并显示:

  CC      crypto/signature/dsa.o
crypto/signature/ksign-publickey.c:2:17: error: key.h: No such file or directory
crypto/signature/ksign-publickey.c: In function גksign_initג:
crypto/signature/ksign-publickey.c:10: error: גksign_def_public_keyג undeclared (first use in this function)
crypto/signature/ksign-publickey.c:10: error: (Each undeclared identifier is reported only once
crypto/signature/ksign-publickey.c:10: error: for each function it appears in.)
crypto/signature/ksign-publickey.c:11: error: גksign_def_public_key_sizeג undeclared (first use in this function)
make[2]: *** [crypto/signature/ksign-publickey.o] Error 1

根据this,它与Linux module signing(又名KSIG)有关,后者在 RHEL 6.1 中被 Linux 删除。

我正在尝试查看 proposed solution 是否确实正确或 这个问题还有另一种解决方案。

参考 RHEL 放弃 KSIG 会有所帮助。

【问题讨论】:

    标签: linux linux-kernel centos rhel


    【解决方案1】:

    我也遇到了同样的错误,但它是在 CentOS 6.4 中,x86_64 和 i386 版本。

    运行:

    `make menuconfig`
    

    和:

    • 选择Enable loadable module support,然后选择Module signature verification (EXPERIMENTAL)。禁用它。
    • 然后返回主菜单,选择Cryptographic API,然后选择In-kernel signature checker (EXPERIMENTAL) 并禁用该选项。

    【讨论】:

    【解决方案2】:

    我不知道为什么在加密/签名中不存在 key.h! 对于忽略错误,您不能选择:“加密 API”中的“内核签名检查器”和“启用可加载模块支持”中的“模块签名验证”。
    我认为 centos 脚本在 ubuntu 中无法正常运行。

    【讨论】:

      猜你喜欢
      • 2014-08-27
      • 1970-01-01
      • 2015-04-25
      • 2012-08-09
      • 2017-08-14
      • 2013-01-09
      • 2012-08-09
      • 1970-01-01
      • 2013-12-08
      相关资源
      最近更新 更多