rpm-ostree icon indicating copy to clipboard operation
rpm-ostree copied to clipboard

WIP: core: Convert path to ostree convention when deleting

Open jlebon opened this issue 3 years ago • 4 comments

E.g. we currently process all files under /var/lib/selinux/targeted as going into /usr/etc/selinux/targeted instead. But the rpmdb doesn't know that. So we need to do the translation even when deleting.

Another notable dir which falls in that bucket is /boot.

Fixes: #3421

jlebon avatar Feb 22 '22 17:02 jlebon

Skipping CI for Draft Pull Request. If you want CI signal for your change, please convert it to an actual PR. You can still manually trigger a test run with /test all

openshift-ci[bot] avatar Feb 22 '22 17:02 openshift-ci[bot]

Had whipped this up but then had to context switch. Just putting up what I have for now to get some early eyes on it and CI running. Will circle back later.

jlebon avatar Feb 22 '22 17:02 jlebon

Any progress here?

cheese avatar Jun 29 '22 06:06 cheese

Not really, but thanks for pinging. Being able to override the selinux-policy is important. I'll look at this again in the following weeks.

jlebon avatar Jun 29 '22 16:06 jlebon

OK, I've revived this now and fixed the test!

jlebon avatar Sep 15 '23 18:09 jlebon