V2V solaris 10 zone to branded zone forgets dot files
Hi,
Just discovered a problem with Solaris 11 zoneadm install :
It just forgets dot files and dot directories (eg: /.profile,/ .ssh ,...) in /
The problem seems to date back to opensolaris as http://www.mail-archive.com/zones-discuss@opensolaris.org/msg06402.html shows .
FYI: line 722 of /usr/lib/brand/shared/common.ksh refered in the zones-discuss post is still there but in 943. Maybe the solution proposed still apply?
If you need dot files and directories back:
on source solaris10 zones do :
bash
GLOBIGNORE=.:..
cd /
tar cvfp ./root_dot_files.tar .*
On the resulting Solaris 10 branded zone:
cd /
tar xvfp ./root_dot_files.tar
Just discovered a problem with Solaris 11 zoneadm install :
It just forgets dot files and dot directories (eg: /.profile,/ .ssh ,...) in /
The problem seems to date back to opensolaris as http://www.mail-archive.com/zones-discuss@opensolaris.org/msg06402.html shows .
FYI: line 722 of /usr/lib/brand/shared/common.ksh refered in the zones-discuss post is still there but in 943. Maybe the solution proposed still apply?
If you need dot files and directories back:
on source solaris10 zones do :
bash
GLOBIGNORE=.:..
cd /
tar cvfp ./root_dot_files.tar .*
On the resulting Solaris 10 branded zone:
cd /
tar xvfp ./root_dot_files.tar
1