Project

General

Profile

Bug #215

omniORB default configuration file

Added by Guilhem Saurel 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-

Description

Hi,

In middleware/omniORB/Makefile:57, the sample.cfg file is installed in ${PREFIX}/share/examples/omniORB/. Is there a reason not to install it directly in $OMNIORB_ETCDIR ?

Ubuntu's version provides a functional configuration file by default without requiring any user's action, so this is misleading when they switch to robotpkg's deb:
https://github.com/humanoid-path-planner/hpp-corbaserver/issues/90

Best,
Guilhem.

#1

Updated by Anthony Mallet 8 months ago

Is the default sample.cfg OK?

Ubuntu does

@@ -394,7 +394,7 @@
 #   A call to resolve_initial_references("MyService") will return the object
 #   reference denoted by `corbaloc::myhost.example.com/MyService'.
 #
-#   The default is empty.
+DefaultInitRef = corbaloc::

Is it needed?

#2

Updated by Guilhem Saurel 8 months ago

I just checked, and it is. This might explain why I had issues with Arch… Thanks for noticing !

#3

Updated by Anthony Mallet 8 months ago

One issue with automatically putting files in etc/ is that `apt
install` seems to happily overwrite any custom user file here, and
`apt purge` will just delete the file even if it was modified.

This is not a desired behaviour for user configuration files ...

#4

Updated by Anthony Mallet 8 months ago

  • Status changed from New to Closed

Also available in: Atom PDF