Skip to content

ntp.conf syntax error #184

@andriymoroz-mlnx

Description

@andriymoroz-mlnx

In boot log:

May 22 08:10:25 arc-switch1026 ntpd[863]: line 37 column 11 syntax error, unexpected T_EOC
May 22 08:10:25 arc-switch1026 ntpd[863]: syntax error in /var/lib/ntp/ntp.conf.dhcp line 37, column 11

template:

interface ignore wildcard
interface listen {{ minigraph_mgmt_interface.addr }}    <--- line 37
interface listen 127.0.0.1

generated:

nterface ignore wildcard
interface listen
interface listen 127.0.0.1

Also in line 3 the file location needs to be fixed:
it is ansible/roles/acs/templates/ntp.conf.j2
while the file is at ansible/roles/sonic-common/templates/ntp.conf.j2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions