ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Linux kernel packages development <devel-kernel@altlinux.ru>
Subject: [d-kernel] Re: kernel-module-list.sh (was: Опять грабли с инсталером)
Date: Thu, 14 Aug 2003 18:19:45 +0400
Message-ID: <20030814181945.31806d9e.vsu@altlinux.ru> (raw)
In-Reply-To: <20030814080907.GD17616@osdn.org.ua>

On Thu, 14 Aug 2003 11:09:07 +0300
Michael Shigorin <mike@osdn.org.ua> wrote:

> On Wed, Aug 13, 2003 at 08:16:37PM +0400, Sergey Vlasov wrote:
> > > #!/bin/sh
> > > [ "$EUID" != 0 ] && CMD="sudo" || CMD=""
> > > rpm -q --queryformat '%{NAME}\n' $(
> > > 	rpm -q --whatrequires $(
> > > 		rpm -q --queryformat '%{NAME}\n' $(
> > > 			$CMD rpmquery -qf /boot/vmlinuz-"$(uname -r)"
> > > 		)
> > > 	)
> > > )
> > sudo там не нужен - rpmquery -qf и без него работает (а вот если дать
> > несуществующий файл, действительно говорит Permission denied).
> 
> Да.  Кстати, зря это прозвучало -- сейчас Дима исправит rpm на
> манер slocate и это сломается. %)

Так сейчас весь /var/lib/rpm world readable.

Хотя для данного применения это несущественно - всё равно пакеты будет
ставить root.


  reply	other threads:[~2003-08-14 14:19 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-13  8:15 [d-kernel] Опять грабли с новой схемой сборки Anton Farygin
2003-08-13  8:32 ` [d-kernel] ïÐÑÔØ ÇÒÁÂÌÉ Ó ÎÏ×ÏÊ ÓÈÅÍÏÊ ÓÂÏÒËÉ Ed V. Bartosh
2003-08-13 10:43   ` [d-kernel] Опять грабли с новой схемой сборки Anton Farygin
2003-08-13 12:16 ` Michael Shigorin
2003-08-13 12:25   ` Anton Farygin
2003-08-13 12:34     ` Sergey Bolshakov
2003-08-13 13:14       ` [d-kernel] i"?N~O^? C,O`A'A^I`E' O' I^I"?I"E^ O'E`A*I'I"E^ O'A^I"O`E"E' Anton Farygin
2003-08-13 13:25         ` [d-kernel] i"?N~O^? C, O`A'A^I`E' " Michael Shigorin
2003-08-13 13:51           ` Anton Farygin
2003-08-13 14:25             ` [d-kernel] Опять грабли с инсталером Michael Shigorin
2003-08-13 15:40               ` Anton Farygin
2003-08-14  8:06                 ` Michael Shigorin
2003-08-14 11:03                   ` Anton Farygin
2003-08-14 13:27                     ` Michael Shigorin
2003-08-14 13:43                       ` Anton Farygin
2003-08-14 13:49                         ` Michael Shigorin
2003-08-13 13:23     ` [d-kernel] Опять грабли с новой схемой сборки Michael Shigorin
2003-08-13 13:53       ` [d-kernel] " Sergey Vlasov
2003-08-13 15:01         ` [d-kernel] kernel-module-list.sh (was: Опять грабли с инсталером) Michael Shigorin
2003-08-13 16:16           ` [d-kernel] " Sergey Vlasov
2003-08-14  8:09             ` Michael Shigorin
2003-08-14 14:19               ` Sergey Vlasov [this message]
2003-08-15 19:53 ` [d-kernel] Опять грабли с новой схемой сборки 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=20030814181945.31806d9e.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=devel-kernel@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 kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

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


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