----- Mail original -----> De: "Ofer Hasson" <hassonofer at gmail.com> > ?: "centos" <centos at centos.org> > Envoy?: Jeudi 24 D?cembre 2015 11:36:00 > Objet: Re: [CentOS] systemd-sysctl not running on boot> [root at web-devel-local-1 ~]# ll -Z /etc/ | grep sysctl > drwxr-xr-x. root root system_u:object_r:etc_t:s0 sysctl.d > > [root at web-devel-local-1 ~]# ll -Z /etc/sysctl.d/ > -rw-r--r--. root root unconfined_u:object_r:system_conf_t:s0 sysctl.conf >Is there a relationship with the new symlink created by the upgrade in my servers ? # ls -l /etc/sysctl.d/ total 0 lrwxrwxrwx. 1 root root 14 23 d?c. 18:11 99-sysctl.conf -> ../sysctl.conf # yum provides /etc/sysctl.d/99-sysctl.conf initscripts-9.49.30-1.el7.x86_64 : The inittab file and the /etc/init.d scripts D?p?t : base Correspondance depuis : Nom de fichier : /etc/sysctl.d/99-sysctl.conf Sylvain. Pensez ENVIRONNEMENT : n'imprimer que si ncessaire
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.... On Mon, Dec 28, 2015 at 1:17 PM, Sylvain CANOINE < sylvain.canoine at tv5monde.org> wrote:> > ----- Mail original ----- > > De: "Ofer Hasson" <hassonofer at gmail.com> > > ?: "centos" <centos at centos.org> > > Envoy?: Jeudi 24 D?cembre 2015 11:36:00 > > Objet: Re: [CentOS] systemd-sysctl not running on boot > > > [root at web-devel-local-1 ~]# ll -Z /etc/ | grep sysctl > > drwxr-xr-x. root root system_u:object_r:etc_t:s0 sysctl.d > > > > [root at web-devel-local-1 ~]# ll -Z /etc/sysctl.d/ > > -rw-r--r--. root root unconfined_u:object_r:system_conf_t:s0 sysctl.conf > > > Is there a relationship with the new symlink created by the upgrade in my > servers ? > > # ls -l /etc/sysctl.d/ > total 0 > lrwxrwxrwx. 1 root root 14 23 d?c. 18:11 99-sysctl.conf -> > ../sysctl.conf > > # yum provides /etc/sysctl.d/99-sysctl.conf > initscripts-9.49.30-1.el7.x86_64 : The inittab file and the /etc/init.d > scripts > D?p?t : base > Correspondance depuis : > Nom de fichier : /etc/sysctl.d/99-sysctl.conf > > > Sylvain. > Pensez ENVIRONNEMENT : n'imprimer que si ncessaire > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
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 debugging further: # cp /usr/lib/systemd/system/systemd-sysctl.service /etc/systemd/system/ # vi /etc/systemd/system/systemd-sysctl.service replaced the ExecStart line with: ExecStart=/bin/strace -f -e trace=file -o /var/tmp/sysctl.trace /usr/lib/systemd/systemd-sysctl # reboot /var/tmp/sysctl.trace should tell you whether or not the files are being opened. Beyond that, my only guess would be that some other service is restoring the defaults, but I have no idea what might do that.