dkms issue with "ps -o lstart" under SLES9

Matt Domsch Matt_Domsch at dell.com
Fri Aug 24 21:31:10 CDT 2007


On Tue, Aug 21, 2007 at 01:01:48PM -0400, Silacci, Lucas wrote:
> As a follow-up to my previous post, I understand that the root issue
> seems to be a problem with SLES (lstart not staying constant), but I'm
> curious as to why the timestamp check is necessary to begin with.
> 
> Why not just use the module name/version and process id of the rpm
> process?

When that was written, we wanted to be sure we were in the same RPM
transaction doing the safe upgrade.  I personally always hated the
temp file, but it was all we could come up with at the time, and to
make it somewhat more difficult to be fooled, we used both the pid and
the lstart time of the parent.  That it fails on SLES9 is a new bug,
so we'll have to come up with something else. I'm open to advice.

(pid space isn't all that large, hence wanting to add something more
likely to be unique: pid + lstart was thought to have the right property).

Thanks,
Matt


-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux



More information about the DKMS-devel mailing list