Bug 29556 - Не создается база whatis
Summary: Не создается база whatis
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: man-whatis (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL: http://forum.altlinux.org/index.php/t...
Keywords: backport
: 31031 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-05 15:55 MSK by Olexander Chernetskyy
Modified: 2017-08-28 16:55 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olexander Chernetskyy 2013-11-05 15:55:20 MSK
Устанавливаем:

# apt-get install man-whatis
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  man-whatis
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 20,7kB of archives.
After unpacking 21,0kB of additional disk space will be used.
Get:1 ftp://ftp.linux.kiev.ua noarch/classic man-whatis 1.6g-alt2 [20,7kB]
Fetched 20,7kB in 0s (114kB/s)
Committing changes...
Preparing...                                 ################################################################################################### [100%]
1: man-whatis                                ################################################################################################### [100%]
Running /usr/lib/rpm/posttrans-filetriggers
/usr/sbin/makewhatis: line 365: /var/cache/man/local/whatis: Permission denied
/usr/lib/rpm/whatis.filetrigger failed
error: execution of /usr/lib/rpm/posttrans-filetriggers scriptlet from (null)-(null)-(null) failed, exit status 1
Done.
-----

При этом права /var/cache/man/local/
drwxr-sr-x 2 root     man 4096 лис  4 19:24 local

А в p6 говорят вот такие
drwxrwsr-t 12 root     man    4096 Апр 30  2009 local
Comment 1 Andrey Cherepanov 2013-11-05 18:32:45 MSK
На Sisyphus.
Comment 2 Michael Shigorin 2013-11-05 19:15:28 MSK
Согласно информации по ссылке воспроизводится в uk_UA[.UTF-8] и не замечено в ru_RU.
Comment 3 Dmitry V. Levin 2014-01-30 02:26:01 MSK
$ rpmquery man-whatis
man-whatis-1.6g-alt2
$ grep /var/cache/man /lib/tmpfiles.d/*.conf
/lib/tmpfiles.d/systemd.conf:d /var/cache/man - - - 30d

Другими словами, каталоги и файлы упакованы, но их хватает только до первой перезагрузки.
Comment 4 Sergey Y. Afonin 2017-08-28 16:52:01 MSK
$ rpm -qf /usr/bin/whatis
man-db-2.7.6.1-alt4.1

Полагаю, для p8 и Sisyphus не актуально ввиду замены man -> man-db.
Comment 5 Sergey Y. Afonin 2017-08-28 16:55:36 MSK
*** Bug 31031 has been marked as a duplicate of this bug. ***