Mailinglist Archive: opensuse-bugs (4751 mails)

< Previous Next >
[Bug 1045886] ecryptfs problems with recent Tumbleweed
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 07 Jul 2017 16:44:35 +0000
  • Message-id: <bug-1045886-21960-LZUo4qkWEg@http.bugzilla.novell.com/>
http://bugzilla.novell.com/show_bug.cgi?id=1045886
http://bugzilla.novell.com/show_bug.cgi?id=1045886#c30

--- Comment #30 from Andrei Borzenkov <arvidjaar@xxxxxxxxx> ---
(In reply to Franck Bui from comment #27)

I've run the same test and the 2 users get a differ session keyring...

How did you log in BTW ? Through different ttys ?


I mentioned several times that you need to "enter system" via the same
top-level service. In this case sshd. Below 22222 is TW VM port:

bor@bor-Latitude-E5450:~$ ssh localhost -p 22222 -l bor
Password:
Last login: Fri Jul 7 19:36:49 2017 from console
Have a lot of fun...
bor@tw:~> keyctl add user foo "I am bor" @s
866499585
bor@tw:~> keyctl print 866499585
I am bor
bor@tw:~> keyctl show -x
Session Keyring
0x1356a15e --alswrv 0 0 keyring: _ses
0x3b003997 ----s-rv 0 0 \_ user: invocation_id
0x33a5bc01 --alswrv 1000 100 \_ user: foo
bor@tw:~> id -a
uid=1000(bor) gid=100(users) groups=100(users)
bor@tw:~> cat /proc/keys
1356a15e I--Q--- 17 perm 3f030000 0 0 keyring _ses: 2
33a5bc01 I--Q--- 1 perm 3f010000 1000 100 user foo: 8
3851ed26 I--Q--- 41 perm 3f030000 1000 100 keyring _ses: 1
3b003997 I--Q--- 1 perm 0b0b0000 0 0 user invocation_id: 16
bor@tw:~>



bor@bor-Latitude-E5450:~$ ssh localhost -p 22222 -l test
Password:
Last login: Fri Jul 7 19:28:08 2017 from ::1
Have a lot of fun...
test@tw:~> keyctl print 866499585
I am bor
test@tw:~> keyctl show -x
Session Keyring
0x1356a15e --alswrv 0 0 keyring: _ses
0x3b003997 ----s-rv 0 0 \_ user: invocation_id
0x33a5bc01 --alswrv 1000 100 \_ user: foo
test@tw:~> id -a
uid=1001(test) gid=100(users) groups=100(users)
test@tw:~> cat /proc/keys
1356a15e I--Q--- 24 perm 3f030000 0 0 keyring _ses: 2
2a571e17 I--Q--- 4 perm 3f030000 1001 100 keyring _ses: 1
33a5bc01 I--Q--- 1 perm 3f010000 1000 100 user foo: 8
3b003997 I--Q--- 1 perm 0b0b0000 0 0 user invocation_id: 16
test@tw:~>


I do not know where additional _ses keys come from (3851ed26 and 2a571e17).

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >