Re: [systemd-devel] sd_bus_process() + sd_bus_wait() is it not suitable for application?

2022-01-24 Thread William Kennington
FWIW I’ve noticed the same thing with as-event https://github.com/systemd/systemd/issues/22046 I had to drain all events before waiting to fix this. On Mon, Jan 24, 2022 at 14:00 Stephen Hemminger wrote: > On Mon, 24 Jan 2022 10:33:58 +0800 (CST) > www wrote: > > > Hi, > > > > > > When the bu

Re: [systemd-devel] sd-bus memory check

2020-04-12 Thread William Kennington
You are probably looking for sd_bus_flush_close_unref() for this usecase. On Sun, Apr 12, 2020 at 11:00 AM David J wrote: > Hello! > > This is in regards to sd-bus function "sd_bus_open_system", where Valgrind > reports possible memory leak. See the following code: > > mem_test.c: > > #include

Re: [systemd-devel] systemd-networkd: keeping old routes when new dhcp lease was given

2019-06-11 Thread William Kennington
Probably related to this issue https://github.com/systemd/systemd/pull/12350 On Tue, Jun 11, 2019 at 02:25 Kaisrlík, Jan wrote: > Hello here, > > I am running Yocto-thud with systemd 239 on my SoC and I've found > interesting, when DHCP lease was prolonged, I observe the connection > to the int

Re: [systemd-devel] Standalone libsystemd

2019-03-21 Thread William Kennington
William Kennington wrote: > This would be amazing for us, since we basically do this already on our > system to work around the issue of circular dependencies on libsystemd and > libudev for systemd dependencies. I currently just patch the meson.build to > remove everything we don’t

Re: [systemd-devel] Standalone libsystemd

2019-03-21 Thread William Kennington
This would be amazing for us, since we basically do this already on our system to work around the issue of circular dependencies on libsystemd and libudev for systemd dependencies. I currently just patch the meson.build to remove everything we don’t need for the library build. https://github.com/w

Re: [systemd-devel] networkd: Support setting mtu / mac address by interface name

2014-12-04 Thread William Kennington
In regards to the OS and syntax, this is NixOS. NixOS uses its own expression language to configure the entire system, including the network stack. If a user wanted to configure their system's networking stack, they would modify the networking.* set of options in their /etc/nixos/configuration.nix.

[systemd-devel] networkd: Support setting mtu / mac address by interface name

2014-11-24 Thread William Kennington
I'd like to be able to set the MAC Address and MTU of interfaces, with just the interface name alone. The current method for matching links seems to be heavily tied to udev ATTRs and I understand given the nature of systemd.link that it might not make sense to Match based on name. However, I need t

[systemd-devel] systemd.netdev: Tunnel should support ANY addresses for Local option

2014-11-24 Thread William Kennington
Currently, networkd netdevs do not support tunnel devices which do not have a local address configured. This breaks the configuration of sit devices on my hosts which run dhcp for ipv4 configuration, which normally have local set to 0.0.0.0. Is there any chance we could remove the any check for the