-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FCOS pipeline failing with error during systemctl --user --global preset-all
#290
Comments
Looks like this assertion https://github.com/systemd/systemd/blob/master/src/shared/install.c#L380, sounds like a systemd bug |
Hi , I met this problem too. with it , I can't build fCOS image. How to work around it? Thanks. |
One interesting thing with this issue is that since we have lockfiles on x86_64, anyone doing local builds on x86_64 won't hit this. The main FCOS pipeline is hitting it as it's attempting to update the lockfiles. Since we don't have lockfiles on altarches right now, you'll get the latest systemd.
So it should work to pin to an earlier version of systemd in the manifest, something like:
|
Right, to clarify, this is the For multiarch, one can do as @cgwalters suggested. Another approach to get closer to what |
Using `Also=` means that the target unit will also be installed/uninstalled together with our unit. Doing `Also=multi-user.target` essentially says: disable `multi-user.target` if `io.podman.socket` is disabled, which sounds... not at all like what we want. In practice, systemd thankfully ignores this (likely because it's the default target). I think having `Also=io.podman.socket` in the `io.podman.service` already does what we want here: it gets installed under `sockets.target` whenever the service is. (And the fact that systemd ignored this means that it wasn't actually playing a role in resolving containers#3998.) This was causing `systemctl preset-all` to dump core in Fedora CoreOS: coreos/fedora-coreos-tracker#290 (Likely there's a systemd bug around here too.) Signed-off-by: Jonathan Lebon <jonathan@jlebon.com>
Any idea why we are only see this in FCOS. F30 Silverblue had that version of podman. Is it because we're only calling |
Yes. |
Also should we pin podman until the problem is fixed ? |
Not sure to understand what the problem is really but I work around forcing podman-1.5.1-3.fc30 in fedora-coreos-base.yaml |
For the record, downgrading/pinning podman(to older version available on mirrors) (on ppc64le) workarounds the issue,
This aligns with the libpod issues and with that there has been update to podman going out on this weekend(thanks to @menantea for pointing me in that direction) |
@jcajka : podman 1.2 is around March 2019, and you would not get rootless sudo working with that version. |
This goes back to the discussion we had about the relationship bodhi-updates plays (there's coreos/fedora-coreos-config#104 (comment) about this, but we also discussed this a bunch of times elsewhere :) ). |
To be more explicit on this, Hmm, I think what we actually want here isn't to promote lockfiles from And So in this setup, here's what would have happened:
|
I think you are right. Basically the "bodhi updates can stay broken" part works just fine as long as the rpm-ostree compose still works. Once the compose is broken then we stop receiving updates into testing-devel until the compose is no longer broken, which is not exactly what we want. I was thinking a way around this would be to just make it so sometimes we override things in the bodhi stream too, but maybe the better approach is to just do what you say and have another process that updates lockfiles. |
IMHO it would be good to have the same "package"/pin set as on x86_64, until there will be pipelines for the each individual arch. AFAIK there shouldn't be any packages that are not part of the Fedora and are needed on non x86_64 arches. Assuming this will not block arch specific packages(packages that only exist on one arch, like s390-utils or powerpc-utils). Could you point me in direction how to enable that for all currently known arches to cosa? |
Those lockfiles are created by |
coreos/fedora-coreos-tracker#290 The fix for this was merged, but it'll be some time before it makes it to the stable repos. This is a temporary hack to get updates going again into FCOS. Working on a cleaner approach to this in: coreos/fedora-coreos-tracker#293
Short-term hack in coreos/fedora-coreos-config#195 to get updates flowing again for now. |
coreos/fedora-coreos-tracker#290 The fix for this was merged, but it'll be some time before it makes it to the stable repos. This is a temporary hack to get updates going again into FCOS. Working on a cleaner approach to this in: coreos/fedora-coreos-tracker#293
For the same reason as: coreos#195 I.e.: coreos/fedora-coreos-tracker#290
For the same reason as: coreos#195 I.e.: coreos/fedora-coreos-tracker#290
For the same reason as: coreos#195 I.e.: coreos/fedora-coreos-tracker#290
For the same reason as: #195 I.e.: coreos/fedora-coreos-tracker#290
Final patch dropping the podman pin in coreos/fedora-coreos-config#216. I think we can close this afterwards. |
The
bodhi-updates
stream is failing with:The text was updated successfully, but these errors were encountered: