Re: [systemd-devel] Temporarily add DHCP DNS as fallback

2019-10-08 Thread Kenneth Porter
--On Tuesday, October 08, 2019 11:12 AM +0200 Jurek Olden wrote: For instance when using a WLAN to connect via AnyConnect, i need to be able to resolve the AnyConnect server via the local DNS. Company networks with local name resolution would be another example. Is there a way to make systemd

Re: [systemd-devel] Journalctl --list-boots problem

2019-10-08 Thread Martin Townsend
Thanks for your help. In the end I just created a symlink from /etc/machine-id to /data/etc/machine-id. It complains really early on boot with Cannot open /etc/machine-id: No such file or directory So I guess it's trying to read /etc/machine-id for something before fstab has been processed and t

Re: [systemd-devel] Journalctl --list-boots problem

2019-10-08 Thread Mantas Mikulėnas
Yes, you could replace it with a custom service that generates a predictable /run/machine-id (e.g. by hashing or hmac'ing the MAC address) and then bind-mounts it on top of /etc/machine-id. If you have a persistent data partition that's mounted on /data, I guess it could be integrated just by addi

Re: [systemd-devel] Antw: Re: Unexpected behaviour not noticed by systemctl command

2019-10-08 Thread Andy Pieters
On Tue, 8 Oct 2019 at 10:47, Reindl Harald wrote: > > > > Am 08.10.19 um 08:09 schrieb Ulrich Windl: > Reindl Harald schrieb am 07.10.2019 um 12:48 in > > Nachricht <8c0ef6cf-7b51-c257-d974-b4b39b489...@thelounge.net>: > > > >> Am 07.10.19 um 12:43 schrieb Andy Pieters: > >>> Just lately ran

Re: [systemd-devel] Antw: Re: Unexpected behaviour not noticed by systemctl command

2019-10-08 Thread Reindl Harald
Am 08.10.19 um 08:09 schrieb Ulrich Windl: Reindl Harald schrieb am 07.10.2019 um 12:48 in > Nachricht <8c0ef6cf-7b51-c257-d974-b4b39b489...@thelounge.net>: > >> Am 07.10.19 um 12:43 schrieb Andy Pieters: >>> Just lately ran into a fumble. I was trying to stop and disable a >>> service and

[systemd-devel] Temporarily add DHCP DNS as fallback

2019-10-08 Thread Jurek Olden
Hello, i use static DNS (1.1.1.1 and some fallbacks), but on some networks i need the DHCP provided DNS to be temporarily added. For instance when using a WLAN to connect via AnyConnect, i need to be able to resolve the AnyConnect server via the local DNS. Company networks with local name resolut

Re: [systemd-devel] Journalctl --list-boots problem

2019-10-08 Thread Martin Townsend
You are right /etc/machine-id is different for every boot as we have a read-only filesystem. /etc/machine-id is being mounted to /run/machine-id by systemd-machine-id-setup. I have a persistent data partition, how do I mount it into this? I tried --root /data but this didn't work. Should I disab