Bug 15013 - Ослабить контроль за /etc/info-dir
Summary: Ослабить контроль за /etc/info-dir
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: info-install (show other bugs)
Version: unstable
Hardware: all Linux
: P2 enhancement
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-20 19:01 MSK by Evgenii Terechkov
Modified: 2008-03-22 15:35 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgenii Terechkov 2008-03-20 19:01:37 MSK
После обновления, в частности, bzlib&&bzip2:

/etc$ R -V info-install                                                        
                                         
S.5....T c /etc/info-dir

/etc$ sudo git diff HEAD^                                                      
                                         
diff --git a/info-dir b/info-dir
index cdb511d..f79755b 100644
--- a/info-dir
+++ b/info-dir
@@ -167,6 +167,8 @@ Text tools
 
 Development/C
 * Bzip2: (bzip2).		A program and library for data compression.
+This is bzip2.info, produced by makeinfo version 4.11 from bzip2.texi.
+
 * GLIB: (glib).				Library of useful routines for 'C' programing
 * IPC: (ipc).				System V style Inter Process Communication primitives.
 * MikMod: (mikmod).				MikMod Sound Library.

Возможно, стОйт убрать проверку времени, размера и md5 для /etc/info-dir, или
вообще сделать его %ghost (как понимаю, это аналогично действует)?
Comment 1 Dmitry V. Levin 2008-03-20 19:21:41 MSK
(In reply to comment #0)
> После обновления, в частности, bzlib&&bzip2:
> 
> /etc$ R -V info-install                                                        
>                                          
> S.5....T c /etc/info-dir
> 
> /etc$ sudo git diff HEAD^                                                      
>                                          
> diff --git a/info-dir b/info-dir
> index cdb511d..f79755b 100644
> --- a/info-dir
> +++ b/info-dir
> @@ -167,6 +167,8 @@ Text tools
>  
>  Development/C
>  * Bzip2: (bzip2).		A program and library for data compression.
> +This is bzip2.info, produced by makeinfo version 4.11 from bzip2.texi.
> +

Это ужасно.  Опять в texinfo что-то разломали, наверное.
Сейчас проверил на совсем небольшой системе, которая обновляется из Сизифа,
и обнаружил

$ grep -c '^This is .*, produced by makeinfo version 4\.11 from ' /etc/info-dir 
14

Это просто кошмар.
Comment 2 Dmitry V. Levin 2008-03-20 19:38:31 MSK
(In reply to comment #1)
> Это ужасно.  Опять в texinfo что-то разломали, наверное.

Так и есть, пойду вешать блок-багу на makeinfo.
Comment 3 Dmitry V. Levin 2008-03-20 19:49:04 MSK
(In reply to comment #0)
> После обновления, в частности, bzlib&&bzip2:
> 
> /etc$ R -V info-install                                                        
>                                          
> S.5....T c /etc/info-dir

Идея правильная

> Возможно, стОит убрать проверку времени, размера и md5 для /etc/info-dir,

Это называется
%verify(not md5 mtime size)

> вообще сделать его %ghost (как понимаю, это аналогично действует)?

Нет, %ghost действует совершенно иначе.
Comment 4 Dmitry V. Levin 2008-03-20 19:52:43 MSK
implemented in 4.11-alt2-1-g14355ad
Comment 5 Evgenii Terechkov 2008-03-22 15:35:38 MSK
Seems fixed