Install Packages with "useradd" Commands in RPM's #97
Replies: 1 comment 2 replies
|
Put the account definition in the image as a Create Copy it with the BlueBuild files module: modules:
- type: files
files:
- source: system
destination: /I exercised that exact sysusers line against an isolated filesystem root with systemd 255: After building and booting the new image, check |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am currently working on a Image that i want to pitch to my coworkers/company that is based on plain Silverblue.
While installing some Agents I saw, that a the user that should be created within the Image is just not there...
So I created a small RPM File, that just creates a user and installs a small "hello-world" bash script, to test this.
The Image with the Package gets build successfully but the user is also not installed.
When installing the same package with "rpm-ostree install" the user gets created...
See the RPM SPEC File here:
RPM SPEC File
Has anybody experienced the same issue when installing something that should have created some users?
I dont want to open an issue (yet), because I want to dive deeper ;)
All reactions