Hide Forgot
Description of problem: Install an old RHVH build via interactive anaconda, and add an user named test(or other name). After reboot, the user can work well. Then upgrade to the latest build, after reboot, login to the user using "su - test", there is a warning printed out on the screen: "su: warning: cannot change directory to /home/test: No such file or directory" Although the Bug 1366248 described: "Content in only the /etc and /var directories is preserved during an update. Data in other paths is completely replaced during an upgrade." But it looks weird to make the user's home directory disappear after upgrade, as the user is added during installation procedure. So, it may be good to persist the user's home directory(exclude the contents in it) after upgrading. Version-Release number of selected component (if applicable): Build1: redhat-virtualization-host-4.0-20160919.0 imgbased-0.8.5-0.1.el7ev.noarch Build2(the latest build): redhat-virtualization-host-4.0-20161111.0 imgbased-0.8.9-0.1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Install Build1 via interactive anaconda, and add an user named test (or other name). 2. Reboot and login to Build1, check /home/test. 3. Upgrade to Build2. 4. Reboot and login to Build2. 5. check /home/test. Actual results: 1. After step2, the /home/test directory is there. 2. After step5, the /home/test directory is disappeared. Expected results: 1. After step2, the /home/test directory is there. 2. After step5, the /home/test directory is still there. Additional info:
Created attachment 1220700 [details] /var/log*,/tmp/*
Local users are not intended, thus we don't plan to persist the home directory. After all RHVH is a specialized appliance which doe snot require local users.