Re: [systemd-devel] ERRNO parameter in NOTIFY_SOCKET (request for patch review)

2014-07-03 Thread Lennart Poettering
On Thu, 03.07.14 05:38, Miguel Angel Ajo Pelayo (mangel...@redhat.com) wrote:   I was trying to make use of the ERRNO message in the NOTIFY_SOCKET mechanism, to signal services that were running on degraded mode but didn't exit. I discovered that it wasn't implemented [1], so I wrote

Re: [systemd-devel] ERRNO parameter in NOTIFY_SOCKET (request for patch review)

2014-07-03 Thread Miguel Angel Ajo Pelayo
Perfect, Lennart, thank you very much for the feedback, I'll modify the patch to do it that way, and I'll send it to the list. Best, Miguel Ángel - Original Message - On Thu, 03.07.14 05:38, Miguel Angel Ajo Pelayo (mangel...@redhat.com) wrote:   I was trying to make use of

Re: [systemd-devel] ERRNO parameter in NOTIFY_SOCKET (request for patch review)

2014-07-03 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 03, 2014 at 08:35:33AM -0400, Miguel Angel Ajo Pelayo wrote: i.e. introduce a new dbus property StatusErrNo, place it next to the existing StatusText, and call the field in the C Service struct status_errno, and put it next to status_text, and so on... StatusErrno, please?

Re: [systemd-devel] ERRNO parameter in NOTIFY_SOCKET (request for patch review)

2014-07-03 Thread Lennart Poettering
On Thu, 03.07.14 16:05, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Thu, Jul 03, 2014 at 08:35:33AM -0400, Miguel Angel Ajo Pelayo wrote: i.e. introduce a new dbus property StatusErrNo, place it next to the existing StatusText, and call the field in the C Service struct

Re: [systemd-devel] ERRNO parameter in NOTIFY_SOCKET (request for patch review)

2014-07-03 Thread Miguel Angel Ajo Pelayo
Ack, I'll use StatusErrno. Thanks, Miguel Ángel. - Original Message - On Thu, 03.07.14 16:05, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Thu, Jul 03, 2014 at 08:35:33AM -0400, Miguel Angel Ajo Pelayo wrote: i.e. introduce a new dbus property StatusErrNo, place