ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] the girar: /dev/pts/ -- Read-only file system?
Date: Sat, 20 Feb 2016 01:54:54 +0300 (MSK)
Message-ID: <alpine.LFD.2.20.1602200152540.21858@imap.altlinux.org> (raw)
In-Reply-To: <20160219215823.GA30425@altlinux.org>

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


On Sat, 20 Feb 2016, Dmitry V. Levin wrote:

>>>>> Есть отличия в сборке
>>>>> git.alt:/people/glebfm/packages/python3.git=3.5.1-alt1 у себя в
>>>>> hasher-е и в сборочнице.
>>>>>
>>>>> (Сначала думал, что что-то не понимаю про
>>>>> hsh --mountpoints , потому что смотрел
>>>>> невнимательно на логи, а тесты
>>>>> проваливались те же самые, что без
>>>>> --mountpoints=/dev/pts . И даже попробовал добавить
>>>>> явные BuildPreReq в -alt2, но это не важно.)
>>>>>
>>>>> На самом на сборочнице вот такое --
>>>>> http://git.altlinux.org/tasks/159698/build/300/x86_64/log :
>>>>>
>>>>> ======================================================================
>>>>> ERROR: test_read_pty_output
>>>>> (test.test_asyncio.test_events.PollEventLoopTests)
>>>>> ----------------------------------------------------------------------
>>>>> Traceback (most recent call last):
>>>>>  File "/usr/src/RPM/BUILD/python3-3.5.1/Lib/test/support/__init__.py",
>>>>> line 564, in wrapper
>>>>>    return func(*args, **kw)
>>>>>  File "/usr/src/RPM/BUILD/python3-3.5.1/Lib/test/support/__init__.py",
>>>>> line 519, in wrapper
>>>>>    return func(*args, **kw)
>>>>>  File
>>>>> "/usr/src/RPM/BUILD/python3-3.5.1/Lib/test/test_asyncio/test_events.py",
>>>>> line 1376, in test_read_pty_output
>>>>>    master, slave = os.openpty()
>>>>> OSError: [Errno 30] Read-only file system
>>>>>
>>>>> Это специально на сборочнице /dev/pts/ read-only?
>>>>
>>>> Нет, это был эксперимент.  Вернул обратно.
>>>
>>> Теперь, видно, новый эксперимент (с
>>> правами в /dev/pts/) --
>>> http://git.altlinux.org/tasks/159698/build/400/x86_64/log :
>>>
>>> ======================================================================
>>> ERROR: test_read_pty_output
>>> (test.test_asyncio.test_events.EPollEventLoopTests)
>>> ----------------------------------------------------------------------
>>> Traceback (most recent call last):
>>>   File "/usr/src/RPM/BUILD/python3-3.5.1/Lib/test/support/__init__.py",
>>> line 564, in wrapper
>>>     return func(*args, **kw)
>>>   File "/usr/src/RPM/BUILD/python3-3.5.1/Lib/test/support/__init__.py",
>>> line 519, in wrapper
>>>     return func(*args, **kw)
>>>   File
>>> "/usr/src/RPM/BUILD/python3-3.5.1/Lib/test/test_asyncio/test_events.py",
>>> line 1376, in test_read_pty_output
>>>     master, slave = os.openpty()
>>> PermissionError: [Errno 1] Operation not permitted
>>>
>>> Да?
>>
>> Это когда-то раньше работало?

На basalt и altair работает в hasher-е.

Больше каких-то особых идей нет. (Ну кроме неособых: версия ядра, какие-то 
особенности контейнера, настройки.)

> Проверил, обычный openpty на C работает:
>
> open("/dev/ptmx", O_RDWR)               = 3</dev/ptmx>
> statfs("/dev/pts", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096, f_flags=4139}) = 0
> ioctl(3</dev/ptmx>, TCGETS, {B38400 opost isig icanon echo ...}) = 0
> ioctl(3</dev/ptmx>, TIOCGPTN, [4])      = 0
> stat("/dev/pts/4", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0


-- 
Best regards,
Ivan

  reply	other threads:[~2016-02-19 22:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-19 11:01 Ivan Zakharyaschev
2016-02-19 11:51 ` Dmitry V. Levin
2016-02-19 17:45   ` Ivan Zakharyaschev
2016-02-19 18:35     ` Dmitry V. Levin
2016-02-19 19:40       ` Ivan Zakharyaschev
2016-02-19 19:46         ` Ivan Zakharyaschev
2016-02-19 21:58       ` Dmitry V. Levin
2016-02-19 22:54         ` Ivan Zakharyaschev [this message]
2016-02-20 14:53       ` Ivan Zakharyaschev
2016-02-20 15:15         ` Ivan Zakharyaschev
2016-02-20 15:21           ` Ivan Zakharyaschev
2016-02-20 15:53             ` Ivan Zakharyaschev
2016-02-19 18:35 ` Michael Shigorin
2016-02-19 20:03   ` Ivan Zakharyaschev
2016-02-19 22:22     ` Ivan Zakharyaschev
2016-02-19 22:24       ` 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=alpine.LFD.2.20.1602200152540.21858@imap.altlinux.org \
    --to=imz@altlinux.org \
    --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