2007-03-08 Damien Carbery <[email protected]> gnome-2-16
authordcarbery
Thu, 08 Mar 2007 17:07:20 +0000
branchgnome-2-16
changeset 19028 4c1f41784484
parent 19027 3fa0f4ed87b4
child 19029 f9c75e0c3153
2007-03-08 Damien Carbery <[email protected]> * SUNWgnome-a11y-libs.spec: Check that /usr/java/jre/lib is writeable in %post even for all zone types. Previously the check was only done for local zones. This fixes 6531193.
Solaris/ChangeLog
Solaris/SUNWgnome-a11y-libs.spec
--- a/Solaris/ChangeLog	Thu Mar 08 16:27:13 2007 +0000
+++ b/Solaris/ChangeLog	Thu Mar 08 17:07:20 2007 +0000
@@ -1,3 +1,9 @@
+2007-03-08  Damien Carbery <[email protected]>
+
+	* SUNWgnome-a11y-libs.spec: Check that /usr/java/jre/lib is writeable
+	  in %post even for all zone types. Previously the check was only done
+	  for local zones. This fixes 6531193.
+
 2007-03-06  Dave Lin <[email protected]>
 
 	* Solaris/SUNWthunderbird.spec: Enable lightning extension(0.3.1)
--- a/Solaris/SUNWgnome-a11y-libs.spec	Thu Mar 08 16:27:13 2007 +0000
+++ b/Solaris/SUNWgnome-a11y-libs.spec	Thu Mar 08 17:07:20 2007 +0000
@@ -453,7 +453,11 @@
 else
    CheckZones
    if [ "${GLOBAL_ZONE}" = "true" ]; then
-	ExecuteDefaultCmds
+        # Call LocalZones() to verify that the /usr/java/jre/lib dir is
+        # writeable before trying to create the symlink and copy the file. The
+	# function name is unfortunate. To minimize changes it is not being
+	# renamed nor this 'if' statement removed. Fixes 6531193.
+	LocalZones
    else
 	LocalZones
    fi
@@ -501,6 +505,9 @@
 %endif
 
 %changelog
+* Thu Mar 08 2007 - [email protected]
+- Check that /usr/java/jre/lib is writeable in %post even for all zone types.
+  Previously the check was only done for local zones. This fixes 6531193.
 * Fri Sep 01 2006 - [email protected]
 - New Manpage tarball
 * Sat Aug 12 2006 - [email protected]