-
Notifications
You must be signed in to change notification settings - Fork 3
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
RHEL / Rocky Linux 9: shipped sqlite version breaks system tools like dnf #8
Comments
Just an update: I've downgraded sqlite to the distribution shipped version and dnf works again as expected. Also I can't see any errors on gromox - I guess the packaged sqlite version is a preparation for introducing CONCAT function in sql statements again, see grommunio/gromox#114. |
|
Being one of the very first EPEL package maintainers ever (and being also package maintainer and/or contributor for some other 3rd-party Fedora and/or EL repositories), I would like to stress, that it is a terrible practice to replace a package from the base/core operating system, such as First of all, your package might be built with other compiler versions, tools and different flags, which may or may not have an impact during run-time (given you are using Open Build Service instead of If you really rely on Alternatively, provide a non-replacing |
dnf/librpm in EL9 is oddly broken. No matter which sqlite version you have, after execution of "dnf", a WAL file in
The xLog pointer is NULL, so nothing is ever logged, so the crash does not trigger. The reason xLog is NULL is because of some blunders in rpm 4.16, where rpm tries to call sqlite3_config (line 168) after sqlite3_open_v2 (line 145):
and that's not allowed by sqlite 3.34:
sqlite in fact tried to log the occurrence of SQLITE_MISUSE_BKPT, which is the "%s at line %d of [%.10s]" log attempt from earlier.
Thus, logging does happen, and then you notice the third bug of the day, a use-after-free.
|
@jengelh Great work! Furthermore the rpm version of EL9 might be fixed (currently 4.16.1.3 in my case). So we need to wait for Redhat to backport the fixes from 4.20/4.19/4.18.2. |
No matter how broken
Upstream rpm.org treats the 4.16 release series as no longer supported, thus I wouldn't hold my breath for a 4.16 bugfix release. And I also wouldn't expect a rebase to a version later than 4.16, given it hasn't already happened the last 2.5+ years (and it's not typical for how Red Hat acts). If there is a bug that should be fixed in RHEL 9, a support ticket needs to be raised, otherwise a fix, especially if it's not a really common issue, is quite unlikely. Qualified customer- or partner-raised issues using the Red Hat customer portal are most likely to be addressed. Oh, and "fix Nevertheless, it's still a terrible practice to replace a package from the base/core operating system. Even more important, this practice causes that Red Hat won't provide any support for such a RHEL 9 system anymore. So you simply loose the value of your RHEL subscription (yes, users of unsupported RHEL clones might not care about this detail).
If there is really a need for a newer version of SQLite in RHEL 9, please either ask Red Hat for a backport (grommunio is an ISV and should be in the position to do so) or bundle your desired SQLite version in grommunio/gromox/g-index, but please leave the system-provided SQLite untouched. |
Hi,
the newly shipped sqlite package seems to break dnf which ends up in a segfault.
Maybe other local system tools are affected, too. I have also trouble accessing my server by ssh which uses fail2ban (which afaik uses sqlite, too).
Please rollback that updated package. I guess it's problematic updating the system wide sqlite libs.
A solution could be sqlite libs that are exclusively for grommunio services.
bye
Daniel
The text was updated successfully, but these errors were encountered: