Public bug reported: Default/sample ups.conf has maxretry setting at end. Above that are examples and an empty line.
Uncommenting any of the examples or merging with older configs are likely to end up with a broken config file, since the parser will interpret existing maxretries to be inside driver definition. Included patch follows conventions used in other nut config files. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: nut 2.7.1-1ubuntu1 ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11 Uname: Linux 3.13.0-43-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.6 Architecture: amd64 Date: Fri Dec 26 20:06:50 2014 InstallationDate: Installed on 2014-12-20 (6 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) KernelVersion: Linux lmaas1 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux PackageArchitecture: all SourcePackage: nut UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: nut (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty vivid ** Patch added: "http://bazaar.launchpad.net/~iheino+ub/+junk/nut-upsconf-docfix/diff/3" https://bugs.launchpad.net/bugs/1405822/+attachment/4287849/+files/3_2.diff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nut in Ubuntu. https://bugs.launchpad.net/bugs/1405822 Title: Default ups.conf should have maxretry setting above examples section. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nut/+bug/1405822/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs