Various processes running in non-global zones using /tmp might crash after the zone has been upgraded using Solaris Live Upgrade. The upgrade process changes permissions on the /tmp directory which leads to applications failures. Users will see drwxr-xr-x permissions instead of the correct drwxrwxrwx permissions.
Workaround: Choose one of the following workarounds:
Workaround 1: Before activating the new boot environment, perform the following steps:
Mount the disk:
# mount /dev/dsk/c1t1d0s6 /mnt |
Fix the permissions:
# chmod 1777 /mnt/zone/*/root/tmp |
Then unmount the disk:
# umount /mnt |
This workaround fixes all zones at once.
Workaround 2: If you have already booted the new boot environment, log in to the system as the root user. Halt the zone and manually set correct permissions on the /tmp directory. Type the following command:
# chmod 1777 /path/root/tmp |
where path is the zone's zonepath.