Re: [systemd-devel] systemd/hostnamed: setting the hostname and using it in the DHCP Discover

2017-07-28 Thread Andrey Yurovsky
On Fri, Jul 28, 2017 at 10:46 PM, Mantas Mikulėnas wrote: > > > On Sat, Jul 29, 2017, 08:13 Andrei Borzenkov wrote: >> >> 28.07.2017 22:08, Andrey Yurovsky пишет: >> > >> > Is there a correct way to replace or otherwise set the hostname and >> > have systemd use it from the beginning and ensure t

Re: [systemd-devel] systemd/hostnamed: setting the hostname and using it in the DHCP Discover

2017-07-28 Thread Mantas Mikulėnas
On Sat, Jul 29, 2017, 08:13 Andrei Borzenkov wrote: > 28.07.2017 22:08, Andrey Yurovsky пишет: > > > > Is there a correct way to replace or otherwise set the hostname and > > have systemd use it from the beginning and ensure that the DHCP client > > specifies it in option 12? > > > > Use generato

Re: [systemd-devel] systemd/hostnamed: setting the hostname and using it in the DHCP Discover

2017-07-28 Thread Andrei Borzenkov
28.07.2017 22:08, Andrey Yurovsky пишет: > > Is there a correct way to replace or otherwise set the hostname and > have systemd use it from the beginning and ensure that the DHCP client > specifies it in option 12? > Use generator to create /etc/hostname before systemd starts. __

[systemd-devel] Two questions about logind and seats

2017-07-28 Thread nerdopolis
Hi I hope this is the right place to ask this. I have two questions about logind and seats. First, when I attach a 2nd graphics card to seat1, it seems CanMultisession is set to 0. Is there a way to change that? or is that only supported on seat0, that supports the TTYs? Second, with systemd-r

[systemd-devel] systemd/hostnamed: setting the hostname and using it in the DHCP Discover

2017-07-28 Thread Andrey Yurovsky
I have an embedded target where the hostname is expected to be a string derived in part from the MAC address of an Ethernet interface. I've been looking at how to properly set the system's hostname and also have systemd-networkd use it in the DHCP request it sends out, however there seems to be an

Re: [systemd-devel] Debug hanging unit stop on shutdown?

2017-07-28 Thread Benno Fünfstück
Thanks, I'll check it out. Mantas Mikulėnas schrieb am Fr., 28. Juli 2017, 10:52: > On Thu, Jul 27, 2017 at 10:33 PM, Benno Fünfstück < > benno.fuenfstu...@gmail.com> wrote: > >> Hi, >> >> when shutting down my system, I sometimes get a "Stopping ..." from >> systemd, where it waits 90 seconds b

Re: [systemd-devel] Debug hanging unit stop on shutdown?

2017-07-28 Thread Mantas Mikulėnas
On Thu, Jul 27, 2017 at 10:33 PM, Benno Fünfstück < benno.fuenfstu...@gmail.com> wrote: > Hi, > > when shutting down my system, I sometimes get a "Stopping ..." from > systemd, where it waits 90 seconds before it kills the affected session / > unit / scope / ... . Is there any way to debug this l