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

A couple of patches to improve compatibility with rpm-ostree based systems #7585

Closed
wants to merge 2 commits into from

Conversation

alexey-tikhonov
Copy link
Member

No description provided.

This is seen on rpm-ostree based system during uninstall:
```
Running scriptlet: sssd-client-2.9.5-4.el9.x86_64 9/9
admindir /var/lib/alternatives invalid
error: %preun(sssd-client-2.9.5-4.el9.x86_64) scriptlet failed, exit status 2
```

This should be fixed by fedora-sysv/chkconfig#135
but let's avoid hard failing here anyway.
@alexey-tikhonov alexey-tikhonov added the no-backport This should go to target branch only. label Sep 12, 2024
Main reason for this is compatibility with rpm-ostree based
systems where rpm post install scriplets aren't run on an
actual system.

In general this looks like an unneeded overhead since ownership
can be only wrong after upgrade from sssd-2.9- to sssd-2.10+

But this appears to be most simple solution atm and from practical
point of view the main issue is merely a clutter in service files.
Copy link
Contributor

@thalman thalman left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks.

@alexey-tikhonov
Copy link
Member Author

Pushed PR: #7585

  • master
    • 2dae1f6 - SYSTEMD: chown all artifacts at startup
    • c0c46bf - SPEC: don't fail uninstallation if 'alternatives' fails

@alexey-tikhonov alexey-tikhonov changed the title A couple of patches to iprove compatibility with rpm-ostree based systems A couple of patches to improve compatibility with rpm-ostree based systems Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport This should go to target branch only. non-privileged Pushed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants