On Mon, Feb 23, 2015 at 10:03 AM, Predrag Ivanovic <predivan@open.telekom.rs> wrote:
IIRC, as a general rule, it is mandatory/really recommended to have all core ports installed on a
system, so converting openssh rc script to use start-stop-daemon and not listing it
as a run-time dependency is not a problem, since its part of the core, so must be installed.
If you want a working system, that is :)

This is fine if you are installing *new*. 

This is not fine when you are *upgrading*.

This is where this policy breaks down.

Not only that but our current package management tools will not:

a) warn about such situations

or

b) install new dependencies

"We encourage all port maintainers to use start-stop-daemon in
their rc scripts. This will improve the scripts a lot without
the need for complex shell scripting."

This is fine if that's what CRUX is going to be doing going forward.
 

I find it is much easier to use upstream provided init/rc script  for Debian and
modifying it, if needed,  than starting from scratch, when I am making a port.

Generally when porting new software services/daemons I ignore any upstream init/rc scripts
and just use /etc/rc.d/sshd as a template. But that's just me :)

cheers
James