Sweep up Linux env changes before upgrade.