From: Artem Zolochevskiy <artem.zolochevskiy@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] installkernel: код возврата
Date: Sun, 11 Oct 2009 21:22:45 +0300
Message-ID: <774a4f4a0910111122u753f3022u1c7d668c9f290093@mail.gmail.com> (raw)
In-Reply-To: <20091011180858.GA18810@altlinux.org>
2009/10/11 Alexey I. Froloff <raorn@altlinux.org>:
> On Sun, Oct 11, 2009 at 08:41:43PM +0300, Artem Zolochevskiy wrote:
>> Стоит ли вешать баг на скрипт installkernel, если он возвращает 0 даже
>> при вот таком:
>
>> $ /sbin/installkernel `uname -r`
> А какого эффекта вы хотели добиться запуская installkernel от
> непривелигерованного пользователя?
Я хотел добиться/ожидал ненулевого выхода :-)
Но, как мне кажется, подобного же эффекта можно достигнуть и при
запуске от привелигерованного пользователя. Ну например со сложностями
с чтением /etc/lilo.conf
Собственно мой вопрос не в том, как я его запускаю, а в том, как сам
скрипт себя ведёт. Ну вот на пробу скрипты из sbin (ну mkinitrd
например) возвращают "1" при проблемах/запуске от пользователя и т.п.
В любом случае, я совершенно ничего не утверждаю и не настаиваю на
том, что это проблема, в всего лишь интересуюсь, не было бы более
правильно возвращать что-то отличное от нуля при проблемах?
--
Артём Золочевский
next prev parent reply other threads:[~2009-10-11 18:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-11 17:41 Artem Zolochevskiy
2009-10-11 18:08 ` Alexey I. Froloff
2009-10-11 18:22 ` Artem Zolochevskiy [this message]
2009-10-11 18:27 ` Artem Zolochevskiy
2009-10-12 3:35 ` REAL
2009-10-11 18:34 ` Dmitry V. Levin
2009-10-11 19:05 ` Artem Zolochevskiy
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=774a4f4a0910111122u753f3022u1c7d668c9f290093@mail.gmail.com \
--to=artem.zolochevskiy@gmail.com \
--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