Re: [systemd-devel] resolved and bind-mount of /etc/resolv.conf

2016-01-22 Thread Igor Bukanov
On 22 January 2016 at 10:38, Colin Guthrie wrote: ... >> On Fri, 15.01.16 10:33, Igor Bukanov (i...@mir2.org) wrote: >>> I suppose I already can do with service ExecStartPost, ExecStart hooks >>> for resolved, but this is rather hackish as I do not know if resolved >>> updates the file in place (w

Re: [systemd-devel] resolved and bind-mount of /etc/resolv.conf

2016-01-22 Thread Colin Guthrie
Lennart Poettering wrote on 15/01/16 13:36: > On Fri, 15.01.16 10:33, Igor Bukanov (i...@mir2.org) wrote: > >> Hi, >> >> currently if one runs systemd-resolved, then /etc/resolv.conf should >> be symlinked to /run/systemd/resolve/resolv.conf . Is it possible >> instead to add an option for resol

Re: [systemd-devel] resolved and bind-mount of /etc/resolv.conf

2016-01-15 Thread Lennart Poettering
On Fri, 15.01.16 10:33, Igor Bukanov (i...@mir2.org) wrote: > Hi, > > currently if one runs systemd-resolved, then /etc/resolv.conf should > be symlinked to /run/systemd/resolve/resolv.conf . Is it possible > instead to add an option for resolved to bind-mount /etc/resolv.conf > into the real f

[systemd-devel] resolved and bind-mount of /etc/resolv.conf

2016-01-15 Thread Igor Bukanov
Hi, currently if one runs systemd-resolved, then /etc/resolv.conf should be symlinked to /run/systemd/resolve/resolv.conf . Is it possible instead to add an option for resolved to bind-mount /etc/resolv.conf into the real file when it starts? This way stopping or disabling resolved will not req