如果使用 Solaris Live Upgrade 在引导环境中安装 Solaris Flash 归档文件,那么 /etc/group 文件是不正确的。该归档文件包含已归档的 /etc/group 文件,不能反映当前正在运行的引导环境的 /etc/group 文件。引导环境中的 /etc/group 文件必须与当前正在运行的系统上的文件相同。
解决方法:在引导环境中安装了 Solaris Flash 归档文件之后,必须将当前运行系统的 /etc/group 文件复制到新的引导环境中。请执行以下步骤。
成为超级用户。
安装要修补的引导环境
# lumount boot-envir-name mount-point |
在上一个命令中,boot-envir-name 是您要安装其文件系统的引导环境的名称。mount-point 是文件系统的安装位置。
将当前运行系统的 /etc/group 文件复制到新的引导环境。
# cp /etc/group mount-point/etc/group |
卸载新的引导环境。
# luumount boot-envir-name |