[devel] Обновление до krb5-1.15.1

Evgeny Sinelnikov sin на altlinux.org
Вт Авг 22 09:18:22 MSK 2017


21 августа 2017 г., 8:53 пользователь Alexander Bokovoy
<ab at altlinux.org> написал:
> 2017-08-21 0:27 GMT+03:00 Evgeny Sinelnikov <sin at altlinux.org>:
>
>>> Можешь добавить дамп окружений до исполнения этого теста?
>>
>> Мне доступен chroot в hasher'е. Могу. Но что есть "дамп окружений" и
>> как его получить ?
> r1.env и r2.env в t_ccselect.py, это обычные хэши.
> import pprint
> pprint.pprint(r1.env)
>

Внёс такую правку:

[builder at 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 at 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 at 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 at 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 at 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 at 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 at 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 at KRBTEST.COM
Entry for principal host/localhost.localdomain at 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 at 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 at 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 at 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 at KRBTEST2.COM
Entry for principal host/localhost.localdomain at 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 at 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 at 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 at 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 at 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 at 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 at KRBTEST.COM
Password for alice at KRBTEST.COM:
*** [21] Completed with return code 0
*** [22] Executing:
/usr/src/RPM/BUILD/krb5-1.15.1/src/clients/kinit/kinit
zaphod at KRBTEST2.COM
Password for zaphod at 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 at KRBTEST.COM p:alice at KRBTEST.COM
alice at KRBTEST.COM
*** [23] Completed with return code 0
*** [24] Executing: ./t_ccselect
p:host/localhost.localdomain at KRBTEST2.COM p:zaphod at KRBTEST2.COM
zaphod at KRBTEST2.COM
*** [24] Completed with return code 0
*** [25] Executing: ./t_ccselect p:host/localhost.localdomain at KRBTEST.COM
alice at KRBTEST.COM
*** [25] Completed with return code 0
*** [26] Executing: ./t_ccselect p:host/localhost.localdomain at KRBTEST.COM -
alice at KRBTEST.COM
*** [26] Completed with return code 0
*** [27] Executing: ./t_ccselect p:host/localhost.localdomain at KRBTEST2.COM
zaphod at KRBTEST2.COM
*** [27] Completed with return code 0
*** [28] Executing: ./t_ccselect p:host/localhost.localdomain at KRBTEST2.COM -
zaphod at KRBTEST2.COM
*** [28] Completed with return code 0
*** [29] Executing: ./t_ccselect p:host/localhost.localdomain@
zaphod at KRBTEST2.COM
*** [29] Completed with return code 0
*** [30] Executing: ./t_ccselect h:host at 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 at foo.krbtest.com
alice at KRBTEST.COM
*** [31] Completed with return code 0
*** [32] Executing: ./t_ccselect h:host at foo.krbtest2.com
zaphod at KRBTEST2.COM
*** [32] Completed with return code 0
*** [33] Executing: ./t_ccselect h:host at localhost
gss_accept_sec_context: Unspecified GSS failure.  Minor code may
provide more information
gss_accept_sec_context: Request ticket server
host/localhost.localdomain at 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 at 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 at 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)


Подробная информация о списке рассылки Devel