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] Куда класть дополнительные бинарники?
Date: Wed, 1 Apr 2009 21:09:45 +0400
Message-ID: <20090401170945.GA4068@wo.int.altlinux.org> (raw)
In-Reply-To: <20090401203853.0a8a6ba3@bga>

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

Hi,

On Wed, Apr 01, 2009 at 08:38:53PM +0400, Grigory Batalov wrote:
> В пакете squid-server есть /usr/lib/squid/unlinkd (стиратель объектов
> из кеша) и ещё парочка бинарников. Где их правильно хранить?
> В %_libdir/squid или в %_libexecdir/squid ?
> 
> FHS-2.3 на этот вопрос не даёт чёткого ответа.
> ----
> http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA
> 
> /usr/lib : Libraries for programming and packages
> Purpose
> /usr/lib includes object files, libraries, and internal binaries that are not intended to be executed directly by users or shell scripts. [22]
> 
> Applications may use a single subdirectory under /usr/lib. If an application uses a subdirectory, all architecture-dependent data exclusively used by the application must be placed within that subdirectory. [23]
> 
> ...
> /usr/lib<qual> : Alternate format libraries (optional)
> Purpose
> /usr/lib<qual> performs the same role as /usr/lib for an alternate binary format ...
> ----
> 
> unlinkd как раз из тех бинарников, что не должны запускаться непосредственно
> пользователем. Но lib<qual> можно понимать и как lib64, и как libexec
> (который у нас превращается в lib).

Нет, /usr/lib<qual> это Alternate format *libraries*
А когда речь идёт об *executables*, /usr/lib<qual> не при чём.

Так что чёткий ответ есть: %_libexecdir/squid.


-- 
ldv

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

  reply	other threads:[~2009-04-01 17:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01 16:38 Grigory Batalov
2009-04-01 17:09 ` Dmitry V. Levin [this message]
2009-04-01 18:14   ` Grigory Batalov
2009-06-25 17:41     ` Grigory Batalov

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=20090401170945.GA4068@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