Re: [systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Kay Sievers
On Tue, Dec 3, 2013 at 12:55 AM, Mantas Mikulėnas wrote: > > On Dec 3, 2013 1:51 AM, "Tom Gundersen" wrote: >> >> On Tue, Dec 3, 2013 at 12:04 AM, Kay Sievers wrote: >> > On Mon, Dec 2, 2013 at 11:52 PM, Goffredo Baroncelli >> > wrote: >> > >> >> I have ne question: what happens if a sysctl set

Re: [systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Mantas Mikulėnas
On Dec 3, 2013 1:51 AM, "Tom Gundersen" wrote: > > On Tue, Dec 3, 2013 at 12:04 AM, Kay Sievers wrote: > > On Mon, Dec 2, 2013 at 11:52 PM, Goffredo Baroncelli wrote: > > > >> I have ne question: what happens if a sysctl setting is in more than > >> one file ? systemd-sysctl is smart enough to w

Re: [systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Tom Gundersen
On Tue, Dec 3, 2013 at 12:04 AM, Kay Sievers wrote: > On Mon, Dec 2, 2013 at 11:52 PM, Goffredo Baroncelli > wrote: > >> I have ne question: what happens if a sysctl setting is in more than >> one file ? systemd-sysctl is smart enough to write the last value or >> perform several writes ? > > O

Re: [systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Kay Sievers
On Mon, Dec 2, 2013 at 11:52 PM, Goffredo Baroncelli wrote: > I have ne question: what happens if a sysctl setting is in more than > one file ? systemd-sysctl is smart enough to write the last value or > perform several writes ? One write only, it logs at "info" level about overwritten values.

Re: [systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Goffredo Baroncelli
Hi Zbyszek On 2013-12-02 23:27, Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Dec 02, 2013 at 10:27:45PM +0100, Goffredo Baroncelli wrote: [...] >> >> Yes am doing so. But IIRC the process order of the sysctl file was >> inverted near systemd 207... >> >> Because Debian uses 204, when it switches to

Re: [systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 02, 2013 at 10:27:45PM +0100, Goffredo Baroncelli wrote: > On 2013-12-02 21:38, Zbigniew Jędrzejewski-Szmek wrote: > > On Mon, Dec 02, 2013 at 09:15:37PM +0100, Goffredo Baroncelli wrote: > >> Hi all, > >> > >> currently systemd contains a sysctl default setting in a file called > >>

Re: [systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Goffredo Baroncelli
On 2013-12-02 21:32, Kay Sievers wrote: > On Mon, Dec 2, 2013 at 9:15 PM, Goffredo Baroncelli > wrote: >> currently systemd contains a sysctl default setting in a file called >> 50-default.conf >> The aim of this patch is to split the content of the sysctl setting in >> more files to allo

Re: [systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 02, 2013 at 09:15:37PM +0100, Goffredo Baroncelli wrote: > Hi all, > > currently systemd contains a sysctl default setting in a file called > 50-default.conf > The aim of this patch is to split the content of the sysctl setting in > more files to allow a more selective override

Re: [systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Kay Sievers
On Mon, Dec 2, 2013 at 9:15 PM, Goffredo Baroncelli wrote: > currently systemd contains a sysctl default setting in a file called > 50-default.conf > The aim of this patch is to split the content of the sysctl setting in > more files to allow a more selective override. > > My need is to en