[CentOS] systemd-sysctl not running on boot

Ofer Hasson hassonofer at gmail.com
Wed Dec 23 13:08:51 UTC 2015


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/swappiness" does return the correct value.

Any idea ?
Does this happen to anyone else ?

On Wed, Dec 23, 2015 at 11:12 AM, Gordon Messmer <gordon.messmer at gmail.com>
wrote:

> 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;
> vendor preset: disabled)
>    Active: active (exited) since Wed 2015-12-16 20:19:10 PST; 6 days ago
>      Docs: man:systemd-sysctl.service(8)
>            man:sysctl.d(5)
>   Process: 652 ExecStart=/usr/lib/systemd/systemd-sysctl (code=exited,
> status=0/SUCCESS)
>  Main PID: 652 (code=exited, status=0/SUCCESS)
>    CGroup: /system.slice/systemd-sysctl.service
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list