Skip to content

ncm-network: initscripts: Cannot manage loopback interface #1777

@jrha

Description

@jrha

We have a requirement to change the MTU of the loopback interface for certain database hosts, which you would think could be achieved with the following:

prefix '/system/network/interfaces/lo';
'ip' = '127.0.0.1';
'netmask' = '255.0.0.0';
'mtu' = 16384;

However, due to the $DEVICE_REGEXP in network.pm this fails with:

[ERROR] Filename /etc/sysconfig/network-scripts/ifcfg-lo found that doesn't match the device regexp. Must be an error in ncm-network.

Experimentally adding lo to the $DEVICE_REGEXP allows the configuration to be applied however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions