Comment 0 for bug 1485683

Revision history for this message
Simon Eisenmann (longsleep) wrote :

Changes to files in /etc/sysctl.d are not applied on boot. They get applied once one restarts systemd-sysctl.service.

- To reproduce add .conf file to /etc/sysctl.d or change any of the existing values there.
- Then reboot and check if they are applied (sysctl -a). They are not (snappy armhf 15.04 ubuntu-core 4).
- Then run systemctl retart systemd-sysctl.service and check again (the setting will be applied now).

I guess this is an issue with the mounting. It might be that /dev/mmcblk0p4 on /etc/sysctl.d type ext4 is not yet mounted when the early systemd service is run.