|
Bugzilla – Full Text Bug Listing |
| Summary: | systemd-rpm-macros: setxattr failed: /var/lib/machines: Operation not supported | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Ana Guerrero <ana.guerrero> |
| Component: | Basesystem | Assignee: | systemd maintainers <systemd-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | dimstar, hpj |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Ana Guerrero
2023-06-16 13:45:39 UTC
To recap our findings:
* ansible is not mis-behaving in the test, it's the messenger of 'something has gone wrong'
* The test that runs before ansible is 'cockpit'; at that stage, running t-u still works without any error
* the next run of t-u in the ansible test module reports
> transactional-update 4.2.1 started
> Options: -n pkg install ansible git-core python3-yamllint ansible-test sudo
> Separate /var detected.
> 2023-06-16 09:29:03 tukit 4.2.1 started
> 2023-06-16 09:29:03 Options: -c2 open
> 2023-06-16 09:29:03 Using snapshot 2 as base for new snapshot 3.
> 2023-06-16 09:29:03 Syncing /etc of previous snapshot 1 as base into new snapshot "/.snapshots/3/snapshot"
> 2023-06-16 09:29:03 SELinux is enabled.
> Relabeled /var/lib/machines from system_u:object_r:unlabeled_t:s0 to system_u:object_r:systemd_machined_var_lib_t:s0
> setxattr failed: /var/lib/machines: Operation not supported
> ID: 3
the 'ansible' part is totally irrelevant, even running t-u shell at this point reports the error; so the 'issue' must have appeared between installing cockpit and finishing the cockpit test.
the going theory is:
* installing cockpit triggered installation of systemd-container
* systemd-container ships a tmpfiles.d, which was triggered right at install time (actual bug in the systemd/rpm macros)
At this point, the attributes on /var/lib/machines are 'messed up' and selinux can't relabel it.
A simple 'rmdir /var/lib/machines' (it's an empty directory until somebody uses systemd-nspawn) and rebooting recreates the directory properly including the selinux label.
OpenQA confirms the quick fixes from yesterday on systèmd and rpm-macros-systemd to be functional https://openqa.opensuse.org/tests/3363561 This is an autogenerated message for OBS integration: This bug (1212449) was mentioned in https://build.opensuse.org/request/show/1094372 Factory / systemd |