Re: [systemd-devel] systemd-networkd: switch between several static network setups on wired connection

2023-03-29 Thread Alvin Šipraga
Hi Torsten, On Wed, Mar 29, 2023 at 02:58:05PM +0200, f...@igh.de wrote: > > Dear Systemd Folx, > > > > I have a laptop that I run at different locations with different > networks. I want to have static(!) network setup (address, gateway, DNS, > NTP) for my wired adapter on these networks. I

Re: [systemd-devel] dependent services status

2022-11-17 Thread Alvin Šipraga
Hi Ted, On Thu, Nov 17, 2022 at 08:52:00AM -0600, Ted Toth wrote: > I have a set of services that depend on each other however when > services are started and considered 'active' that does not necessarily > mean they are in a state that a dependent service requires them to be > in to operate

Re: [systemd-devel] Query degraded state

2022-04-28 Thread Alvin Šipraga
Hi, On Thu, Apr 28, 2022 at 04:03:01PM +0100, Barry Scott wrote: > Is there a command I can use to test for the degraded state? > > I could parsing the output of systemctl-failed or > syetemctl status but was looking for something less fragile. I think the correct way to do this programatically

Re: [systemd-devel] Systemd setup DSA interfaces in port mode and bond them together?

2021-11-19 Thread Alvin Šipraga
On 11/19/21 12:52, Paul Menzel wrote: > >> Hmm, looks like I might just have to wait a bit until we can step up to >> 5.11.  We just stepped up to 5.10.69.  IMX8 Freescale yocto lags a bit. >> And too bleeding edge hurts. > > Well, I know opinions differ on that, but in this case, it obviously

Re: [systemd-devel] Systemd setup DSA interfaces in port mode and bond them together?

2021-11-18 Thread Alvin Šipraga
On 11/18/21 23:25, Brian Hutchinson wrote: > Hi Alvin, > > > On Thu, Nov 18, 2021 at 4:20 PM Alvin Šipraga <mailto:a...@bang-olufsen.dk>> wrote: > > Hi Brian, > > On 11/18/21 01:20, Brian Hutchinson wrote: >  > Yet another update, I

Re: [systemd-devel] Systemd setup DSA interfaces in port mode and bond them together?

2021-11-18 Thread Alvin Šipraga
Hi Brian, On 11/18/21 01:20, Brian Hutchinson wrote: > Yet another update, I was able to get it working .. but feel like it is > a hack so comments welcome ... see below: > > > I tried and tried to get eth0 to come up before the bond was brought > up. I had everything named in lexical

[systemd-devel] timesyncd may try to sync when system is not really online

2021-03-16 Thread Alvin Šipraga
Hello, systemd-timesyncd listens for changes in network state and will start a timesync when it determines that the system is online. It does this via network_is_online(), which just queries the global carrier and address state advertised by systemd-networkd. systemd-networkd determines the

Re: [systemd-devel] Activate netdev only on demand (e.g. for wireguard connection)

2021-03-11 Thread Alvin Šipraga
Hi, On 3/11/21 11:01 AM, Reindl Harald wrote: > > > Am 11.03.21 um 06:36 schrieb Amish: >> Hello >> >> So I have a wireguard setup which I use to connect to my server. >> >> But I do not connect to it daily, just once a in a while. >> >> I have setup wg0.netdev file and wg0.network file and all

Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-09-08 Thread Alvin Šipraga
Hi, On 9/8/20 4:12 PM, Colin Guthrie wrote: > 2. Set your /etc/ master image to make /etc/localtime to be a symlink to > /run/localtime and then ensure /run/localtime is a symlink to the > appropriate file in /usr during early boot (e.g. in initramfs). Then > when you want to to change the