Bug#748354: keyutils: key timeout have reset after udev starts

2014-05-26 Thread Christian Kastner
On 2014-05-26 13:27, Dmitriy Matrosov wrote: > On 05/25/2014 11:22 PM, Christian Kastner wrote: >> 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 rese

Bug#748354: keyutils: key timeout have reset after udev starts

2014-05-26 Thread Dmitriy Matrosov
On 05/25/2014 11:22 PM, Christian Kastner wrote: 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. Hi, Christian. Here is the result: From initramfs

Bug#748354: keyutils: key timeout have reset after udev starts

2014-05-25 Thread Christian Kastner
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 que

Bug#748354: keyutils: key timeout have reset after udev starts

2014-05-16 Thread Dmitriy Matrosov
Package: keyutils Version: 1.5.6-1 Severity: normal Tags: security Hi. Key timeout set in initramfs had reset after udev init script run. How to reproduce: 1. Add key and set timeout on it in initramfs. E.g. use an encrypted root and open it using decrypt_keyctl script from cryptsetup package (t