Re: [systemd-devel] Mobile broadband modems support in systemd-networkd

2021-08-20 Thread Bruce A. Johnson
Mantas' and Ulrich's responses gave me insights to dig more. Neither the mbim-cli nor ModemManager sets the IP address on the interface, and some kind of agent needs to do that. When I start the connection using ModemManager, I am able to retrieve addresses that mmcli displays like the below.

Re: [systemd-devel] How does journald talks to other services?

2021-08-20 Thread Mantas Mikulėnas
On Fri, Aug 20, 2021 at 2:11 PM Mantas Mikulėnas wrote: > On Fri, Aug 20, 2021 at 2:10 PM Nishant Nayan > wrote: > >> Regarding the below point : >> c) The service prints to stdout/stderr, but systemd attaches the >> service's stdout/stderr to a pipe which is read by journald (using >>

Re: [systemd-devel] How does journald talks to other services?

2021-08-20 Thread Mantas Mikulėnas
On Fri, Aug 20, 2021 at 2:10 PM Nishant Nayan wrote: > Regarding the below point : > c) The service prints to stdout/stderr, but systemd attaches the service's > stdout/stderr to a pipe which is read by journald (using > sd_journal_stream_fd(3) from libsystemd). See [Service] StandardOutput= in

Re: [systemd-devel] How does journald talks to other services?

2021-08-20 Thread Nishant Nayan
Regarding the below point : c) The service prints to stdout/stderr, but systemd attaches the service's stdout/stderr to a pipe which is read by journald (using sd_journal_stream_fd(3) from libsystemd). See [Service] StandardOutput= in systemd.service(5). I did not see StandardOutput field in

Re: [systemd-devel] How does journald talks to other services?

2021-08-20 Thread Nishant Nayan
Thanks, I will check them out Nishant On Fri, 20 Aug 2021 at 15:22, Lennart Poettering wrote: > On Fr, 20.08.21 15:01, Nishant Nayan (nayan.nishant2...@gmail.com) wrote: > > > Hi, > > My query is how does systemd-journald talk to other services so that > it > > stores their logs/output in

Re: [systemd-devel] How does journald talks to other services?

2021-08-20 Thread Lennart Poettering
On Fr, 20.08.21 15:01, Nishant Nayan (nayan.nishant2...@gmail.com) wrote: > Hi, > My query is how does systemd-journald talk to other services so that it > stores their logs/output in journal files, which could be displayed using > journalctl utlity. > I am currently looking into systemd

Re: [systemd-devel] Mobile broadband modems support in systemd-networkd

2021-08-20 Thread Mantas Mikulėnas
On Thu, Aug 19, 2021 at 10:46 PM Bruce A. Johnson < bjohn...@blueridgenetworks.com> wrote: > I am trying to integrate an MBIM cellular modem (Sierra Wireless MC7455) > into my project, and while there seem to be plenty of people doing the > same thing, all of the references seem to point to using

Re: [systemd-devel] How does journald talks to other services?

2021-08-20 Thread Mantas Mikulėnas
On Fri, Aug 20, 2021 at 12:31 PM Nishant Nayan wrote: > Hi, > My query is how does systemd-journald talk to other services so that > it stores their logs/output in journal files, which could be displayed > using journalctl utlity. > Journald doesn't talk to services, services talk to

[systemd-devel] How does journald talks to other services?

2021-08-20 Thread Nishant Nayan
Hi, My query is how does systemd-journald talk to other services so that it stores their logs/output in journal files, which could be displayed using journalctl utlity. I am currently looking into systemd journal code to find this out but so far no luck. Any suggestions would be

[systemd-devel] Antw: [EXT] [systemd‑devel] Mobile broadband modems support in systemd‑networkd

2021-08-20 Thread Ulrich Windl
>>> "Bruce A. Johnson" schrieb am 19.08.2021 um 21:37 in Nachricht <8926b5b1-6d52-cf73-8936-bb097d874...@blueridgenetworks.com>: > I am trying to integrate an MBIM cellular modem (Sierra Wireless MC7455) > into my project, and while there seem to be plenty of people doing the > same thing, all