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]
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.
Verification for Bionic ------- ------- -----
-------
Checking the package is upgradable:
root@test-bug1828074-bionic: /etc/apache2/ sites-available # apt list --upgradable -a lenses/ bionic 1.10.1-2ubuntu1 all [upgradable from: 1.10.1-2] lenses/ bionic, now 1.10.1-2 all [installed, upgradable to: 1.10.1-2ubuntu1]
Listing... Done
augeas-
augeas-
augeas-tools/bionic 1.10.1-2ubuntu1 amd64 [upgradable from: 1.10.1-2] tools/bionic, now 1.10.1-2 amd64 [installed, upgradable to: 1.10.1-2ubuntu1]
augeas-
libaugeas0/bionic 1.10.1-2ubuntu1 amd64 [upgradable from: 1.10.1-2] bionic, now 1.10.1-2 amd64 [installed, upgradable to: 1.10.1-2ubuntu1]
libaugeas0/
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.