ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] rpm -ivh qt3-3.1.1-alt3.src.rpm
Date: Mon, 28 Apr 2003 02:25:28 +0400
Message-ID: <20030427222528.GA5012@basalt.office.altlinux.org> (raw)
In-Reply-To: <20030427211134.GA16596@solemn.turbinal.org>

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

On Mon, Apr 28, 2003 at 01:11:34AM +0400, Alexey Tourbin wrote:
> Господа, часто встречается вот такая проблема:
> 
> $ rm -f ~/RPM/SOURCES/qt-*
> $ rpm -ivh qt3-3.1.1-alt3.src.rpm
> qt3                          ######################################################################
> a
> $ rpm -ivh qt3-3.1.1-alt3.src.rpm
> qt3                          #######error: unpacking of archive failed on file /home/at/RPM/SOURCES/qt-x11-free-3.0.4-QMenuBar.patch: cpio: open failed - Permission denied

[...]

> Ну некрасиво это.  Проблема не надуманная, т.к. патчи дрейфуют от релиза
> к релизу.  Если таких патчей много, то установка src.rpm может стать
> задачей на пару трубок (кувалда: chmod -R ug+rw ~/RPM; работает
> несколько минут).  Тем более это может породить вопросы, на которые
> кому-то придется отвечать.  Варианты решения:
> 
> 1) включить в policy и в sisyphus_check проверку u+w на всё, что входит
> в src.rpm.

Это будет сделано.

> 2) отхачить RPM, чтобы он а) предварительно удалял файлы; но здесь
> наверняка будет race; и б) делал chmod u+w или ug+w в зависимости от
> ~/RPM или /usr/src/RPM до и после -ivh.

Это не будет сделано (raceable).

> 3) Решить вопрос на уровне BTE, который Бог даст скоро заработает, и
> пропускать через BTE всё что только есть, в том числе и от staff.

По идее, BTE использует sisyphus_check, внешний или собственный.


--
ldv

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

      reply	other threads:[~2003-04-27 22:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-27 21:11 Alexey Tourbin
2003-04-27 22:25 ` Dmitry V. Levin [this message]

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=20030427222528.GA5012@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@altlinux.ru \
    /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