Re: Fixing cache pollution in the Kerberos test suite

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jacob Champion <pchampion@vmware.com>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, "sfrost@snowman.net" <sfrost@snowman.net>
Date: 2021-01-25T19:58:16Z
Lists: pgsql-hackers
Jacob Champion <pchampion@vmware.com> writes:
> On Mon, 2021-01-25 at 14:36 -0500, Tom Lane wrote:
>> Also, it looks like the test causes /tmp/krb5cc_<uid> to get
>> created or updated despite this setting.

> Huh. I wonder, if you run `klist -A` after running the tests, do you
> get anything more interesting?

"klist -A" prints nothing.

> I am seeing a few bugs on Red Hat's
> Bugzilla that center around strange KCM behavior [1]. But we're now
> well outside my area of competence.

Mine too.  But I verified that the /tmp file is no longer modified
with the adjusted script, so one way or the other this is better.

			regards, tom lane



Commits

  1. Don't clobber the calling user's credentials cache in Kerberos test.