ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] rc.sysinit: /etc/init.d/functions: line 547: 21: Bad file descriptor
@ 2006-03-23 10:02 Eugene Prokopiev
  2006-03-23 12:38 ` Aleksandr Blokhin
  2006-03-23 17:16 ` Dmitry V. Levin
  0 siblings, 2 replies; 12+ messages in thread
From: Eugene Prokopiev @ 2006-03-23 10:02 UTC (permalink / raw)
  To: Sisyphus

Здравствуйте!

Затрудняюсь сказать, после чего именно, но теперь (система - самый 
свежий Сизиф) отработка всех action из rc.sysinit до по монтирования / в 
rw сопровождается такими ругательствами:

/etc/init.d/functions: line 547: 21: Bad file descriptor

/etc/init.d/functions в окрестностях line 547 выглядит так:

# Log that something succeeded
success()
{
         if [ -z "$IN_INITLOG" ]; then
                 initlog $INITLOG_ARGS -n $0 -s "$1" -e 1
         else
                 local opipe
                 opipe="$(trap -p SIGPIPE)"
                 trap '' SIGPIPE
                 echo "$INITLOG_ARGS -n $0 -s \"$1\" -e 1" >&21
                 $opipe
         fi
         echo_success
         return 0
}

Как узнать, что это за дескриптор 21, и почему вообще раньше таких 
проблем не было?

-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-03-24  6:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-23 10:02 [sisyphus] rc.sysinit: /etc/init.d/functions: line 547: 21: Bad file descriptor Eugene Prokopiev
2006-03-23 12:38 ` Aleksandr Blokhin
2006-03-23 12:50   ` Eugene Prokopiev
2006-03-23 14:05     ` Aleksandr Blokhin
2006-03-24  5:33       ` Eugene Prokopiev
2006-03-23 12:54   ` Eugene Prokopiev
2006-03-23 14:04     ` Aleksandr Blokhin
2006-03-24  5:34       ` Eugene Prokopiev
2006-03-24  6:57         ` Aleksandr Blokhin
2006-03-23 17:16 ` Dmitry V. Levin
2006-03-23 18:31   ` Aleksandr Blokhin
2006-03-24  5:43     ` Eugene Prokopiev

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