Libvirt services have some warnings

Services have some warnings:

[    6.242360] systemd[1]: /usr/lib/systemd/system/virtlogd.service:21: Unknown key name 'LimitNOFile' in section 'Service', ignoring.
[    6.242667] systemd[1]: /usr/lib/systemd/system/libvirtd.service:34: Unknown key name 'LimitNOFile' in section 'Service', ignoring.
[    6.243611] systemd[1]: /usr/lib/systemd/system/virtlockd.service:21: Unknown key name 'LimitNOFile' in section 'Service', ignoring.

They are just warnings, does everything work?

I guess the reason is that it should be LimitNOFILE and not LimitNOFile. It is case-sensitive. In my service files it is correct.

https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Process%20Properties

Now I get this:

[    6.278787] systemd[1]: /usr/lib/systemd/system/virtlogd.service:21: Soft resource limit chosen higher than hard limit, ignoring: 512000:1024
[    6.279082] systemd[1]: /usr/lib/systemd/system/libvirtd.service:34: Soft resource limit chosen higher than hard limit, ignoring: 512000:1024
[    6.280011] systemd[1]: /usr/lib/systemd/system/virtlockd.service:21: Soft resource limit chosen higher than hard limit, ignoring: 512000:1024

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.