Chinaunix首页 | 论坛 | 博客
  • 博客访问: 390762
  • 博文数量: 36
  • 博客积分: 1998
  • 博客等级: 上尉
  • 技术积分: 486
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-23 13:48
文章分类

全部博文(36)

文章存档

2012年(11)

2011年(13)

2010年(12)

分类: 虚拟化

2012-11-02 09:37:38

VIOS版本:2.2.1.4
 
在采用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,解决方法如下:

点击(此处)折叠或打开

  1. Test to confirm the error message:
  2. ---------------------------------------
  3. # trustchk -n /usr/sbin/bootinfo

  4. Commands to correct the entry:
  5. ---------------------------------------
  6. # trustchk -q /usr/sbin/bootinfo 1> /tmp/file1
  7. # OLDAUTH=` grep accessauths /tmp/file1 | cut -d '=' -f2 `
  8. # NEWAUTH="`echo $OLDAUTH`,vios.device.manage"
  9. # sed "s/accessauths = `echo $OLDAUTH`/accessauths = `echo \
  10. $NEWAUTH`/" /tmp/file1>/tmp/file2
  11. # trustchk -d /usr/sbin/bootinfo
  12. # trustchk -a -f /tmp/file2

  13. You may check circumvention works by running command below.

  14. Test to confirm the error is corrected:
  15. ---------------------------------------
  16. # trustchk -n /usr/sbin/bootinfo


阅读(4623) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~