Bug 1874010
Summary: | After installing lapack package, server shutdown is delayed while man-db-cache-update.service runs | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Sam Wachira <swachira> |
Component: | man-db | Assignee: | Nikola Forró <nforro> |
Status: | CLOSED ERRATA | QA Contact: | Dita Stehlikova <dstehlik> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.2 | CC: | dstehlik, jkejda, msuchy, pdwyer, vdanek |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | man-db-2.7.6.1-18.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-09 19:57:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: |
Description
Sam Wachira
2020-08-31 10:02:37 UTC
mandb update already runs in the background after installation of packages containing man pages, that's the current behaviour. But the running update also prevents system shutdown, to ensure that mandb database stays consistent, because it's not able to recover from an interrupted update. Changing it so that mandb update runs after boot would mean that the database is out of date until the next reboot, and that would be a regression. In Fedora, I resorted to attempting to restart the update after boot if it was previously interrupted [1], but that's rather fragile. But it does solve this problem, so I might end up backporting it to RHEL anyway. As a workaround, you can install man-db-cron package and set SERVICE to "no" and CRON to "yes" in /etc/sysconfig/man-db. Doing that effectively reverts to the old behaviour, with mandb update being run as a cron job every day. [1] https://src.fedoraproject.org/rpms/man-db/c/75b683fe495e761059857c797159610881208ca6?branch=master Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (man-db bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4470 |