Brian, On Tue, Mar 25, 2008 at 07:07:50PM -0500, Brian Cameron wrote: [.....] > Is there any way (short of parsing the /etc/auto_home file > directly) to figure out what the user's $HOME directory really > is when the mounts are not yet setup? Or is there a way to > cause the mounts to get set up so that the > $ZONE_PATH/root/home/userid directory will exist? Or is there > a better way to achieve what I am trying to do?
Am I right with this view: The purpose of the gnome-cleanup script is, to wipe things from the config which changed in incompatible way with the upgrade of GNOME. I think, the most accurate place to cleanup would be the (global or non-global) zone itself and happen as late as possible: o users HOME cleanup should occur, if the zone is ready installed and able to boot and it actually boots up into a non-maintenance milestone/state o the (non-)global-zone milestone would ensure, that all filesystem services are in place, including NFS-mounted HOME-diretories / automounter o if the administrator uses e.g. LiveUpgrade, he does the copy, then upgrade-install. This could be too early to do the cleanup (probably Users still logged in), but an imported one-time SMF service might be put in place for the *right* (=the new) boot-environment to cleanup general things at boot time. If the Administrator decides not to upgrade, then the old settings remain in users HOME o if we want to reduce scripting at package install, then SMF could help by separating scrips from the package install itself. Other Questions: o Centralized HOMEs may share GNOME settings between mutiple GNOME-Versions? o Would an instand "upgrade" or even "downgrade" cleanup be better done instantly at Login-time. Machine-centric general cleanup could be still be necessary and be done by an SMF-script o what if a GNOME-version is downgraded by simply rebooting an old Boot-Environment. Then possible new configs in user HOMEs hit old GNOME bits. Would then be a downgrade of the config needed? Thomas -- ********************************************************************* Thomas Wagner Tel: +49-(0)-711-720 98-131 Proactive Technical Analyst Fax: +49-(0)-711-720 98-443 Global Customer Services Cell: +49-(0)-175-292 60 64 Sun Microsystems GmbH E-Mail: Thomas.Wagner at Sun.com Zettachring 10A, D-70567 Stuttgart http://www.sun.de Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht Muenchen: HRB 161028 Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer Vorsitzender des Aufsichtsrates: Martin Haering
