[systemd-devel] [PATCH v2 1/2] hostnamed: expose KernelVersion on the bus

Djalal Harouni tixxdz at opendz.org
Thu Apr 24 14:34:05 PDT 2014


On Thu, Apr 24, 2014 at 08:53:27AM +0200, Lennart Poettering wrote:
> On Wed, 23.04.14 23:03, Djalal Harouni (tixxdz at opendz.org) wrote:
> 
> > This is needed to fix bug:
> > 
> > https://bugs.freedesktop.org/show_bug.cgi?id=76498
> 
> Hmm, do we really want to expose the version here? I fail to see the
> general usefulness of this value. The release is a lot more useful and
> we already expose that, so do we really want the version here?
Speaking about the version it shows if this is an SMP kernel, and if the
kernel is preemtible, IOW build with CONFIG_PREEMPT

Now, how many preemtible kernels are running systemd?

And by coincidence, here we are speaking about systemd-analyze :-)

Not to mention the build time stamp that will tell you if two same
kernels differ... used in the embedded world.

> I understand that the plot currently shows the value, but maybe the
> right choice is to simply drop it there? Showing this sounds mostly like
> folklore to me...
Sure, David posted a nice video of it, during the last systemd hackfest :-)

Ok, if you are against it, I'll just update the patch and drop it,
I didn't bother, just fix the bug and keep the old behaviour. The code
that adds this is really small.

-- 
Djalal Harouni
http://opendz.org


More information about the systemd-devel mailing list