[Pkg-zenoss-team] [Zenoss] #1442: FHS/LSB-Compliance for package
(rpm, deb) based distribution
Zenoss
trac at zenoss.org
Wed May 9 22:07:36 UTC 2007
#1442: FHS/LSB-Compliance for package (rpm, deb) based distribution
-------------------------+--------------------------------------------------
Reporter: zenoss | Owner: edahl
Type: enhancement | Status: new
Priority: medium | Milestone: zenoss-2.0
Component: All | Version: 1.8.2
Keywords: fhs, lsb |
-------------------------+--------------------------------------------------
Dear developers,
as an absolute must for Debian and as a great improvement for your rpm
packages we suggest to enhance your bin/* scripts to make it possible to
install them in a FHS/LSB compliant way. This includes the following
points:
* scripts may not rely on having a $ZENHOME in the environment, except
as a fallback for not package based installations. There're some default
locations (like /etc) where a script could look for a configuration file,
which can be sourced. They need to be able to do their job while living in
/usr/bin or wherever else, as long as they're able to find their
configuration file - which should be a fixed place in all package based
installations.[[BR]]
* start/stop scripts for daemons go into /etc/init.d and use (if they
exist) LSB compliant ways to start/stop/... and announce what they're
doing at the moment. [[BR]]
* not executeable files may not be in a bin directory. If there're any
helpers to source, their place could be announce in the config file,
having a fail back to /usr/share/zenoss or similar places, and in the non-
package based distribution: fail back to $ZENHOME.
Probably there're some thing missing here, but I hope you see my point.
Now there're two ways to achieve this for Debian:
* we patch this functionality into the scripts in a Debian-only way
* you'll work together with us to find a general way to solve the
problem and fix it not only for Debian, but also enhance your rpm based
distribution[[BR]]
Please note that it is also more easy to update selinux policies for
programs in fhs conform directories, with some luck you won't have to
update anything at all. To close with my personal opinion: a packaging
which integrates well into a system look much mroe professional. I know
it's hard to achieve to provide one rpm for all the different rpm based
distributions, but most of them should be fhs/lsb conform, and for the
worse case there coule be a rpm which delivers Zenoss in a fhs conform way
in /opt.
Best regards,
Bernd Zeimetz
for the Debian Zeonoss packaging team
--
Ticket URL: <http://dev.zenoss.org/trac/ticket/1442>
Zenoss <http://example.com/>
Zenoss Monitoring System
More information about the Pkg-zenoss-team
mailing list