[PATCH 0/3] afs: Fix dynamic root interaction with failing DNS lookups

markus.suvanto at gmail.com markus.suvanto at gmail.com
Tue Dec 12 01:57:04 PST 2023


> > masu at t470 ~ % grep rxrpc /proc/keys
> > 23e16cda I--Q---     1   3d 3b010000  1001   100 rxrpc     afs at movesole.com: ka
> 
> Okay, I see the persistent keyring disappear, but I don't see a key linked
> into my session keyring vanish.

Full log of my commands...

masu at t470 ~ % klist 
klist: Credentials cache keyring 'persistent:1001:1001' not found
masu at t470 ~ % keyctl show   
Session Keyring
 388545754 --alswrv   1001 65534  keyring: _uid_ses.1001
 946177719 --alswrv   1001 65534   \_ keyring: _uid.1001
masu at t470 ~ % grep rxrpc /proc/keys
masu at t470 ~ % 
masu at t470 ~ % 
masu at t470 ~ % 
masu at t470 ~ % kinit masu at MOVESOLE.COM
Password for masu at MOVESOLE.COM: 
masu at t470 ~ % aklog-kafs-kdf movesole.com MOVESOLE.COM
masu at t470 ~ % 
masu at t470 ~ % 
masu at t470 ~ % grep rxrpc /proc/keys

2600d2d5 I--Q---     1   3d 3b010000  1001   100 rxrpc     afs at movesole.com: ka
masu at t470 ~ % klist 
Ticket cache: KEYRING:persistent:1001:1001
Default principal: masu at MOVESOLE.COM

Valid starting       Expires              Service principal
12.12.2023 11.52.47  16.12.2023 11.52.40  afs/movesole.com at MOVESOLE.COM
	renew until 26.12.2023 11.52.40
12.12.2023 11.52.43  16.12.2023 11.52.40  krbtgt/MOVESOLE.COM at MOVESOLE.COM
	renew until 26.12.2023 11.52.40
masu at t470 ~ % keyctl show            
Session Keyring
 388545754 --alswrv   1001 65534  keyring: _uid_ses.1001
 946177719 --alswrv   1001 65534   \_ keyring: _uid.1001
 637588181 --als-rv   1001   100   \_ rxrpc: afs at movesole.com
masu at t470 ~ % 
masu at t470 ~ % 
masu at t470 ~ % 
masu at t470 ~ % 
masu at t470 ~ % ls /afs/notfound
ls: tiedostoa '/afs/notfound' ei voi käsitellä: Tiedostoa tai hakemistoa ei ole
masu at t470 ~ % 
masu at t470 ~ % 
masu at t470 ~ % 
masu at t470 ~ % klist
klist: Credentials cache keyring 'persistent:1001:1001' not found
masu at t470 ~ % grep rxrpc /proc/keys

masu at t470 ~ % keyctl show   
Session Keyring
1025218481 --alswrv   1001 65534  keyring: _uid_ses.1001
 322736164 --alswrv   1001 65534   \_ keyring: _uid.1001




More information about the linux-afs mailing list