本文来自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 条评论
2014-03-31 09:40
2014-02-11 15:56