[Bug 1491406] [NEW] augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces
poinck
1491406 at bugs.launchpad.net
Wed Sep 2 13:42:21 UTC 2015
Public bug reported:
# lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04
# apt-cache policy augeas-lenses
augeas-lenses:
Installed: 1.2.0-0ubuntu1.1
Candidate: 1.2.0-0ubuntu1.1
Version table:
*** 1.2.0-0ubuntu1.1 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.2.0-0ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
3. After applying configuration changes with augeas for Nagios3 there
should be no spaces before and after "="
```nagios.cfg
var=value
```
4. Nagios3 fails to parse a configuration line with spaces before and
after "="
```nagios.cfg
var = value
```
```.log
Error in configuration file '/etc/nagios/nagios.cfg' - Line ??? (UNKNOWN VARIABLE)
Error processing main config file!
```
Upstream fix and discussion here:
https://github.com/hercules-team/augeas/pull/177
** Affects: augeas (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to augeas in Ubuntu.
https://bugs.launchpad.net/bugs/1491406
Title:
augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to
spaces
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/augeas/+bug/1491406/+subscriptions
More information about the Ubuntu-server-bugs
mailing list