I can't reproduce this as yet. With a plain, fresh pull from Linus' tree on a
rhel5.3 system,
I get the following. Can you confirm that in your case, with the commands
below, you do
not see the last line in the 'keyctl show' output?
with user namespaces:
[r...@linuz11 ~]# keyctl add user mykey stuff @u
743079327
[r...@linuz11 ~]# keyctl list @u
1 key in keyring:
743079327: --alswrv 0 0 user: mykey
[r...@linuz11 ~]# keyctl show
Session Keyring
-3 --alswrv 0 0 keyring: _ses
713825872 --alswrv 0 -1 \_ keyring: _uid.0
743079327 --alswrv 0 0 \_ user: mykey
[r...@linuz11 ~]# uname -a
Linux linuz11.watson.ibm.com 2.6.31-rc3-00157-gaea1f79 #582 SMP Wed Jul 22
13:14:37 EDT 2009 s390x s390x s390x GNU/Linux
without user namespaces:
[r...@linuz11 ~]# keyctl add user mykey stuff @u
113989424
[r...@linuz11 ~]# keyctl list @u
1 key in keyring:
113989424: --alswrv 0 0 user: mykey
[r...@linuz11 ~]# keyctl show
Session Keyring
-3 --alswrv 0 0 keyring: _ses
653741632 --alswrv 0 -1 \_ keyring: _uid.0
113989424 --alswrv 0 0 \_ user: mykey
--
unable to show the contents of my kernel keyring
https://bugs.launchpad.net/bugs/400484
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs