mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Harald Dunkel <harri@afaics.de>
To: linux-kernel@vger.kernel.org
Subject: Re: how to avoid that install.sh goes mad, if I am not root?
Date: Fri, 21 Jan 2011 23:08:10 +0100	[thread overview]
Message-ID: <4D3A03CA.2060507@afaics.de> (raw)
In-Reply-To: <ihbvd1$jbj$3@dough.gmane.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/21/11 13:49, WANG Cong wrote:
> On Thu, 20 Jan 2011 22:47:56 +0100, Mikael Pettersson wrote:
>>
>> First, at least on x86, the kernel will look for the 'installkernel'
>> executable first in your own ~/bin/, so if you have that then it will
>> override /sbin/installkernel.
>>
> 
> That still doesn't look like a good solution.
> 

Same for me.

Obviously running /sbin/installkernel is not reasonable for
UID != 0 (or if $FAKEROOTKEY is set), so I would suggest to
skip /sbin/installkernel and the default Lilo setup in
install.sh for this case.


Only a suggestion, of course.

Regards

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk06A8oACgkQUTlbRTxpHjeuVwCeJjTgyjcIqvqrUTqxoGgAJngd
iwkAn2U/qiekItqItRBmpeEqk/dH0FKZ
=LgO3
-----END PGP SIGNATURE-----

  reply	other threads:[~2011-01-21 22:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-20 19:16 Harald Dunkel
2011-01-20 21:47 ` Mikael Pettersson
2011-01-21 12:49   ` WANG Cong
2011-01-21 22:08     ` Harald Dunkel [this message]
2011-01-24 10:21       ` [Patch] make installkernel configurable from command line (was Re: how to avoid that install.sh goes mad, if I am not root?) Américo Wang
2011-01-24 11:43         ` Mikael Pettersson
2011-01-25  5:48           ` Américo Wang
2011-01-26 10:02             ` Mikael Pettersson
2011-01-28  7:58               ` WANG Cong

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=4D3A03CA.2060507@afaics.de \
    --to=harri@afaics.de \
    --cc=linux-kernel@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome