setkey is not run automatically on system start
The „setkey” service should run at system startup to add keys defined in /etc/ipsec-
However, no keys are defined after system boot:
root@ReThinkCen
No SAD entries.
After inquiring systemd, I learn this:
root@ReThinkCen
● setkey.service - LSB: option to manually manipulate the IPsec SA/SP database
Loaded: loaded (/etc/init.
Active: inactive (dead)
Docs: man:systemd-
ápr 25 21:15:28 ReThinkCentre systemd[1]: setkey.service: Job setkey.
Upon manually calling „systemctl start setkey” after the system booted up, the keys are added properly – but it is not feasible to do after each reboot.
Moreover, I can't help to notice that /etc/init.d/setkey is a legacy SysV init script. No proper systemd service file seems to exist for setkey. I think it would be a great time to add one.
Question information
- Language:
- English Edit question
- Status:
- Open
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask MegaBrutal for more information if necessary.