[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-06-16 Thread Launchpad Bug Tracker
This bug was fixed in the package augeas - 1.2.0-0ubuntu1.2 --- augeas (1.2.0-0ubuntu1.2) trusty; urgency=medium * d/p/augeas-lenses-nagioscfg-nospace.patch: apply upstream fix for nagioscfg lens to prevent introducing spaces around variables (LP: #1491406) -- Ryan Harper

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-06-14 Thread Ryan Harper
I tested the augeas package from proposed. # added trusty-proposed to /etc/apt/sources.list root@t3:~# apt-get update && apt-get install --no-install-recommends augeas-lenses augeas-tools nagios3 root@t3:~# export AUGEAS_ROOT=/tmp/augeas-sandbox root@t3:~# mkdir $AUGEAS_ROOT root@t3:~# cp -pr

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-06-08 Thread Chris J Arges
Hello poinck, or anyone else affected, Accepted augeas into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/augeas/1.2.0-0ubuntu1.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-06-08 Thread Robie Basak
Uploaded, thanks Ryan. A couple of comments: I tweaked your dep3 headers as follows. Last-Updated is defined as being hyphenated, and AIUI "Origin: upstream, ..." is appropriate for when the patch is cherry-picked from upstream, as opposed to "Applied-Upstream: ..." which is for when the patch is

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-06-08 Thread Robie Basak
** Also affects: augeas (Ubuntu Trusty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1491406 Title: augeas-lenses-1.2.0 - NagiosCfg lens broken for

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-06-07 Thread Ryan Harper
This has already been fixed in newer versions (Xenial, 1.4.0 and Yakkety 1.5.0). This only affects Trusty (1.2.0). I've nominated Trusty task, and will update for SRU when it's added. ** Changed in: augeas (Ubuntu) Status: Incomplete => Invalid ** Description changed: + [Impact] + +

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-06-07 Thread Ryan Harper
** Patch added: "augeas-lenses-nagios-nospace-patch.debdiff" https://bugs.launchpad.net/ubuntu/+source/augeas/+bug/1491406/+attachment/4679132/+files/augeas-lenses-nagios-nospace-patch.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

Re: [Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-06-07 Thread Ryan Harper
Dominic, Thanks! That's exactly what I needed. On Tue, Jun 7, 2016 at 2:19 AM, Dominic Cleal wrote: > Ryan, changing an existing value will preserve the whitespace (something > Augeas tries hard to do), so you'll probably need to add a new setting > to observe the

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-06-07 Thread Dominic Cleal
Ryan, changing an existing value will preserve the whitespace (something Augeas tries hard to do), so you'll probably need to add a new setting to observe the behaviour. You could delete the existing cfg_file entry and create a new one, e.g. augtool> rm /files/etc/nagios3/nagios.cfg/cfg_file

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-06-06 Thread Ryan Harper
Hello, I'm not able to recreate the issue of augeas generating settings with spaces in the output. Here's how I tested it. Can you provide a counter example of using augeas such that it does generate a nagios.cfg which includes the space before or after a variable? # On my Xenial laptop 1. lxc

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-06-06 Thread Ryan Harper
I forgot to add that I understand the actual bug and its fix, however, I wanted a concrete example that we can use to test with the fixed version of the package if we're going to submit this as an SRU; we'll definitely need that for verification. -- You received this bug notification because you

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2016-05-24 Thread Robie Basak
** Changed in: augeas (Ubuntu) Assignee: (unassigned) => Ryan Harper (raharper) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1491406 Title: augeas-lenses-1.2.0 - NagiosCfg lens broken for

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2015-09-10 Thread poinck
At https://github.com/hercules- team/augeas/issues/292#issuecomment-138634149 it was suggested to use the Augeas PPA from https://launchpad.net/~raphink/+archive/ubuntu/augeas -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2015-09-10 Thread poinck
At https://github.com/hercules- team/augeas/issues/292#issuecomment-138634149 it was suggested to use the Augeas PPA from https://launchpad.net/~raphink/+archive/ubuntu/augeas -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2015-09-04 Thread Robie Basak
** Tags added: bitesize -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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

[Bug 1491406] Re: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces

2015-09-04 Thread Robie Basak
** Tags added: bitesize -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1491406 Title: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces To manage