Skip to content

chrony: maxsources directive is only respected for pools named "pool" #29158

@lolomokakus

Description

@lolomokakus

Package Name

chrony

Maintainer

@mlichvar

OpenWrt Version

25.12.2

OpenWrt Target/Subtarget

mediatek/filogic

Steps to Reproduce

  1. Add a pool with any name other than "pool" (including no name)
  2. Set a maxsources directive for the pool
  3. Commit the changes and restart chronyd

Actual Behaviour

No maxsources directive appears on the pool line in /var/etc/chrony.d/10-uci.conf.

The check on line 48 in chronyd.init should probably test against $sourcetype rather than $cfg?

Confirmation Checklist

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