sysutils/hal doesnt work on master/i386
I've started devd and dbus and the daemons are running. Then I moved to
enable hal. It compiles fine but everytime I try to start hald. I see the
following events before the hald daemon exits _without_ an error in
im executing hald --verbose=yes and the last message on the console is
"becoming a daemon" but when I check ps, hal is definately not running.
Then I check dmesg and I see the following text:
md7: Malloc disk
dscheck(acd0): b_bcount 3072 is not on sector boundary (ssize 2048)
Couple of things to note: 1) everytime hald is run, the system creates a
new md device (md0, md1, md2, md3 etc etc)
2) The dscheck message appears many times and the b_bcount number is
different every time, but sometimes it repeats.
Whats the next procedure I should do to get this thing working?
#1 Updated by ahuete.devel almost 4 years ago
That's kinda a hack on the md(4) code. The latest md device will spawn
a new one on every open(2) call. Thus, an open() on md0 will spawn
md1, open() on md1 will spawn md2 etc...
I guess hald is issuing an open on every device, including the latest
md. So you could just disable it from the kernel config file and
recompile as a workaround.
#2 Updated by elekktretterr almost 4 years ago
> Hi Petr,
> That's kinda a hack on the md(4) code. The latest md device will spawn
> a new one on every open(2) call. Thus, an open() on md0 will spawn
> md1, open() on md1 will spawn md2 etc...
> I guess hald is issuing an open on every device, including the latest
> md. So you could just disable it from the kernel config file and
> recompile as a workaround.
Hi Antonio and all,
Ive managed to get more debug info:
hald_dbus.c5845: dbus_bus_request_name(); Connection ":1.11" is not
allowed to owne the service "org.freedesktop.Hal" due to security policies
in the configuration file.
Any idead which configuration file that is and what has to be changed?