I am going to use a very basic yang file in a unit test. The compilation of the yang file into a fxs file seems to work fine (no complaints), but when I start the confd daemon I get this:
“$ confd --conf path/confd.conf
Failed to load AAA: Failed to load aaa cfg (No aaa.fxs??) - bad namespace: http://tail-f.com/ns/aaa/1.1
Daemon died status=21”
The aaa namespace is not in my yang file.
The yang file looks like this:
module test {
namespace "http://myite.com/test";
prefix "test";
container components {
container testcomponent {
leaf max {
type int32;
default 100;
}
}
}
}
The aaa-related section in my confd.conf is nothing but standard config:
<aaa>
<sshServerKeyDir>/path/confd/ssh</sshServerKeyDir>
<!-- See man page confd_aaa_bridge(1) for a description of this -->
<aaaBridge>
<enabled>false</enabled>
<file>/path/confd/aaa.conf</file>
</aaaBridge>
<pam>
<!--
If pam is enabled and we want to use pam for login
confd must typically run as root. This depends on how
pam is configured locally. However the default "system-auth"
will typically require root since the pam libs then read
/etc/shadow
-->
<enabled>true</enabled>
<service>system-auth</service>
</pam>
<localAuthentication>
<enabled>true</enabled>
</localAuthentication>
</aaa>
The aaa.conf file does not exist.
Also, I am able to start confd using a different yang file and a different but very similar confd.conf file.
There is no file called aaa.fxs on my hard drive, and I don’t think there needs to be.