As a temporary workaround for tools like waagent -deprovision+user, I can suggest rm -f /etc/sub{g,u}id{-} before running the waagent.
Hope it'll get fixed sooner than later because this really is a huge problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1342875 Title: Unable to delete currently logged in user To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1342875/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs