Oracle Solaris System Administration (MOSC)

MOSC Banner

V2V solaris 10 zone to branded zone forgets dot files

edited Jun 8, 2013 9:48PM in Oracle Solaris System Administration (MOSC) 3 commentsAnswered
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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center