Comment 27 for bug 1448092

Revision history for this message
Guo, Liang Chang (lcguo) wrote :

Thank you Mathieu.
Q: "Would it be possible to recompile just to replace /var/perf/pm with /opt/ibm/pm? "
A: Although technically possible, it might raise questions on the viability of PM-Ubuntu project:
   1) For a FHS-compliant system, it is supposed to store "static" things only in /opt which may then be mounted for read only;
   2) There will be awful consequences to move home for PM (for IBM i, AIX, Linux, KVM ...) after we released the product more than a decade.

Q: "This way we could have a PMLinux.cfg in a reasonable location and use it to guide binaries ..."
A: Impossible. Program always runs first before configuration takes effect. It's the location of binaries that matters and guides where to find the configuration file, then knows where to store data and where to locate other things (such as sub-programs, text documents, temporary locks/buffers etc.).

Q: "or have the binaries 'just work' without any config file present?"
 A: Yes, PM can works well with .cfg file absent. In this circumstance, PM must run in default patterns. However, if config file does not exist, there is no way to control PM behaves differently (off the defaults), particularly, under the specific directories layout on Ubuntu.

Here I update the proposal (version 1.1, right sheet in the attachment) for your review for PM-Ubuntu with the files of static in /opt/ibm/pm and of dynamic in /var/opt/ibm/pm, except the manual's (static) still in the traditional place /usr/share/man.