Comment 11 for bug 56426

Revision history for this message
Fergal Daly (fergal) wrote :

"too lazy or stupid to read the initscript"

I was neither too stupid nor too lazy to read it. The point is that I *should not have to*. Luckily enough I was able to figure this out. Ubuntu is supposed to be for everyone and many people wouldn't be able to figure this out.

In case you still disagree with my stance, here's a use case for from the design doc:

---
Sayid is an experienced UNIX user, with multiple years of experience. He does not wish to have to relearn that which he has learned already, and would rather continue using the tools that he is used to and only learn the newer ones when necessary.
---

https://wiki.ubuntu.com/ReplacementInit

Also, I'm not saying initscripts should ignore /etc/default, I'm saying that there should not be a "don't start the daemon" switch in /etc/default. The correct way to not start a daemon is to not invoke its initscript!

As for precedents, a quick poke around in my /etc/init.d turns up no other examples of conditional startup installed at the moment. So I would argue that what you call precedents are bugs too.

I agree with you that the current version does not belong in /etc/init.d but rather than just moving it somewhere else, it should be fixed to work like a standard initscript and if you really want a script with the current behaviour that's fine too, just put it somehwere else.