lichaoming
作者lichaoming·2014-01-21 00:02
系统运维工程师·蓝色快车

VIOS版本:2.2.2.0的一个小bug

字数 1280阅读 4443评论 2赞 7

本文来自Aix专家俱乐部博客,如果查看原文请点:

http://www.aixchina.net/home/space.php?uid=2947&do=blog&id=33537

VIOS版本:2.2.2.0
 
在采用root用户,在oem_setup_env 环境下做bosboot -ad hdisk1时有如下报错:
# bosboot -ad hdisk1
trustchk: Verification of attributes failed: /usr/sbin/bootinfo
: accessauths 
bosboot: Boot image is 51228 512 byte blocks.

经IBM 800确认,这是一个系统bug,解决方法如下:

Test to confirm the error message:
    ---------------------------------------
    # trustchk -n /usr/sbin/bootinfo
    Commands to correct the entry:
    ---------------------------------------
    # trustchk -q /usr/sbin/bootinfo 1> /tmp/file1
    # OLDAUTH=` grep accessauths /tmp/file1 | cut -d '=' -f2 `
    # NEWAUTH="`echo $OLDAUTH`,vios.device.manage"
    # sed "s/accessauths = `echo $OLDAUTH`/accessauths = `echo
    $NEWAUTH`/" /tmp/file1>/tmp/file2
    # trustchk -d /usr/sbin/bootinfo
    # trustchk -a -f /tmp/file2
    You may check circumvention works by running command below.
    Test to confirm the error is corrected:
    ---------------------------------------
    # trustchk -n /usr/sbin/bootinfo

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

7

添加新评论2 条评论

bbl271685939bbl271685939系统工程师神州数码
2014-03-31 09:40
收藏了 学习
woshishui1121woshishui1121系统工程师深圳市奇摩计算机有限公司
2014-02-11 15:56
收藏了
Ctrl+Enter 发表

作者其他文章

X社区推广