You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mount an augeas plugin by giving the .aug filename, e.g.:
kdb mount /etc/network/interfaces system/network/interfaces augeas lens=interfaces.aug
kdb mount /etc/network/interfaces system/network/interfaces augeas lens=/usr/share/augeas/lenses/dist/interfaces.aug
Describe what you expected
That augeas checks its configuration via checkconf at mount time and rejects (or at least warn) wrongly specified lenses. (Or even better: rename "interfaces" or "interfaces.aug" to "Interfaces.lns").
Describe what actually happened
Mount is successful, but the mountpoint does not work:
kdb ls system/network/interfaces
The command ls failed while accessing the key database with the info:
Error (#85) occurred!
Description: an Augeas error occurred
Ingroup: plugin
Module: storage
At: /home/jenkins/workspace/workspace/elektra-git-buildpackage-jessie/libelektra/src/plugins/augeas/augeas.c:461
Reason: Lens not found
Mountpoint: system/network/interfaces
Configfile: /etc/network/interfaces
The error message also does not show which Lens was tried.
System Information
Elektra Version: master
libaugeas 1.2.0-0.2+deb8u1
Further Log Files and Output
For Infos about checkconf see:
doc/help/elektra-plugins-framework.md
src/plugins/doc/doc.c
doc/tutorials/plugins.md
The text was updated successfully, but these errors were encountered:
As discussed in #1006 we also need a way for to list every possible configuration for augeas plugins. Can you also implement a way to query every possible configuration?
Describe what you wanted to do
Mount an augeas plugin by giving the
.aug
filename, e.g.:Describe what you expected
That augeas checks its configuration via
checkconf
at mount time and rejects (or at least warn) wrongly specified lenses. (Or even better: rename "interfaces" or "interfaces.aug" to "Interfaces.lns").Describe what actually happened
Mount is successful, but the mountpoint does not work:
The error message also does not show which Lens was tried.
System Information
Further Log Files and Output
For Infos about checkconf see:
The text was updated successfully, but these errors were encountered: