Summary: | Не отключается обновление базы man | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Sergey V Turchin <zerg> |
Component: | man-db | Assignee: | Alexey Gladkov <legion> |
Status: | NEW --- | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P5 | CC: | glebfm, lav, ldv, legion, placeholder |
Version: | unstable | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
See Also: |
https://bugzilla.altlinux.org/show_bug.cgi?id=48430 https://bugzilla.altlinux.org/show_bug.cgi?id=52882 |
Description
Sergey V Turchin
2024-03-15 11:32:31 MSK
Посмотрел, что на Fedora индексацию запускают асинхронно. Подходит ли тут такое решение? Или если делать ручку, то через /etc/sysconfig/man-db ? $ rpm -q --filetriggers man-db transfiletriggerin scriptlet (using /bin/sh) -- /usr/share/man # update cache if [ -x /usr/bin/systemd-run -a -x /usr/bin/systemctl ]; then /usr/bin/systemd-run /usr/bin/systemctl start man-db-cache-update >/dev/null 2>&1 || : fi В пакете man-db-cron есть /etc/sysconfig/man-db, в котором CRON=no отключает обновление по cron. В Fedora man-db более правильно лежит в самом пакете man-db и имеет ручку для выключения обновления баз по триггеру. Предлагаю так же сделать: $ cat /etc/sysconfig/man-db # Set this to "no" to disable man-db update triggered by installation # of any package containing manual pages SERVICE="yes" # Set this to "no" to disable daily man-db update run by # /etc/cron.daily/man-db.cron CRON="yes" |