ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Cc: "Valery V. Inozemtsev" <shrek@altlinux.org>
Subject: Re: [devel] xvfb-run -a
Date: Thu, 25 Sep 2008 14:10:03 +0400
Message-ID: <20080925101003.GC30199@wo.int.altlinux.org> (raw)
In-Reply-To: <20080925051948.GS839@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]

On Thu, Sep 25, 2008 at 05:19:48AM +0000, Alexey Tourbin wrote:
> On Mon, Sep 22, 2008 at 03:00:24PM +0400, Dmitry V. Levin wrote:
> > > Когда в хост-системе уже запущен X сервер, то в сборочном чруте xvfb-run
> > > с опцией "-a" (автоматический подбор свободного номера) вообще не работает.
> > > Причем xvfb-run в таком случае не отваливает.
> > > 
> > > [builder@solemn ~]$ xvfb-run -a /bin/echo 666
> > > xauth:  creating new authority file /usr/src/.Xauthority
> > > _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> > 
> > Нет, это UNIXCreateListener, стало быть, дело не в хост-системе, а том,
> > что в сборочном чруте остались неисправимые следы предыдущего запуска
> > сервера, возможно, даже целый X сервер.
> 
> По-моему, дело в хост-системе.  В начисто сформированном чруте всё это
> воспроизводится.
> 
> $ hsh --init && hsh-install xvfb-run && hsh-run -- sh -c 'cd; xvfb-run -a /bin/echo 666'
> ...
> <13>Sep 25 05:16:55 rpmi: xorg-xvfb-2:1.5.1-alt1 installed
> <13>Sep 25 05:16:55 rpmi: xvfb-run-1.3-alt1 installed
> xauth:  creating new authority file /usr/src/.Xauthority
> _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> _XSERVTransMakeAllCOTSServerListeners: server already running
> Fatal server error:
> Cannot establish any listening sockets - Make sure an X server isn't already running

Тогда это regression в SocketCreateListener.

> 666
> /usr/bin/xvfb-run: line 69: kill: (2058) - No such process
> $ echo $?
> 0

Это код возврата "echo 666", у "xset b" было бы нечто ненулевое.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-09-25 10:10 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-16  5:30 ` [devel] perl-Tk-804.028-alt1: i586 rebuild failed [36] Alexey Tourbin
2008-09-16 11:15   ` Dmitry V. Levin
2008-09-16 11:34     ` Alexey Tourbin
2008-09-16 11:41       ` Sergey Bolshakov
2008-09-18  6:34         ` Alexey Tourbin
2008-09-16 11:42       ` [devel] Xvfb input Dmitry V. Levin
2008-09-16 11:44         ` Dmitry V. Levin
2008-09-16 11:50           ` Valery V. Inozemtsev
2008-09-25 15:23         ` Alexey Tourbin
2008-09-22  7:00     ` [devel] xvfb-run -a Alexey Tourbin
2008-09-22 11:00       ` Dmitry V. Levin
2008-09-22 11:07         ` Dmitry V. Levin
2008-09-22 11:17           ` Alexey Gladkov
2008-09-22 11:21             ` Dmitry V. Levin
2008-09-22 11:27               ` [devel] fakeroot (was: xvfb-run -a) Alexey Gladkov
2008-09-22 11:34                 ` Kirill A. Shutemov
2008-09-22 11:41                   ` [devel] fakeroot Alexey Gladkov
2008-09-22 14:11             ` [devel] xvfb-run -a Alexey I. Froloff
2008-09-22 14:26               ` Damir Shayhutdinov
2008-09-22 12:19           ` Dmitry V. Levin
2008-09-23 20:11           ` Dmitry V. Levin
2008-09-25  5:19         ` Alexey Tourbin
2008-09-25 10:10           ` Dmitry V. Levin [this message]
2008-09-26 16:39             ` Valery V. Inozemtsev
2008-09-26 16:56               ` Dmitry V. Levin
2008-09-26 18:01                 ` Valery V. Inozemtsev
2008-09-26 19:05                   ` Dmitry V. Levin
2008-09-26 19:09                     ` Mikhail Gusarov
2008-09-26 20:58                       ` Dmitry V. Levin

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=20080925101003.GC30199@wo.int.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    --cc=shrek@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