From: Igor Homyakov <homyakov@ramax.spb.ru> To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru> Subject: Re: [sisyphus] [JT] start-stop-daemon Date: Mon, 26 May 2003 16:41:14 +0400 Message-ID: <20030526124114.GA4133@kadath.ramax.spb.ru> (raw) In-Reply-To: <20030526120903.GA7636@basalt.office.altlinux.org> * Dmitry V. Levin <ldv @ altlinux . org> [030526 16:15]: > On Mon, May 26, 2003 at 03:12:09PM +0400, Igor Homyakov wrote: > > я имел в виду /var/lib/$DAEMON/dev/null Ест ли у нас демоны которым > > нужен /dev/null в их CE ? > Я фиксил всех таких демонов, которые мне попадались. > Возможно, какие-то мне не попались. вопрос скорее для devel@ Распространенная практика когда после закрытия дискрипторов 1,2,3 открывается /dev/null, не мешает этому ? (и если да, то как это фиксить) то есть код примерно такого вида for(i= 0; i < 3; i++) if(close(i) == -1 || open("/dev/null", O_RDWR) != i) error("Cannot reopen standard file descriptor (%d) -- %s\n", i, STRERROR); -- Igor Homyakov <homyakov at altlinux dot ru> http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141
next prev parent reply other threads:[~2003-05-26 12:41 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-05-25 17:37 [sisyphus] Fwd: Re: [Comm] start-stop-daemon Fred 2003-05-25 18:59 ` Dmitry V. Levin 2003-05-25 19:19 ` [sisyphus] " Michael Shigorin 2003-05-25 19:32 ` Dmitry V. Levin 2003-05-25 19:44 ` Michael Shigorin 2003-05-25 20:13 ` Dmitry V. Levin 2003-05-25 22:05 ` Fred 2003-05-25 22:49 ` Dmitry V. Levin 2003-05-26 7:28 ` Michael Shigorin 2003-05-26 9:00 ` Dmitry V. Levin 2003-05-26 9:30 ` Serhiy Brytskyy 2003-05-26 10:05 ` Igor Homyakov 2003-05-26 11:24 ` [sisyphus] fstab Dmitry V. Levin 2003-05-26 11:51 ` Igor Homyakov 2003-05-26 11:42 ` [sisyphus] [JT] start-stop-daemon Alexey Morozov 2003-05-26 11:12 ` Igor Homyakov 2003-05-26 12:09 ` Dmitry V. Levin 2003-05-26 12:41 ` Igor Homyakov [this message] 2003-05-26 10:24 ` [sisyphus] Re: Fwd: Re: [Comm] start-stop-daemon Ildar Mulyukov 2003-05-26 15:49 ` Michael Shigorin 2003-05-27 0:55 ` Alexey Tourbin 2003-05-27 6:22 ` Igor Homyakov 2003-05-27 11:58 ` Борис Ревякин 2003-05-27 9:29 ` Michael Shigorin
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=20030526124114.GA4133@kadath.ramax.spb.ru \ --to=homyakov@ramax.spb.ru \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git