Modern 2.6 kernels - Notification for changing hostname from proc/sys/kernel/hostname ?

From: Shawn Starr
Date: Mon May 19 2008 - 13:23:19 EST


Hello,

I was looking at utsname_sysctl.c (if this is the right place) and noticed
there doesn't seem to be any notification via the connector bus to tell
userspace the hostname has changed? Is this correct?

if so, would not not make sense to add such event triggers so that things like
KDE would not have to poll to determine if the hostname changes and instead
had D-BUS tell userspace the hostname changed?

Perhaps this could be applied to other values (where applicable)
in /proc/sys/kernel?

Or is this all going to go into sysfs eventually (where some of this really
might belong)

Thoughts?

Thanks,
Shawn.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/