Re: [systemd-devel] systemd and hostname supplied by DHCP

2015-10-04 Thread Alessio Igor Bogani
Hi, On 3 October 2015 at 15:34, Lennart Poettering wrote: [...] > Well, we need some kind of policy framework in place there that allows > the "systemd-networkd" user to set the hostname. If you disable > PolicyKit you have none, and hence the permission is denied. So I'll install polkit. The on

Re: [systemd-devel] /etc/dbus-1/session-local.conf

2015-10-04 Thread Mantas Mikulėnas
Also this is not the path used by most software, anyway; the user bus is expected at %t/bus, not %t/user_bus_address. I think it was moved in v205 or v215. On Mon, Oct 5, 2015, 07:03 Mantas Mikulėnas wrote: > You normally shouldn't need to do this. For user bus, the address is > configured in db

Re: [systemd-devel] /etc/dbus-1/session-local.conf

2015-10-04 Thread Mantas Mikulėnas
You normally shouldn't need to do this. For user bus, the address is configured in dbus.socket; for session buses it is passed as command line option. On Sun, Oct 4, 2015, 21:40 arnaud gaboury wrote: > As I am trying to improve my knowledges in how dbus work, I discovered > this file in /etc/dbu

[systemd-devel] /etc/dbus-1/session-local.conf

2015-10-04 Thread arnaud gaboury
As I am trying to improve my knowledges in how dbus work, I discovered this file in /etc/dbus-1/session-local.conf unix:path=/run/user/1000/dbus/user_bus_socket -- I Can't remember editing it, but I must have done it. I understand it overrides

Re: [systemd-devel] timer unit is run, but service file is not

2015-10-04 Thread Mirosław Zalewski
Curiously enough, this stopped happening (i.e. started working as it did before and as was expected) the next day after sending this message. If anybody has any clue what could it be, I will gladly hear it. -- Best regards Mirosław Zalewski ___ systemd-

Re: [systemd-devel] machinectl shell

2015-10-04 Thread arnaud gaboury
On Sun, Oct 4, 2015 at 11:49 AM, Tomasz Torcz wrote: > On Sun, Oct 04, 2015 at 11:27:20AM +0200, arnaud gaboury wrote: >> First, thank you for this new feature. I do think this is a much more >> clean way to log as root. >> >> I just can't get the correct shell, which is /bin/zsh: >> >> /etc/passw

Re: [systemd-devel] machinectl shell

2015-10-04 Thread arnaud gaboury
On Sun, Oct 4, 2015 at 11:34 AM, Tobias Hunger wrote: > Hi Arnaud, > > Am 04.10.2015 11:27 schrieb "arnaud gaboury" : >> >> First, thank you for this new feature. I do think this is a much more >> clean way to log as root. >> >> I just can't get the correct shell, which is /bin/zsh: >> >> /etc/pas

Re: [systemd-devel] machinectl shell

2015-10-04 Thread Tomasz Torcz
On Sun, Oct 04, 2015 at 11:27:20AM +0200, arnaud gaboury wrote: > First, thank you for this new feature. I do think this is a much more > clean way to log as root. > > I just can't get the correct shell, which is /bin/zsh: > > /etc/passwd > --- > root:x:0:0:root:/root:

Re: [systemd-devel] machinectl shell

2015-10-04 Thread Tobias Hunger
Hi Arnaud, Am 04.10.2015 11:27 schrieb "arnaud gaboury" : > > First, thank you for this new feature. I do think this is a much more > clean way to log as root. > > I just can't get the correct shell, which is /bin/zsh: > > /etc/passwd > --- > root:x:0:0:root:/root:/usr/

[systemd-devel] machinectl shell

2015-10-04 Thread arnaud gaboury
First, thank you for this new feature. I do think this is a much more clean way to log as root. I just can't get the correct shell, which is /bin/zsh: /etc/passwd --- root:x:0:0:root:/root:/usr/bin/zsh - $ machinectl shell brings me to sh.

Re: [systemd-devel] [PATCH] gssd: Improve scalability by not waiting for child processes

2015-10-04 Thread Florian Weimer
* Steve Dickson: > +static void > +sig_child(int signal) > +{ > + int err; > + pid_t pid; > + > + /* Parent: just wait on child to exit and return */ > + do { > + pid = wait(&err); > + } while(pid == -1 && errno != -ECHILD); > + > + if (WIFSIGNALED(err)) > +