Bug #4622
closedMove away from use of relative addresses in preconfigured certfile
0%
Description
While the location "certs/localhost_daemons_nfd.ndncert" is valid for running on a host system where the NFD PPA is installed, attempting to run it in emulated systems such as MiniNDN will cause fatal errors as it attempts to reference a nonexistent local directory. Without making the user have to alter their PPA nfd.conf file themselves, the only real solution to not causing errors is to prioritize the sample file, which can potentially break the ability to use custom configurations for testing. As this particular file seems to be unique to the PPA, would it be possible to change this reference to /etc/ndn/certs... to avoid this issue and potentially others in the future?
Updated by Alex Afanasyev almost 6 years ago
The mini-ndn version should simply run NFD with proper --config
parameter. It cannot rely on anything that is compiled in, and I don't see how it is related to packaging.
Updated by Alexander Lane almost 6 years ago
Alex Afanasyev wrote:
The mini-ndn version should simply run NFD with proper
--config
parameter. It cannot rely on anything that is compiled in, and I don't see how it is related to packaging.
The preconfigured nfd.conf file I'm referring to only appears in the NFD repo as far as I am aware. However, on further inspection all this fix does is appear to cause NLSR to crash on initialization rather than NFD and as such I'm closing it. Apologies for taking up your time.
Updated by Junxiao Shi almost 6 years ago
- Status changed from New to Closed
Closed according to note-2.