Bug 1631794
Summary: | silverblue boot shows multiple errors from tmpfiles from missing users | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Zbigniew Jędrzejewski-Szmek <zbyszek> |
Component: | rpm-ostree | Assignee: | Colin Walters <walters> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 29 | CC: | dustymabe, jlebon, jonathan, miabbott, walters |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-09-21 15:57:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Zbigniew Jędrzejewski-Szmek
2018-09-21 15:07:33 UTC
OK, there are two things at play here. The duplicate warnings are due to the way rpm-ostree works. We auto-generate tmpfiles entries for `/var` directories because the OSTree model requires `/var` to be empty. Right now, we don't really check if the entries we synthesize are already included in other tmpfiles configs from other packages. We *could* do that, though not sure of the cost/benefit given that dupes are safely ignored. > Those users are indeed not defined: They should be in `/usr/lib/{passwd,group}`. See https://ostree.readthedocs.io/en/latest/manual/adapting-existing/#usrlibpasswd. Those errors shouldn't happen post-pivot -- can you confirm that they come from systemd-tmpfiles in the initramfs? > Those errors shouldn't happen post-pivot -- can you confirm that they come from systemd-tmpfiles in the initramfs? Indeed, this was in the initramfs. I guess we might want to exclude that tmpfiles config from the initramfs, but that's something to handle in systemd. I can confirm that e.g. wheel and adm groups are resolved properly by 'getent group' > We auto-generate tmpfiles entries for `/var` directories because the OSTree model requires `/var` to be empty. Ack. I'd like to see a completely error-free boot, but this is indeed minor issue. I see another mini-problem though: $ ls -l /usr/lib/tmpfiles.d/rpm-ostree-1-autovar.conf -rw-------. 2 root root 6134 Jan 1 1970 /usr/lib/tmpfiles.d/rpm-ostree-1-autovar.conf The permissions should be rw-r--r-- so that users don't see errors. Feel free to close this though bug though, it seems that things are working mostly as intended. |