Bug 1137317

Summary: YaST doesn’t create HOME directory, missing Btrfs
Product: [openSUSE] openSUSE Distribution Reporter: Rolf Rudat <rolf.rudat>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: rolf.rudat
Version: Leap 15.1   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: requested save_y2logs output

Description Rolf Rudat 2019-06-05 08:28:27 UTC
User-Agent:       Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
Build Identifier: 

Using ext3 on partitions /boot and /.
Creating new users with yast works as long as yast assignes the UID on its own one after the other beginning with 1000.
On the other hand, the command
 # useradd -u 1022 -g 100 -m -d /home/testuser testuser
works fine.
Trying to assing a specific UID during the creation prozess results in an error and the HOME directory will not be created.


Reproducible: Always

Steps to Reproduce:
1. Start yast or yast2
2. Start creating a new user
3. Chose a specific UID below or above 1000 (e.g. 1022)
4. The user is created and will be usable but missing a HOME directory.

Actual Results:  
The user will be created but his HOME directory not.
The Message is:
"Error. Cannot create home directory /home/<username>. Parent directory is not a Btrfs volume."

Expected Results:  
YaST should create the HOME directory too, like it did all versions before openSUSE Leap 15.1

I did the Online Update, tested several new installations and reboots, but 
this behavior is reproducible with yast1 and yast2.
Comment 1 Steffen Winterfeldt 2019-06-05 08:58:03 UTC
Could you please attach yast logs?

To collect log files run 'save_y2logs' and attach the log file archive this
command creates.

If you're unsure what to do, please have a look at

https://en.opensuse.org/openSUSE:Report_a_YaST_bug#logfiles
Comment 2 Rolf Rudat 2019-06-05 09:46:51 UTC
Created attachment 806825 [details]
requested save_y2logs output
Comment 3 Steffen Winterfeldt 2019-06-06 08:48:36 UTC
Thanks. Looks like a duplicate of bug 1134970.
Comment 4 Steffen Winterfeldt 2019-06-06 08:52:53 UTC
I've added you to the other bug so you can view it.

I'm intentionally not marking this a duplicate of bug 1134970 as that other bug is not accessible to all. This way we can track the issue for openSUSE here.