Skip to content
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

overlay: always use -p with blkid #2184

Merged
merged 1 commit into from
Jan 19, 2023
Merged

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Jan 19, 2023

By default, blkid will return cached data, which we don't want because it might be stale. Add -p to make sure we always bypass the cache. Some of these callsites could probably be changed to use lsblk, which uses the udev database, but it's safer to keep using blkid.

See also: #2181 (comment)

By default, `blkid` will return cached data, which we don't want because
it might be stale. Add `-p` to make sure we always bypass the cache.
Some of these callsites could probably be changed to use `lsblk`, which
uses the udev database, but it's safer to keep using `blkid`.

See also: coreos#2181 (comment)
@dustymabe
Copy link
Member

should we not revert e41fd27 as part of this?

@jlebon
Copy link
Member Author

jlebon commented Jan 19, 2023

should we not revert e41fd27 as part of this?

Once this and coreos/coreos-installer#1094 are in. I'll stage a revert PR.

jlebon added a commit to jlebon/fedora-coreos-config that referenced this pull request Jan 19, 2023
…D restamp"

This reverts commit e41fd27.

We shouldn't need this anymore now that we don't rely on the cache:
- coreos#2184
- coreos/coreos-installer#1094

See also: coreos#2181
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dustymabe dustymabe merged commit 4e4d01c into coreos:testing-devel Jan 19, 2023
jlebon added a commit that referenced this pull request Mar 31, 2023
…D restamp"

This reverts commit e41fd27.

We shouldn't need this anymore now that we don't rely on the cache:
- #2184
- coreos/coreos-installer#1094

See also: #2181
@jlebon jlebon deleted the pr/blkid-p branch April 23, 2023 23:28
c4rt0 pushed a commit to c4rt0/fedora-coreos-config that referenced this pull request May 17, 2023
…D restamp"

This reverts commit e41fd27.

We shouldn't need this anymore now that we don't rely on the cache:
- coreos#2184
- coreos/coreos-installer#1094

See also: coreos#2181
HuijingHei pushed a commit to HuijingHei/fedora-coreos-config that referenced this pull request Oct 10, 2023
…D restamp"

This reverts commit e41fd27.

We shouldn't need this anymore now that we don't rely on the cache:
- coreos#2184
- coreos/coreos-installer#1094

See also: coreos#2181
HuijingHei pushed a commit to HuijingHei/fedora-coreos-config that referenced this pull request Oct 10, 2023
…D restamp"

This reverts commit e41fd27.

We shouldn't need this anymore now that we don't rely on the cache:
- coreos#2184
- coreos/coreos-installer#1094

See also: coreos#2181
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants