Contents |
Add comments here.
(Some of the comments have been superseded by the consensus/under duscussion of LsbinstallProblems)
To be used daemons are usually automatically started either at boot (init.d) or upon connection to a certain port ([x]inet), but sometimes an administrator installs a damon only to look the config and to deploy later. Usually it is a good idea not to enable these daemons at install time (e.g. get a security update & configure first), but some ISV prefer to enable them right a way. Currently, install_initd/remove_initd allows the ISV to decide to enable the init.d script - or not. In any case the admin only needs to dis-/enable the script without needing to copy any file.
It should therefore be possible to install inet and init files without enabling them. Having the ability to enable them might be useful too.
Post scriptum:
If one allows for direct installation (e.g. via package manager), then one needs to apply the naming conventions of init.d/cron.* scripts.
The first operand shall have the format %d/%s with the port number and protocol values (e.g. 22/tcp)
Shouldn't one require that the protocol is either tcp or udp? no - other protocols may be permitted on some systems. The protocol must be one supported by the implementation. However, we do not specify `/etc/protocols` (except FHS does??) so there is no good way to determine if the protocol is supported or not.
This installs a crontab (to typically /etc/cron.d/), the functionality to put a script (not a crontab) to /etc/cron.{daily,monthly,weekly,hourly}/ is different.
If it only adds the path to MANPATH there is not really a naming collision, if it insteads copies the file to /usr/share/man/*/ then there is the collision problem. Renaming a file causes a problem too - unless you use 'man -k', you won't find the file using 'man <bin>'.