On Fri, 2020-05-15 at 21:03 +0000, Kayaalp, Mehmet wrote: > > On May 15, 2020, at 4:10 PM, James Bottomley <James.Bottomley@hanse > > npartnership.com> wrote: > > > > I think that means the solution is not to run the smoke test under > > sudo > > but to do sudo -s and then run it. > > > > James > > How about "sudo -i": > > https://askubuntu.com/questions/376199/sudo-su-vs-sudo-i-vs-sudo-bin- > bash-when-does-it-matter-which-is-used Actually, no that doesn't work either: jejb@testdeb> sudo -i keyctl list @s 1 key in keyring: 1041514063: ---lswrv 1000 65534 keyring: _uid.1000 I suspect this might be a very subtle bug to do with when you get a new session keyring. James