I had the same problem after doing a "do-release-upgrade" from 14.04 to 16.04 on October 5, 2016. The kernel installed by default was 4.4.0-38.
After reading this thread I installed 4.4.0-40.60. With both 4.4.0-38 and 4.4.0-40.60 I have the problem of $USER being mapped to root instead of to the current user. I then installed kernel 4.4.0-36 (which I'm using on other VMs that were upgraded a few weeks back) and everything worked just fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1626749 Title: autofs set $USER to "root" instead of current user To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1626749/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs