From: "Gulay Boris" <boris@boressoft.ru>
To: "'ALT Linux Community general discussions'"
<community@lists.altlinux.org>
Subject: Re: [Comm] Вопрос про start_daemon
Date: Sat, 10 Nov 2007 23:41:54 +0300
Message-ID: <0AE90B9925984673953C0820F31D5DAC@BoresExpress> (raw)
In-Reply-To: <20071110124256.GB14470@basalt.office.altlinux.org>
Мм...
Может тогда стоит добавить в start_daemon опцию, позволяющую управлять
передачей параметра -l утилите su? Чтобы можно было запуск под другим
пользователем без -l?
-----Original Message-----
From: community-bounces@lists.altlinux.org
[mailto:community-bounces@lists.altlinux.org] On Behalf Of Dmitry V. Levin
Sent: Saturday, November 10, 2007 3:43 PM
To: ALT Linux general discussion list
Subject: Re: [Comm] Вопрос про start_daemon
On Fri, Nov 09, 2007 at 10:24:42PM +0200, Michael Shigorin wrote:
> On Fri, Nov 09, 2007 at 12:28:40PM +0300, Gulay Boris wrote:
[...]
> > При попытке запустить демона получаю ошибку "/dev/null not
> > available; exiting". В этом свете вопрос: зачем start_daemon
> > указывает для su параметр -l? Ведь нам, всего лишь, нужно выполнить
> > одну команду, даже в мане, в примере для ключа -c, -l не указан.
>
> Это лучше спросить ldv@.
Грубо говоря, чтобы сформировать правильную среду для запуска команды.
--
ldv
next prev parent reply other threads:[~2007-11-10 20:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-09 9:28 Gulay Boris
2007-11-09 20:24 ` Michael Shigorin
2007-11-10 12:42 ` Dmitry V. Levin
2007-11-10 20:41 ` Gulay Boris [this message]
2007-11-12 8:34 ` Gulay Boris
2007-11-12 20:59 ` Dmitry V. Levin
2007-11-13 9:43 ` Gulay Boris
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=0AE90B9925984673953C0820F31D5DAC@BoresExpress \
--to=boris@boressoft.ru \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git