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.

** Attachment added: "PMLinux Dirs-Files layout with of static in /opt/ibm/pm/ 
and variable in /var/opt/ibm/pm/"
   
https://bugs.launchpad.net/ubuntu/+bug/1448092/+attachment/4472742/+files/PMUbuntu%20opt-var%20proposal.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1448092

Title:
  [needs-packaging] ibmpmlinux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1448092/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to