The program source codes and the foobar.service , the foobar.socket are as the
attachments.
Thanks for any suggestion!
At 2017-12-29 16:19:35, "eshark" wrote:
Hi, All
I tried to test the socket activation by a simple foobar.socket and
foobar.service, which are as the
Hi, All
I tried to test the socket activation by a simple foobar.socket and
foobar.service, which are as the following:
foobar.socket:
[Socket]
ListenStream=/dev/socket/foobar
[Install]
WantedBy=sockets.target
foobar.service:
[Service]
Hi, All
In the sd-bus.c, there are four conditions for calling the
bus_enter_closing, as is:
if (r == -ENOTCONN || r == -ECONNRESET || r == -EPIPE
|| r == -ESHUTDOWN) {
bus_enter_closing(bus);
Hi, All
In the sd-bus.c, there are four conditions for calling the
bus_enter_closing, as is:
if (r == -ENOTCONN || r == -ECONNRESET || r == -EPIPE
|| r == -ESHUTDOWN) {
bus_enter_closing(bus);
Hi, all,
It seems that the exec_spawn() will return 0 if fork() fails, because
that
return log_unit_error_errno(params->unit_id, errno, "Failed to
fork: %m");
will return -r eventually. And here r = exec_context_load_environment() ,
which has
exited successfully.
Hi, all,
It seems that the exec_spawn() will return 0 if fork() fails, because
that
return log_unit_error_errno(params->unit_id, errno, "Failed to
fork: %m");
will return -r eventually. And here r = exec_context_load_environment() ,
which has
exited successfully.
Hi, All,
I found that in bus-message.c , the bus_message_from_header() seems to
misuse the _cleanup_free_ ,
int bus_message_from_header()
{
_cleanup_free_ sd_bus_message *m = NULL;
==>
_cleanup_bus_message_unref_ sd_bus_mes
Hi, all
I wonder why the sd_bus_slot_unref() always returns NULL? I expect that I
can check whether the slot->n_ref ==0 by checking its return value.
That is
_public_ sd_bus_slot* sd_bus_slot_unref(sd_bus_slot *slot) {
if (!slot)
return NULL;
assert
Hi, all
If some message went into bus->wqueue, and failed to run
ioctl(KDBUS_CMD_SEND) and returned r < 0,
I found that this message will remain in the bus->wqueue. If the peer is
killed for some reason, this message will fail to be sent and remain in the
wqueu for ever.
Because
Hi, All,
My Software environment is : systemd v219 + kdbus-4.1-rc1 + kernel_3.10
and my hardware platform is ARM CA9 quad core.
I failed to run the test-bus-zero-copy on my platform, and then I
traced into the issue ,
and found that the reason is that the padding KDBU_ITEM_PAY
Hi,
After removing /usr/lib/systemd/systemd-cgroups-agent, all seems to work
OK.
Thank you for your help!
Best Regards,
Li Cheng
At 2015-06-17 18:16:06, "eshark" wrote:
Hi,
With my kdbus broadcast patch, I found that the "systemd" process would
endle
age type=signal sender=:1.2
destination=n/a object=/org/freedesktop/systemd1/agent
interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cooki
e=0 error=n/a
<30>[ 809.109872@1] systemd[1]: Lch-Got message type=signal sender=:1.2
destination=n/a object=/org/freedeskt
Hi,
I'm so sorry for not giving you more details, I'm a freshman here, but I'll
try to do better in the future.
I will give the answers under each of the questions .
At 2015-06-16 18:54:23, "David Herrmann" wrote:
>Hi
>
>On Tue, Jun 16, 2015 at 12:07 PM,
Hi,
At 2015-06-16 15:54:10, "David Herrmann" wrote:
>Hi
>
>On Tue, Jun 16, 2015 at 9:35 AM, eshark wrote:
>> Hi,
>>
>>
>> At 2015-06-15 22:32:27, "Lennart Poettering" wrote:
>>>On Mon, 15.06.15 19:05, eshark (eshar...@163.com) wr
Hi,
At 2015-06-15 22:32:27, "Lennart Poettering" wrote:
>On Mon, 15.06.15 19:05, eshark (eshar...@163.com) wrote:
>
>> Hi, All,
>>If I post this email to the wrong mail-list, please tell me, thank
>> you.
>>
>>Now many JS applic
Hi, All,
If I post this email to the wrong mail-list, please tell me, thank you.
Now many JS applications implement the client and service in the same
thread, so they share the same connection too.
However when the client or the service want to send signal to the other, the
recei
Sorry for forgetting attach the C file.
Best Regards,
Li Cheng
At 2015-06-10 20:35:11, eshar...@163.com wrote:
Hi, All,
According to the DBus protocol,
http://dbus.freedesktop.org/doc/dbus-specification.html
" An example argument path match is arg0path='/aa/bb/'. This would
17 matches
Mail list logo