Fix missing proc sys and tmp dirs