Hi Mathieu, Thank you a lot for your time spent in reviewing and rearranging PMLinux's dirs/files layout.
Actually, Breno, Erwan and I etc. already discussed about FHS (FileSystem Hierarchy Standard) enforcement several weeks ago. The right home for PMLinux seemed to be at /opt/ibm/pm/. Accordingly, I had ever created a PMLinux package based on that new home (see middle column in the attachment). However, that newly built PMLinux package did not pass lintian’s validation either, with almost as many non-compliance complaints as for PMLinux's original .deb. In other words, lintian did not really comply with the FHS standard for itself! Regarding your suggestion at a different location /usr/lib/ibmpmlinux/. I am afraid it might still not satisfy lintian because this path is also unknown to lintian. If that has no problem, I'd like to change to /usr/lib/ibm/pm/ for possible compatibility issues in case other IBM products may face the same frustration in future. Please review the detailed layout at 3rd column in the attachment. In order to make PMLinux work as before, a few symbol links need to be created by PMLinux installation scripts (see bottom part in the attachment). If the links, such as /var/perf/pm pointing to PMLinux's new home, are not allowed, then PMLinux requires lots of modifications to be adapted for new layouts. Personally, I still prefer PMLinux’s current dirs/files layout (see 1st column in the attachment). As I think, FHS’s distribution style is only good for the essential kernel/utilities of Linux system. It is overdone for Ubuntu to discipline any independent applications with FHS, because not every product acts/sits very close to core system, and mixing up their files with others makes simple things complicated. Instead, small tree layout (Windows style) has its tremendous conveniences. "Will PMLinux still work properly if we move all the binaries to /usr/lib/ibmpmlinux, for example?" Yes, but only if PMLinux (programs) can manage to locate PMLinux.cfg. PMLinux was designed to find the parameters file in this sequence: as specified by command line option, in subdirectory "config" under the program's parent directory, or in default directory "/var/perf/pm/config". If PMLinux.cfg not found (like sitting inside /etc without a link reference), PMLinux will run at /var/perf/pm with hard-coded default options. "Could we please have a new copy of the documentation with paths changed?" As commented above, if we are allowed to create a few symbol links to regain the original layout, then nothing in the documents needs correction. Otherwise, many codes & documents need to be changed and tested – There will be no quick answer in this tough circumstance. ** Attachment added: "PMLinux Dirs-Files layouts for PM home at /var/perf/pm, /opt/ibm/pm, or /usr/lib/ibm/pm" https://bugs.launchpad.net/ubuntu/+bug/1448092/+attachment/4466417/+files/PMLinux%20Dirs-Files%20Layouts.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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs