[Bug 820364] New: Default user not created if a partition is mounted in its home
https://bugzilla.novell.com/show_bug.cgi?id=820364 https://bugzilla.novell.com/show_bug.cgi?id=820364#c0 Summary: Default user not created if a partition is mounted in its home Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: 64bit OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: agemen@hotmail.fr QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 Hi everybody, I think I've caught a little bug... I've just made a fresh new install of openSUSE 12.3 on a computer with both a SSD and a classical hard-drive. I've decided to mount partitions from the hard drive in the home of my default user, the home being in the SSD. During the configuration, I've set the mountpoint for this partition to /home/myUser/data. I've then configured my login/password for my user and so on... After rebooting, I couldn't log in. The user myUser did not exist. Howeve, the folders /home/myUser/data existed and the partition was mounted in the right place. Reproducible: Didn't try Steps to Reproduce: 1.Configure a partition to be mounted in the home of the user you'll create 2.Configure the user settings 3.Finish the install Actual Results: It's not possible to login as the user you configured. In fact, the user appears not to be created (and consequently his home is not filled). Expected Results: I expected the user to be created. This problem can easily be workarounded. Simply log in as root, create the user with YaST. I've done that after umounting the partition in /home/myUser/data and removing both data and myUser directories. Remounted data then, in the good place, and things are okay. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c
Ye Yuan
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c1
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c2
--- Comment #2 from Alexis G
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c3
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c4
--- Comment #4 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c5
--- Comment #5 from Alexis G
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c6
--- Comment #6 from Alexis G
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c7
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c8
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c9
--- Comment #9 from Alexis G
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c10
Jiří Suchomel
If I understand correctly the process, directories for mount points are prepared before users are created (that would seem quite logical). Consequently, I understand the observed behaviour... In my case, /home/alexis is owned by root before the user alexis is created. Am I right ?
Exactly.
knowing that, I'll now prepare my setups in a different way in order to avoid this problem. Considering what have been described, I think it would be difficult to detect that we have here a newly created directory that aims to host a mount point...
YaST probably could be able to detect such situation and behave according to that. But it would mean adding special handling for a case that almost none is using, which seems like a waste of resources. Therefor I will close this bug as WONTFIX. What you can do: if you want to have special partition for part of your home directory, create it during partitioning, but with different path (like /data) and later you can create symlink to this place from your home. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=820364
https://bugzilla.novell.com/show_bug.cgi?id=820364#c11
--- Comment #11 from Alexis G
participants (1)
-
bugzilla_noreply@novell.com