On Thu, 01 Oct 2009 10:03:02 +0200 Florian Haas <florian.haas@xxxxxxxxxx> wrote: > >> Any valid arguments against providing a Debian compatible init script? I > >> fail to follow the idea of "this particular init script doesn't run on > >> all platforms under the sun, thus it's better to not include one at > >> all". There's plenty of projects out there that provide one init script > >> for fully LSB compliant platforms and one for Debian. > > > > - I can't find /etc/init.d/functions on my box. > > > > - I can't find /etc/sysyconfig/ on my lenny box. > > > > - I can't find 'daemon' program on my box. Debian uses > > start-stop-daemon, I guess. > > > > It's not just about LSB. An init script that can run on any > > distributions is not realistic. > > I already made my point that I'd be happy to contribute to a Debian > specific init script. This could go in scripts/ as tgtd.init.debian or > whatever, and then one would fix up scripts/Makefile to check for the > presence of /etc/debian_version on install, and use the Debian script if > one installs on Debian. What's the problem with that? Debian doesn't want to have packing files in upstream so I don't merge your scripts/tgtd.init.debian or whatever. Just split Makefile. It's fine by me. Then you can easily maintain your changes in your own tree. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html