Bug 17322

Summary: в /etc лежит теперь файл, не являющийся каталогом или текстовым конфигом
Product: Sisyphus Reporter: nbr <nbr>
Component: glibc-coreAssignee: Gleb F-Malinovskiy <glebfm>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: minor    
Priority: P2 CC: glebfm, ldv
Version: unstable   
Hardware: all   
OS: Linux   

Description nbr 2008-09-25 10:10:52 MSD
/etc/localtime имеет смысл выложить куда-то в /usr/share/ или в /usr/lib
это теперь не конфиг, читаемый человеком.
Comment 1 nbr 2008-09-25 10:27:53 MSD
Это еще и нарушение FHS
http://www.pathname.com/fhs/pub/fhs-2.3.html#ETCHOSTSPECIFICSYSTEMCONFIGURATION
цитата:
/etc : Host-specific system configuration
Purpose

The /etc hierarchy contains configuration files. A "configuration file" is a local file used to control the operation of a program; it must be static and cannot be an executable binary. [4]
Requirements

No binaries may be located under /etc. [5]
Comment 2 Andrey Rahmatullin 2008-09-25 10:33:43 MSD
$ file /etc/localtime
/etc/localtime: timezone data
Comment 3 nbr 2008-09-25 10:35:51 MSD
(In reply to comment #2)
> $ file /etc/localtime
> /etc/localtime: timezone data
> 

Ну да, файл-то бинарный.
Comment 4 nbr 2008-09-25 12:10:36 MSD
Меня убедили на #altlinux что это мелочь.
В принципе можно хранить localtime в /lib.
Comment 5 Andrey Rahmatullin 2008-09-25 14:43:23 MSD
(In reply to comment #3)
> Ну да, файл-то бинарный.
Ну т.е. вы не отличаете "бинарный" от "executable binary".
Неудивительно, да.
Comment 6 nbr 2008-09-25 14:57:37 MSD
(In reply to comment #5)
> (In reply to comment #3)
> > Ну да, файл-то бинарный.
> Ну т.е. вы не отличаете "бинарный" от "executable binary".
> Неудивительно, да.
> 

Да нет, отличаю.
Но в стандарте четко написано
No binaries may be located under /etc. [5]
То есть binaries - всех - и data и executable.
В предыдущем абзаце, когда надо было - они сказали про executable binary.