On 04/12/2012 05:19 PM, Tom Lane wrote:
Background: after having done what the above text directs me to,
I had gotten beaten up over the fact that "service postgresql initdb"
no longer worked, and hence reinstituted a stub initscript that only
handles the nonstandard actions of the old one. Which works fine, or
at least it did as of last month when I last tried it. So now I'm in
violation of the guidelines for having tried to keep my users happy,
and I'm not happy, especially since the stated rationale is a falsehood.
systemd doesn't understand non-standard commands. "service" passes
through, but that was determined to be confusing.
If you want to make an initscript stub, you can, but it needs to be in a
separate subpackage, per the guidelines. We're trying not to have unit
files and sysv initscripts in the same package, whether they're stubs or
not.
~tom
==
Fedora Project