Alex,
Looking at the code in usr/src/cmd/distro_const/utils/boot_archive_configure
is there any concern about creating the file and then doing the chown?
355 echo $VOLSETID> $VOLSETID_FILENAME
356 $CHMOD 0444 $VOLSETID_FILENAME
357 $CHOWN root:root $VOLSETID_FILENAME
This can be changed to temporarily set the umask, create the file and
then reset the umask to what it was (not tested):
oumask=`umask`
umask 0222
echo $VOLSETID > $VOLSETID_FILENAME
umask $oumask
$CHOWN root:root $VOLSETID_FILENAME
If there is no concern (probably due to use case) then the changes look
fine to me.
Thanks,
John
On 04/19/10 06:17 AM, Alexander Eremin wrote:
Please review the fixes for:
15571 long volume IDs break x86 ISO image builds if customized grub menu
is long
Bug:
http://defect.opensolaris.org/bz/show_bug.cgi?id=15571
Webrev:
http://cr.opensolaris.org/~alhazred/15571/
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss