Re: [CentOS] systemd-sysctl not running on boot

2016-01-06 Thread Gordon Messmer
On 12/28/2015 01:34 PM, Ofer Hasson wrote: I dont see any reason this will have anything to do with the issue. In any case, i re-installed the package, had the symlink, moved my definitions to sysctl.conf. still the same Baffling. I can't recreate this problem. If you're interested in deb

Re: [CentOS] systemd-sysctl not running on boot

2015-12-28 Thread Ofer Hasson
ail original - > > De: "Ofer Hasson" > > À: "centos" > > Envoyé: Jeudi 24 Décembre 2015 11:36:00 > > Objet: Re: [CentOS] systemd-sysctl not running on boot > > > [root@web-devel-local-1 ~]# ll -Z /etc/ | grep sysctl > > drwxr-xr-x. ro

Re: [CentOS] systemd-sysctl not running on boot

2015-12-28 Thread Sylvain CANOINE
- Mail original - > De: "Ofer Hasson" > À: "centos" > Envoyé: Jeudi 24 Décembre 2015 11:36:00 > Objet: Re: [CentOS] systemd-sysctl not running on boot > [root@web-devel-local-1 ~]# ll -Z /etc/ | grep sysctl > drwxr-xr-x. root root sys

Re: [CentOS] systemd-sysctl not running on boot

2015-12-24 Thread Ofer Hasson
I don't see anything related in the audit log (I'm using audit2why). As for labeling: [root@web-devel-local-1 ~]# ll -Z /etc/ | grep sysctl drwxr-xr-x. root root system_u:object_r:etc_t:s0 sysctl.d [root@web-devel-local-1 ~]# ll -Z /etc/sysctl.d/ -rw-r--r--. root root unconfined_u:objec

Re: [CentOS] systemd-sysctl not running on boot

2015-12-24 Thread Gordon Messmer
On 12/23/2015 11:12 PM, Ofer Hasson wrote: [root@web-devel-local-1 ~]# /usr/lib/systemd/systemd-sysctl [root@web-devel-local-1 ~]# cat /proc/sys/vm/swappiness 10 So... you know that it works when you run it from a root shell, but not during boot. Is the file labeled properly? Anything in aud

Re: [CentOS] systemd-sysctl not running on boot

2015-12-23 Thread Ofer Hasson
Added some info from the my system: [root@web-devel-local-1 ~]# uname -a Linux web-devel-local-1.in.parkam-ip.com 3.10.0-327.3.1.el7.x86_64 #1 SMP Wed Dec 9 14:09:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux [root@web-devel-local-1 ~]# cat /etc/sysctl.d/sysctl.conf # System default settings live i

Re: [CentOS] systemd-sysctl not running on boot

2015-12-23 Thread Ofer Hasson
also in /etc/sysctl.d/ On Thu, Dec 24, 2015 at 8:58 AM, Gordon Messmer wrote: > On 12/23/2015 05:08 AM, Ofer Hasson wrote: > >> By running "systemctl status systemd-sysctl" I also receive the same >> output, but a simple "cat /proc/sys/vm/swappiness" returns the default >> value, and not the one

Re: [CentOS] systemd-sysctl not running on boot

2015-12-23 Thread Gordon Messmer
On 12/23/2015 05:08 AM, Ofer Hasson wrote: By running "systemctl status systemd-sysctl" I also receive the same output, but a simple "cat /proc/sys/vm/swappiness" returns the default value, and not the one set by my conf file. All of mine, as set by files in /etc/sysctl.d/, are correct after bo

Re: [CentOS] systemd-sysctl not running on boot

2015-12-23 Thread Ofer Hasson
You are correct, I'll refine my problem, By running "systemctl status systemd-sysctl" I also receive the same output, but a simple "cat /proc/sys/vm/swappiness" returns the default value, and not the one set by my conf file. But, if I run "/usr/lib/systemd/systemd-sysctl" the "cat /proc/sys/vm/swa

Re: [CentOS] systemd-sysctl not running on boot

2015-12-23 Thread Gordon Messmer
On 12/22/2015 06:56 AM, Ofer Hasson wrote: After upgrading to CentOS 7.2, non of my servers run systemd-sysctl on boot. Works here... # systemctl status systemd-sysctl ● systemd-sysctl.service - Apply Kernel Variables Loaded: loaded (/usr/lib/systemd/system/systemd-sysctl.service; static; v

[CentOS] systemd-sysctl not running on boot

2015-12-22 Thread Ofer Hasson
Hey all, After upgrading to CentOS 7.2, non of my servers run systemd-sysctl on boot. So far, I tried running manually /usr/lib/systemd/systemd-sysctl, it runs smoothly and updates all the parameters. I also ran sysctl --system, which also executes successfully. I checked within systemd, and syst