On 05/29/2013 11:43 PM, Michael Biebl wrote:
If you disable hal support on non-Linux, what effect does that have?
a) You will see no hardware info about that machine in Spacewalk. This
would be very sad, but can be somehow survived.
b) we will be unable to see info about computer itself. I mean:
computer_obj = bus.get_object("org.freedesktop.Hal",
"/org/freedesktop/Hal/devices/computer")
computer = dbus.Interface(computer_obj, "org.freedesktop.Hal.Device")
Even with gudev I'm not able to retrieve all information which HAL
provides. With gudev, we at the end settle up with:
uname = os.uname()
result = {
'system.kernel.name': uname[0],
'system.kernel.version': uname[2],
'system.kernel.machine': uname[4],
}
Which is just fraction of hal information, but sufficient for us.
Can I get such information on non-linux platforms?
Does rhn-client-tools even work on non-Linux?
It should.
Reading the description of the package, I'm wondering what this software
is supposed to do on e.g. kfreebsd for which no *BSD port exists.
This SW will register your machine to Spacewalk (which is system
management tool aimed to manage thousands of machines). As long as
your machine use deb or rpm packages (or solaris package system) it can
upgrade your system or install new packages there. It really does not
care if it is RHEL, SuSe, Ubuntu, Debian or what.
Today I talked to current rhn-client-tools upstream maintainer and we
come to some solution.
We will together deliver code, that will work even without HAL (ETA is
aprox max one month). But it will be degradation of quality on non-linux
systems.
Mirek
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org