ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Kuznetsov <vitty@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] java-1.6.0
Date: Tue, 08 Jan 2008 22:05:55 +0300
Message-ID: <4783C993.5090306@altlinux.ru> (raw)
In-Reply-To: <20080108173036.GB27978@wo.int.altlinux.org>

Dmitry V. Levin пишет:
> 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).
>
>   
Может сделать хотя бы warning если условие 2 выполняется, а 1 или 3 нет?




  reply	other threads:[~2008-01-08 19:05 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
2008-01-08 19:05     ` Vitaly Kuznetsov [this message]
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=4783C993.5090306@altlinux.ru \
    --to=vitty@altlinux.ru \
    --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