ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] java-1.6.0
Date: Tue, 8 Jan 2008 20:30:36 +0300
Message-ID: <20080108173036.GB27978@wo.int.altlinux.org> (raw)
In-Reply-To: <4783ACB6.5030000@altlinux.ru>

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

On Tue, Jan 08, 2008 at 08:02:46PM +0300, Vitaly Kuznetsov wrote:
> Vitaly Kuznetsov пишет:
> > Господа, помогите разобраться
> > Где-то месяц назад таких проблем не возникало.
> > Сейчас собираю пакет в хешере, java не запускается
> Сорри, разобрался, --mountpoints=/proc хешеру забыл.
> Может как-то сделать чтоб пакет java его require-ил?

Несомненно, "пакет java его require-ит", с этим всё в порядке.

$ sed -n '/^[0-9].*proc/,/^[0-9]/p' /usr/share/doc/hasher-*/FAQ |head -n -1

4.2.1 Is there any way to use proc filesystem inside chroot while building
   the package?

   Yes, it is.

   First, you have to configure hasher-priv for the user, to allow
   mounting /proc inside chroot.
   Add the line:
	allowed_mountpoints=/proc

   Second, the package you are going to build should include /proc
   in its build dependencies, e.g.
	BuildPreReq: /proc
   Alternatively, at least one of packages installed to build environment
   should include /proc in its dependencies.
 
   Third, hsh should be run with parameter --mountpoints=/proc.

Другими словами, должны быть выполнены сразу 3 условия:
1. администратор должен позволить (allowed_mountpoints);
2. пакет должен прямо или косвенно вытянуть по зависимостям;
3. запускающий hsh должен позволить (--mountpoints).

Т.е. в hsh смысл параметра --mountpoints в том, чтобы разрешить
монтирование перечисляемых ресурсов.

В hsh-run/hsh-shell у параметра --mountpoints немного другой смысл,
там просто перечисляются монтируемые ресурсы.


-- 
ldv

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

  reply	other threads:[~2008-01-08 17:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-08 16:56 Vitaly Kuznetsov
2008-01-08 17:02 ` Vitaly Kuznetsov
2008-01-08 17:30   ` Dmitry V. Levin [this message]
2008-01-08 19:05     ` Vitaly Kuznetsov
2008-01-08 20:32       ` [devel] hsh --mountpoints Dmitry V. Levin
2008-01-08 21:12         ` Vitaly Kuznetsov
2008-01-08 21:18           ` Dmitry V. Levin
2008-01-09 17:42         ` Michael Shigorin
2008-01-09 17:50           ` Dmitry V. Levin

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=20080108173036.GB27978@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