From: Evgeny Sinelnikov <sin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Обновление до krb5-1.15.1
Date: Tue, 22 Aug 2017 10:18:22 +0400
Message-ID: <CAK42-GpQG_Mf+axoZ4rda0X+Ri_-d0eUBW-CbUOGqd3A=ofvRw@mail.gmail.com> (raw)
In-Reply-To: <CAG0OwAFzBhApznEt7aZrw6HHDjV0ccnsLoh1EWV0qjt_z7nYow@mail.gmail.com>
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)
[builder@localhost gssapi]$ diff -u 1 2
--- 1 2017-08-22 06:07:23.807627066 +0000
+++ 2 2017-08-22 06:12:42.311749847 +0000
@@ -5,14 +5,14 @@
'HISTSIZE': '999',
'HOME': '/usr/src',
'HOSTNAME': 'localhost.localdomain',
- 'KPROPD_PORT': '61003',
- 'KPROP_PORT': '61003',
- 'KRB5CCNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/ccache',
- 'KRB5RCACHEDIR': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir',
- 'KRB5_CLIENT_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/client_keytab',
- 'KRB5_CONFIG':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/krb5.conf',
- 'KRB5_KDC_PROFILE':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/kdc.conf',
- 'KRB5_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab',
+ 'KPROPD_PORT': '62003',
+ 'KPROP_PORT': '62003',
+ 'KRB5CCNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/ccache',
+ 'KRB5RCACHEDIR': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2',
+ 'KRB5_CLIENT_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/client_keytab',
+ 'KRB5_CONFIG':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/krb5.conf',
+ 'KRB5_KDC_PROFILE':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/kdc.conf',
+ 'KRB5_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab',
'LC_ALL': 'C',
'LD_LIBRARY_PATH': '/usr/src/RPM/BUILD/krb5-1.15.1/src/./lib',
'LESS': '-MM',
[builder@localhost gssapi]$ diff -u 3 4
--- 3 2017-08-22 06:14:12.595500988 +0000
+++ 4 2017-08-22 06:14:30.855450647 +0000
@@ -5,14 +5,14 @@
'HISTSIZE': '999',
'HOME': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir',
'HOSTNAME': 'localhost.localdomain',
- 'KPROPD_PORT': '61003',
- 'KPROP_PORT': '61003',
+ 'KPROPD_PORT': '62003',
+ 'KPROP_PORT': '62003',
'KRB5CCNAME':
'DIR:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/cc',
- 'KRB5RCACHEDIR': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir',
- 'KRB5_CLIENT_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/client_keytab',
- 'KRB5_CONFIG':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/krb5.conf',
- 'KRB5_KDC_PROFILE':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/kdc.conf',
- 'KRB5_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab',
+ 'KRB5RCACHEDIR': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2',
+ 'KRB5_CLIENT_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/client_keytab',
+ 'KRB5_CONFIG':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/krb5.conf',
+ 'KRB5_KDC_PROFILE':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/kdc.conf',
+ 'KRB5_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab',
'LC_ALL': 'C',
'LD_LIBRARY_PATH': '/usr/src/RPM/BUILD/krb5-1.15.1/src/./lib',
'LESS': '-MM',
[builder@localhost gssapi]$ diff -u 12 34
--- 12 2017-08-22 06:08:51.778384891 +0000
+++ 34 2017-08-22 06:09:20.668305341 +0000
@@ -3,11 +3,11 @@
'G_FILENAME_ENCODING': 'iso8859-1',
'HISTFILESIZE': '9999',
'HISTSIZE': '999',
- 'HOME': '/usr/src',
+ 'HOME': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir',
'HOSTNAME': 'localhost.localdomain',
'KPROPD_PORT': '61003',
'KPROP_PORT': '61003',
- 'KRB5CCNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/ccache',
+ 'KRB5CCNAME':
'DIR:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/cc',
'KRB5RCACHEDIR': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir',
'KRB5_CLIENT_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/client_keytab',
'KRB5_CONFIG':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/krb5.conf',
@@ -36,11 +36,11 @@
'G_FILENAME_ENCODING': 'iso8859-1',
'HISTFILESIZE': '9999',
'HISTSIZE': '999',
- 'HOME': '/usr/src',
+ 'HOME': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir',
'HOSTNAME': 'localhost.localdomain',
'KPROPD_PORT': '62003',
'KPROP_PORT': '62003',
- 'KRB5CCNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/ccache',
+ 'KRB5CCNAME':
'DIR:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/cc',
'KRB5RCACHEDIR': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2',
'KRB5_CLIENT_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/client_keytab',
'KRB5_CONFIG':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/krb5.conf',
Полный вывод:
[builder@localhost gssapi]$ PYTHONPATH=../../util VALGRIND="" python
./t_ccselect.py -v
*** [1] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/dbutil/kdb5_util create -W
-s -P master
Loading random data
Initializing database '/var/lib/kerberos/krb5kdc/principal' for realm
'KRBTEST.COM',
master key name 'K/M@KRBTEST.COM'
*** [1] Completed with return code 0
*** [2] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local addprinc
-randkey host/localhost.localdomain@KRBTEST.COM
*** [2] Completed with return code 0
*** [3] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local ktadd -k
/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab
-norandkey host/localhost.localdomain@KRBTEST.COM
Entry for principal host/localhost.localdomain@KRBTEST.COM with kvno
1, encryption type aes256-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab.
Entry for principal host/localhost.localdomain@KRBTEST.COM with kvno
1, encryption type aes128-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab.
*** [3] Completed with return code 0
*** [4] Starting: /usr/src/RPM/BUILD/krb5-1.15.1/src/kdc/krb5kdc -n
krb5kdc: starting...
*** [4] Started with pid 31664
*** [5] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/dbutil/kdb5_util create -W
-s -P master
Loading random data
Initializing database '/var/lib/kerberos/krb5kdc/principal' for realm
'KRBTEST2.COM',
master key name 'K/M@KRBTEST2.COM'
*** [5] Completed with return code 0
*** [6] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local addprinc
-randkey host/localhost.localdomain@KRBTEST2.COM
*** [6] Completed with return code 0
*** [7] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local ktadd -k
/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab
-norandkey host/localhost.localdomain@KRBTEST2.COM
Entry for principal host/localhost.localdomain@KRBTEST2.COM with kvno
1, encryption type aes256-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab.
Entry for principal host/localhost.localdomain@KRBTEST2.COM with kvno
1, encryption type aes128-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab.
*** [7] Completed with return code 0
*** [8] Starting: /usr/src/RPM/BUILD/krb5-1.15.1/src/kdc/krb5kdc -n
krb5kdc: starting...
*** [8] Started with pid 31668
{'BASH_ENV': '/usr/src/.bashrc',
'G_BROKEN_FILENAMES': '1',
'G_FILENAME_ENCODING': 'iso8859-1',
'HISTFILESIZE': '9999',
'HISTSIZE': '999',
'HOME': '/usr/src',
'HOSTNAME': 'localhost.localdomain',
'KPROPD_PORT': '61003',
'KPROP_PORT': '61003',
'KRB5CCNAME': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/ccache',
'KRB5RCACHEDIR': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir',
'KRB5_CLIENT_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/client_keytab',
'KRB5_CONFIG':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/krb5.conf',
'KRB5_KDC_PROFILE':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/kdc.conf',
'KRB5_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab',
'LC_ALL': 'C',
'LD_LIBRARY_PATH': '/usr/src/RPM/BUILD/krb5-1.15.1/src/./lib',
'LESS': '-MM',
'LESSKEY': '/etc/.less',
'LESSOPEN': '|/usr/share/less/lesspipe.sh %s',
'LOGNAME': 'builder',
'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:',
'MAIL': '/var/mail/builder',
'OLDPWD': '/usr/src/RPM/BUILD/krb5-1.15.1',
'PATH': '/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games',
'PWD': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi',
'PYTHONPATH': '../../util',
'SHLVL': '1',
'TERM': 'xterm-256color',
'TMPDIR': '/usr/src/tmp',
'USER': 'builder',
'VALGRIND': '',
'_': '/usr/bin/python'}
{'BASH_ENV': '/usr/src/.bashrc',
'G_BROKEN_FILENAMES': '1',
'G_FILENAME_ENCODING': 'iso8859-1',
'HISTFILESIZE': '9999',
'HISTSIZE': '999',
'HOME': '/usr/src',
'HOSTNAME': 'localhost.localdomain',
'KPROPD_PORT': '62003',
'KPROP_PORT': '62003',
'KRB5CCNAME': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/ccache',
'KRB5RCACHEDIR': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2',
'KRB5_CLIENT_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/client_keytab',
'KRB5_CONFIG':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/krb5.conf',
'KRB5_KDC_PROFILE':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/kdc.conf',
'KRB5_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab',
'LC_ALL': 'C',
'LD_LIBRARY_PATH': '/usr/src/RPM/BUILD/krb5-1.15.1/src/./lib',
'LESS': '-MM',
'LESSKEY': '/etc/.less',
'LESSOPEN': '|/usr/share/less/lesspipe.sh %s',
'LOGNAME': 'builder',
'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:',
'MAIL': '/var/mail/builder',
'OLDPWD': '/usr/src/RPM/BUILD/krb5-1.15.1',
'PATH': '/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games',
'PWD': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi',
'PYTHONPATH': '../../util',
'SHLVL': '1',
'TERM': 'xterm-256color',
'TMPDIR': '/usr/src/tmp',
'USER': 'builder',
'VALGRIND': '',
'_': '/usr/bin/python'}
*** [9] Executing: ./t_ccselect p:host/localhost.localdomain@KRBTEST.COM -
gss_acquire_cred: Unspecified GSS failure. Minor code may provide
more information
gss_acquire_cred: No Kerberos credentials available (default cache:
/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/ccache)
*** [9] Completed with return code 1
*** [10] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local addprinc
-pw alice31660 alice@KRBTEST.COM
*** [10] Completed with return code 0
*** [11] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local addprinc
-pw bob31660 bob@KRBTEST.COM
*** [11] Completed with return code 0
*** [12] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local addprinc
-pw zaphod31660 zaphod@KRBTEST2.COM
*** [12] Completed with return code 0
*** [13] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local addprinc
-randkey host/localhost
*** [13] Completed with return code 0
*** [14] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local addprinc
-randkey host/localhost
*** [14] Completed with return code 0
*** [15] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local addprinc
-randkey host/foo.krbtest.com
*** [15] Completed with return code 0
*** [16] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local addprinc
-randkey host/foo.krbtest2.com
*** [16] Completed with return code 0
*** [17] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local ktadd -k
/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab
-norandkey host/localhost
Entry for principal host/localhost with kvno 1, encryption type
aes256-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab.
Entry for principal host/localhost with kvno 1, encryption type
aes128-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab.
*** [17] Completed with return code 0
*** [18] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local ktadd -k
/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab
-norandkey host/localhost
Entry for principal host/localhost with kvno 1, encryption type
aes256-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab.
Entry for principal host/localhost with kvno 1, encryption type
aes128-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab.
*** [18] Completed with return code 0
*** [19] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local ktadd -k
/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab
-norandkey host/foo.krbtest.com
Entry for principal host/foo.krbtest.com with kvno 1, encryption type
aes256-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab.
Entry for principal host/foo.krbtest.com with kvno 1, encryption type
aes128-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab.
*** [19] Completed with return code 0
*** [20] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/kadmin/cli/kadmin.local ktadd -k
/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab
-norandkey host/foo.krbtest2.com
Entry for principal host/foo.krbtest2.com with kvno 1, encryption type
aes256-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab.
Entry for principal host/foo.krbtest2.com with kvno 1, encryption type
aes128-cts-hmac-sha1-96 added to keytab
WRFILE:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab.
*** [20] Completed with return code 0
*** [21] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/clients/kinit/kinit
alice@KRBTEST.COM
Password for alice@KRBTEST.COM:
*** [21] Completed with return code 0
*** [22] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/clients/kinit/kinit
zaphod@KRBTEST2.COM
Password for zaphod@KRBTEST2.COM:
*** [22] Completed with return code 0
{'BASH_ENV': '/usr/src/.bashrc',
'G_BROKEN_FILENAMES': '1',
'G_FILENAME_ENCODING': 'iso8859-1',
'HISTFILESIZE': '9999',
'HISTSIZE': '999',
'HOME': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir',
'HOSTNAME': 'localhost.localdomain',
'KPROPD_PORT': '61003',
'KPROP_PORT': '61003',
'KRB5CCNAME': 'DIR:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/cc',
'KRB5RCACHEDIR': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir',
'KRB5_CLIENT_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/client_keytab',
'KRB5_CONFIG':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/krb5.conf',
'KRB5_KDC_PROFILE':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/kdc.conf',
'KRB5_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/keytab',
'LC_ALL': 'C',
'LD_LIBRARY_PATH': '/usr/src/RPM/BUILD/krb5-1.15.1/src/./lib',
'LESS': '-MM',
'LESSKEY': '/etc/.less',
'LESSOPEN': '|/usr/share/less/lesspipe.sh %s',
'LOGNAME': 'builder',
'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:',
'MAIL': '/var/mail/builder',
'OLDPWD': '/usr/src/RPM/BUILD/krb5-1.15.1',
'PATH': '/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games',
'PWD': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi',
'PYTHONPATH': '../../util',
'SHLVL': '1',
'TERM': 'xterm-256color',
'TMPDIR': '/usr/src/tmp',
'USER': 'builder',
'VALGRIND': '',
'_': '/usr/bin/python'}
{'BASH_ENV': '/usr/src/.bashrc',
'G_BROKEN_FILENAMES': '1',
'G_FILENAME_ENCODING': 'iso8859-1',
'HISTFILESIZE': '9999',
'HISTSIZE': '999',
'HOME': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir',
'HOSTNAME': 'localhost.localdomain',
'KPROPD_PORT': '62003',
'KPROP_PORT': '62003',
'KRB5CCNAME': 'DIR:/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/cc',
'KRB5RCACHEDIR': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2',
'KRB5_CLIENT_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/client_keytab',
'KRB5_CONFIG':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/krb5.conf',
'KRB5_KDC_PROFILE':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/kdc.conf',
'KRB5_KTNAME':
'/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi/testdir/r2/keytab',
'LC_ALL': 'C',
'LD_LIBRARY_PATH': '/usr/src/RPM/BUILD/krb5-1.15.1/src/./lib',
'LESS': '-MM',
'LESSKEY': '/etc/.less',
'LESSOPEN': '|/usr/share/less/lesspipe.sh %s',
'LOGNAME': 'builder',
'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:',
'MAIL': '/var/mail/builder',
'OLDPWD': '/usr/src/RPM/BUILD/krb5-1.15.1',
'PATH': '/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games',
'PWD': '/usr/src/RPM/BUILD/krb5-1.15.1/src/tests/gssapi',
'PYTHONPATH': '../../util',
'SHLVL': '1',
'TERM': 'xterm-256color',
'TMPDIR': '/usr/src/tmp',
'USER': 'builder',
'VALGRIND': '',
'_': '/usr/bin/python'}
*** [23] Executing: ./t_ccselect
p:host/localhost.localdomain@KRBTEST.COM p:alice@KRBTEST.COM
alice@KRBTEST.COM
*** [23] Completed with return code 0
*** [24] Executing: ./t_ccselect
p:host/localhost.localdomain@KRBTEST2.COM p:zaphod@KRBTEST2.COM
zaphod@KRBTEST2.COM
*** [24] Completed with return code 0
*** [25] Executing: ./t_ccselect p:host/localhost.localdomain@KRBTEST.COM
alice@KRBTEST.COM
*** [25] Completed with return code 0
*** [26] Executing: ./t_ccselect p:host/localhost.localdomain@KRBTEST.COM -
alice@KRBTEST.COM
*** [26] Completed with return code 0
*** [27] Executing: ./t_ccselect p:host/localhost.localdomain@KRBTEST2.COM
zaphod@KRBTEST2.COM
*** [27] Completed with return code 0
*** [28] Executing: ./t_ccselect p:host/localhost.localdomain@KRBTEST2.COM -
zaphod@KRBTEST2.COM
*** [28] Completed with return code 0
*** [29] Executing: ./t_ccselect p:host/localhost.localdomain@
zaphod@KRBTEST2.COM
*** [29] Completed with return code 0
*** [30] Executing: ./t_ccselect h:host@foo.krbtest2.com
gss_init_sec_context: Unspecified GSS failure. Minor code may provide
more information
gss_init_sec_context: Cannot find KDC for realm "KRBTEST2.COM"
*** [30] Completed with return code 1
*** [31] Executing: ./t_ccselect h:host@foo.krbtest.com
alice@KRBTEST.COM
*** [31] Completed with return code 0
*** [32] Executing: ./t_ccselect h:host@foo.krbtest2.com
zaphod@KRBTEST2.COM
*** [32] Completed with return code 0
*** [33] Executing: ./t_ccselect h:host@localhost
gss_accept_sec_context: Unspecified GSS failure. Minor code may
provide more information
gss_accept_sec_context: Request ticket server
host/localhost.localdomain@KRBTEST2.COM not found in keytab (ticket
kvno 1)
*** [33] Completed with return code 1
*** Failure: ./t_ccselect failed with code 1.
*** Last command (#33): ./t_ccselect h:host@localhost
*** Output of last command:
gss_accept_sec_context: Unspecified GSS failure. Minor code may
provide more information
gss_accept_sec_context: Request ticket server
host/localhost.localdomain@KRBTEST2.COM not found in keytab (ticket
kvno 1)
Use --debug=NUM to run a command under a debugger. Use
--stop-after=NUM to stop after a daemon is started in order to
attach to it with a debugger. Use --help to see other options.
--
Sin (Sinelnikov Evgeny)
next prev parent reply other threads:[~2017-08-22 6:18 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 [this message]
2017-08-22 6:59 ` Alexander Bokovoy
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='CAK42-GpQG_Mf+axoZ4rda0X+Ri_-d0eUBW-CbUOGqd3A=ofvRw@mail.gmail.com' \
--to=sin@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