Bug 29556

Summary: Не создается база whatis
Product: Sisyphus Reporter: Olexander Chernetskyy <sp_archer>
Component: man-whatisAssignee: Alexey Gladkov <legion>
Status: CLOSED WONTFIX QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: asy, eugine.kosenko, ldv, mike, sem, voins
Version: unstableKeywords: backport
Hardware: all   
OS: Linux   
URL: http://forum.altlinux.org/index.php/topic,30476.msg217065.html#msg217065

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. ***