You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new user and assign it with a new home directory through. <user name="newuser" home="/path/to/home"/>
Kiwi fails to create image when /path/to/ doesn't exist,
because useradd -m -d /path/to/home newuser assumes /path/to/ exists.
Expected behaviour
Kiwi creates /path/to/home automatically and assign it to newuser.
Steps to reproduce the behaviour
Ensure /path/to doesn't exist
Add a line <user name="newuser" home="/path/to/home"/> in appliance.kiwi
Build a image
Kiwi fails
OS and Software information
KIWI version:
Operating system host version: RockyLinux 9.2
Operating system target version: CentOS 8.5
Open Build Service version (N/A if not using OBS): N/A
Koji version (N/A if not using Koji): N/A
The text was updated successfully, but these errors were encountered:
It's interesting that you run into that issue because
standard users has their home below /home which always exists according to FHS
non standard users, daemons and others usually provide their user setup through a package
You should be able to workaround the issue by creating the parent in a config.sh script of your image description.
But I would be interested which use-case triggered the problem in the first place
No objections to make sure kiwi creates the parent though
Problem description
Add a new user and assign it with a new home directory through.
<user name="newuser" home="/path/to/home"/>
Kiwi fails to create image when
/path/to/
doesn't exist,because
useradd -m -d /path/to/home newuser
assumes/path/to/
exists.Expected behaviour
Kiwi creates
/path/to/home
automatically and assign it to newuser.Steps to reproduce the behaviour
<user name="newuser" home="/path/to/home"/>
in appliance.kiwiOS and Software information
The text was updated successfully, but these errors were encountered: