Comment 5 for bug 1828074

Revision history for this message
Miriam EspaƱa Acebal (mirespace) wrote :

Verification for Bionic
--------------------------

Checking the package is upgradable:

root@test-bug1828074-bionic:/etc/apache2/sites-available# apt list --upgradable -a
Listing... Done
augeas-lenses/bionic 1.10.1-2ubuntu1 all [upgradable from: 1.10.1-2]
augeas-lenses/bionic,now 1.10.1-2 all [installed,upgradable to: 1.10.1-2ubuntu1]

augeas-tools/bionic 1.10.1-2ubuntu1 amd64 [upgradable from: 1.10.1-2]
augeas-tools/bionic,now 1.10.1-2 amd64 [installed,upgradable to: 1.10.1-2ubuntu1]

libaugeas0/bionic 1.10.1-2ubuntu1 amd64 [upgradable from: 1.10.1-2]
libaugeas0/bionic,now 1.10.1-2 amd64 [installed,upgradable to: 1.10.1-2ubuntu1]

If we executes(with memorybomb.conf in sites-available) the following:

augtool> match /files/etc/apache2/sites-available/*[label()=~regexp('.*\\.conf')]//*[self::directive=~regexp('([Ii][Nn][Cc][Ll][Uu][Dd][Ee])|([Ii][Nn][Cc][Ll][Uu][Dd][Ee])|([Ii][Nn][Cc][Ll][Uu][Dd][Ee][Oo][Pp][Tt][Ii][Oo][Nn][Aa][Ll])')]
  (no matches)

We can see in the attached image the expenditure in memory before and after the fixing.