Sometimes, when you run `pkg update` on OpenIndiana (an illumos distribution, the successor to OpenSolaris), it creates a new boot environment, but you're not in that env yet, so if you make changes and then reboot, all those changes will be “gone” (not really, but they’re in the old boot env).
This is very wild and was quite unexpected.
@ramsey the output of pkg update tells you when it creates a new BE for exactly that reason.