systemd logs "Ignoring invalid environment assignment" for OVS services when --mlockall=no is used

Solution Verified - Updated -


  • The following errors are logged in /var/log/messages after openvswitch.service is restarted if --mlockall=no is defined in /etc/sysconfig/openvswitch:

    Oct 16 16:07:01 compute-1 systemd[1]: ovs-vswitchd.service: Ignoring invalid environment assignment '--mlockall=no': /etc/sysconfig/openvswitch
    Oct 16 16:07:03 compute-1 systemd[1]: ovsdb-server.service: Ignoring invalid environment assignment '--mlockall=no': /etc/sysconfig/openvswitch


  • Red Hat OpenStack Platform 16
  • Red Hat OpenStack Platform 17

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content