ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Упаковка openssl
Date: Thu, 7 May 2009 01:44:39 +0400
Message-ID: <20090506214439.GD1932@wo.int.altlinux.org> (raw)
In-Reply-To: <20090505113110.GJ2101@cryptocom.ru>

[-- Attachment #1: Type: text/plain, Size: 2100 bytes --]

On Tue, May 05, 2009 at 03:31:10PM +0400, Victor B. Wagner wrote:
> On 2009.05.05 at 14:46:26 +0400, Evgeny Sinelnikov wrote:
> >    4 мая 2009 г. 19:00 пользователь Victor B. Wagner <[1]vitus@altlinux.org>
> >    написал:
> >    [...]
> >       В Alt зачем-то openssldir указывает в /var. При этом конфигурационный
> >       файл, как и положено, лежит в /etc, engines посредством более менее
> >       глубокого хака в исходниках перетащены в /usr/lib, каталог
> >       сертификатов пустой, даже при установленном пакете ca-certificates,
> >       а вот скрипты - остались. Исполняемые файлы радостно инсталлируются в
> >       /var. Зачем?
> > 
> >    Видимо, для следования FHS. Настройки кладутся в /etc, данные - в /var.
> 
> По-моему, FHS ни разу не одобряет исполняемых файлов в /var.

Вряд ли этим исполняемым файлам место среди конфигов и сертификатов.
Очень похоже на legacy.  Пока не тронешь, не узнаешь, что сломается.

> Опять же, пакет ca-certificates ставит свои данные в /usr/share.

Если понадобится для монтирования /usr, то придётся перетаскивать в /lib.

> >    lrwxrwxrwx 1 root root   48 Мар 30 12:56 cert.pem ->
> >    ../../../usr/share/ca-certificates/ca-bundle.crt
> >    drwxr-xr-x 2 root root 4096 Мар 30 12:56 certs
> >    drwxr-xr-x 2 root root 4096 Мар 30 12:56 misc
> 
> Вот это самое misc, оно на самом деле такое bin. И в var ему не место.
> Хотя по хорошему счету ему место в /usr/share/doc/<something>/examples

Согласен, содержимое /var/lib/ssl/misc/ тянет на %doc.
Если на него никто не завязан, конечно.

> >    lrwxrwxrwx 1 root root   32 Мар 30 12:56 openssl.cnf ->
> >    ../../../etc/openssl/openssl.cnf
> >    drwx------ 2 root root 4096 Мар 27 20:35 private
> > 
> >    Но, в целом, идея проста - в /var/lib/ssl/ обычная свалка, как везде... А,
> 
> Похоже, что наиболее правильным с точки зрения FHS будет держать
> openssldir в /etc Раз уж engines оттуда совсем оторвали.
> Каталоги private и сerts сделать линками в /var/lib/ssl, а openssl.cnf
> пусть прямо там лежит. 

Можно попробовать.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-05-06 21:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05 11:31 ` [devel] Упаковка openssl (was: Вопросы новичка) Victor B. Wagner
2009-05-06 21:44   ` Dmitry V. Levin [this message]
2009-05-07  9:25       ` Victor B. Wagner
2009-05-23 23:28         ` Денис Смирнов
2009-05-25  7:11           ` Victor B. Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090506214439.GD1932@wo.int.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git