Hi Dimitri,

On 2014-05-16 16:10, Dmitriy Matrosov wrote:
> Key timeout set in initramfs had reset after udev init script run

Reading your report, that sounds like a bug in the kernel, or maybe in udev.

The expiry mechanism is entirely within the kernel, keyctl is just an
interface to it. The question is: what is causing the expiry mechanism
to reset?

Setting up a test system as you described it would take a while for me,
so if you still have access to that system, I'd appreciate it if you
could check the contents of /proc/keys right after boot. The fourth
column should list the remaining time until the key expires, or "perm"
if the expiry has been reset.

Note that you have to check this as the user who added the key! If this
was not root, then you won't see the key (metadata) listed in there, not
even as root.

Christian


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to