[Mike Gabriel] > Attached is a patch that drops the enforcement of the re-login and > manipulates the HOME env var after the local POSIX user account has been > fully prepared by libpam-mklocaluser.
Nice. Not quite sure why I originally concluded that something was caching the home directory path, nor what was caching it, so be careful. The patch could use a comment explaining the background and constraints. I do not see anything wrong with the patch, and assuming it has been tested, feel free to upload it when it suits you. :) -- Happy hacking Petter Reinholdtsen