ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <ab@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Обновление до krb5-1.15.1
Date: Tue, 22 Aug 2017 09:59:39 +0300
Message-ID: <CAG0OwAErhkWL6yLsJVTtdUyBG_E8ktSj=rrmZpE+mnKaqGAvAQ@mail.gmail.com> (raw)
In-Reply-To: <CAK42-GpQG_Mf+axoZ4rda0X+Ri_-d0eUBW-CbUOGqd3A=ofvRw@mail.gmail.com>

On Tue, Aug 22, 2017 at 9:18 AM, Evgeny Sinelnikov <sin@altlinux.org> wrote:
> 21 августа 2017 г., 8:53 пользователь Alexander Bokovoy
> <ab@altlinux.org> написал:
>> 2017-08-21 0:27 GMT+03:00 Evgeny Sinelnikov <sin@altlinux.org>:
>>
>>>> Можешь добавить дамп окружений до исполнения этого теста?
>>>
>>> Мне доступен chroot в hasher'е. Могу. Но что есть "дамп окружений" и
>>> как его получить ?
>> r1.env и r2.env в t_ccselect.py, это обычные хэши.
>> import pprint
>> pprint.pprint(r1.env)
>>
>
> Внёс такую правку:
>
> [builder@localhost gssapi]$ diff -u t_ccselect.py.orig t_ccselect.py
> --- t_ccselect.py.orig  2017-08-22 06:05:19.511969086 +0000
> +++ t_ccselect.py       2017-08-22 06:06:31.236771746 +0000
> @@ -23,6 +23,7 @@
>  # or implied warranty.
>
>  from k5test import *
> +import pprint
>
>  # Create two independent realms (no cross-realm TGTs).
>  r1 = K5Realm(create_user=False)
> @@ -49,6 +50,9 @@
>  # .k5identity rules since it has unknown type.
>  refserver = 'p:host/' + hostname + '@'
>
> +pprint.pprint(r1.env)
> +pprint.pprint(r2.env)
> +
>  # Verify that we can't get initiator creds with no credentials in the
>  # collection.
>  r1.run(['./t_ccselect', host1, '-'], expected_code=1,
> @@ -86,6 +90,9 @@
>  r1.kinit(alice, password('alice'))
>  r2.kinit(zaphod, password('zaphod'))
>
> +pprint.pprint(r1.env)
> +pprint.pprint(r2.env)
> +
>  # Check that we can find a cache for a specified client principal.
>  output = r1.run(['./t_ccselect', host1, 'p:' + alice])
>  if output != (alice + '\n'):
>
>
> Два раза вывожу env'ы:
> - до начала теста (1 - для r1, 2 - для r2)
> - сразу после kinit (3 - для r1, 4 - для r2)
Спасибо. Я поговорю сегодня с Робби (мейнтейнер krb5 в Федоре).


-- 
/ Alexander Bokovoy

  reply	other threads:[~2017-08-22  6:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-14 18:47 Evgeny Sinelnikov
2017-07-17 12:49 ` Alexander Bokovoy
2017-08-20  3:20   ` Evgeny Sinelnikov
2017-08-20  5:08     ` Alexander Bokovoy
2017-08-20 10:16       ` Evgeny Sinelnikov
2017-08-20 10:24         ` Evgeny Sinelnikov
2017-08-20 11:46           ` Dmitry V. Levin
2017-08-20 15:19         ` Alexander Bokovoy
2017-08-20 21:27           ` Evgeny Sinelnikov
2017-08-21  4:53             ` Alexander Bokovoy
2017-08-22  6:18               ` Evgeny Sinelnikov
2017-08-22  6:59                 ` Alexander Bokovoy [this message]
2017-09-12 13:39                   ` Evgeny Sinelnikov
2017-09-12 21:09                     ` Alexander Bokovoy
2017-09-12 21:22                       ` Dmitry V. Levin
2017-09-12 21:45                         ` Alexander Bokovoy
2017-09-13  0:24                       ` Evgeny Sinelnikov
2017-09-13  5:51                         ` Alexander Bokovoy

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='CAG0OwAErhkWL6yLsJVTtdUyBG_E8ktSj=rrmZpE+mnKaqGAvAQ@mail.gmail.com' \
    --to=ab@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