Re: [systemd-devel] Requested transaction contradicts existing jobs: start is destructive

2020-04-27 Thread Uoti Urpala
On Mon, 2020-04-27 at 11:40 +0100, Mark Bannister wrote: > I'm not sure where to begin to troubleshoot the problem. The systemd > error is occurring sporadically and I haven't yet found a way to > reproduce it. I also can't say I actually understand the error > message or what I'm supposed to do

[systemd-devel] Requested transaction contradicts existing jobs: start is destructive

2020-04-27 Thread Mark Bannister
I've been trying to find the cause of a 'transaction is destructive' error from systemd. I'm testing systemd-219-67.el7_7.4 with the following patch applied: https://github.com/systemd/systemd/commit/cf99f8eacf1c864b19a6a02edea78c43f3185cb7 One of the error messages I've been trying to explain i

Re: [systemd-devel] systemd-hostnamed/hostnamectl and transient hostname change

2020-04-27 Thread Thomas HUMMEL
On 4/27/20 11:51 AM, Mantas Mikulėnas wrote: Hello, thanks for your answer. On Mon, Apr 20, 2020 at 6:17 PM Thomas HUMMEL > wrote: 1. why does the transient hostname change while I stated --static only while running hostnamectl ? 2. why does the ch

Re: [systemd-devel] systemd-hostnamed/hostnamectl and transient hostname change

2020-04-27 Thread Mantas Mikulėnas
On Mon, Apr 20, 2020 at 6:17 PM Thomas HUMMEL wrote: > 1. why does the transient hostname change while I stated --static only > while running hostnamectl ? > > 2. why does the change take some time to appear on dbus ? > Hostnamed does not implement receiving hostname change notifications from th

Re: [systemd-devel] systemd-hostnamed/hostnamectl and transient hostname change

2020-04-27 Thread Thomas HUMMEL
On 4/27/20 11:16 AM, Thomas HUMMEL wrote: Actually, I noticed this is true when NetworkManager's hostname-mode setting is set to 'none'. If set to 'dhcp', the transient hostname aligns instantly to the new static one. Sorry I may be wrong on this one as I can not reproduce it. Thanks -- TH

Re: [systemd-devel] systemd-hostnamed/hostnamectl and transient hostname change

2020-04-27 Thread Thomas HUMMEL
On 4/20/20 5:10 PM, Thomas HUMMEL wrote: At this point, the transient hostname is unchanged (which is what I'd expect) as seen with hostnamectl above or directly asking dbus: [root@maestro-1000 ~]# dbus-send --print-reply --system --dest=org.freedesktop.hostname1 /org/freedesktop/hostname1 o