Linux ABI/Emulation for DBUS, HAL

Juris Kaminskis juris.kaminskis at gmail.com
Sat Jan 4 22:20:46 UTC 2014


2013/12/12 Fernando Apesteguía <fernando.apesteguia at gmail.com>
>
>
> On Wed, Dec 11, 2013 at 9:52 PM, Juris Kaminskis <
> juris.kaminskis at gmail.com> wrote:
>
>> now I am stuck at following:
>>
>> root@:/compat/linux #  usr/sbin/pcscd -df
>> 00000000 pcscdaemon.c:280:main() pcscd set to foreground with debug send
>> to
>> stderr
>> 00000920 pcscdaemon.c:498:main() pcsc-lite 1.4.102 daemon ready.
>> 00363117 hotplug_libhal.c:460:HPRegisterForHotplugEvents() error:
>> dbus_bus_get: org.freedesktop.DBus.Error.FileNotFound: Failed to connect
>> to
>> socket /var/run/dbus/system_bus_socket: No such file or directory
>> 00000199 pcscdaemon.c:517:main() SVCServiceRunLoop returned
>> 00000129 pcscdaemon.c:523:at_exit() cleaning /var/run
>> root@:/compat/linux #
>>
>>
>> do you know what could be a problem?
>
>
it seems you don't have the system bus running.
>
>
now I have stopped here:

root@:/compat/linux # truss ./usr/bin/dbus-launch ./usr/sbin/pcscd
.....
.....
linux_open("/var/lib/dbus/machine-id",0x0,0666) ERR#2 'No such file or
directory'
linux_pipe(0xbfbfd790,0x282ef140,0x0,0x0,0x0,0x6) = 0 (0x0)
linux_pipe(0xbfbfd780,0x282ef140,0x0,0x0,0x0,0x6) = 0 (0x0)
linux_pipe(0xbfbfd788,0x282ef140,0x0,0x0,0x0,0x6) = 0 (0x0)
linux_clone(0x1200011,0x0,0x0,0x0,0x2831f708,0x6) = 13156 (0x3364)
Failed to start message bus: Failed to bind socket "/tmp/dbus-NegwNrbXUw":
No such file or directory
close(4) = 0 (0x0)
close(6) = 0 (0x0)
close(7) = 0 (0x0)
linux_waitpid(0x3364,0x0,0x0,0x3364,0x0,0x6) = 13156 (0x3364)
read(5,0xbfbfd7ac,511) = 0 (0x0)
EOF in dbus-launch reading address from bus daemon
write(2,"EOF in dbus-launch reading addre"...,51) = 51 (0x33)
process exit, rval = 1



How to start dbus? Or how to create /var/lib/dbus/machine-id?

thanks
Juris


More information about the freebsd-emulation mailing list