Re: LSB headers and other junk, how do you hack a quick init script in debian these days?
Who needs to document their own pc they hack on daily? suddenly I couldnt just place a script in rc2.d folder anymore, needed to symlink needed to add an lsb header too it seems maybe I'm overlooking something I prefer to hack on my own without using debian tools, update-rc.d i.e. would be nice to be able to place a script in rc2.d folder again, even though it isn't a symlink it seems that 'feature' has been removed in the new debians I wouldn't do it at work/anywhere where documentation is important though but why force people to document / use the right tools? I prefer an OS that is easy to hack around debian init scripts is something that frustrates me often, because I can't just hack them easily need to symlink in different folders or use the debian tool got no experience with sysV or whatever it uses, only bash programming which I am fairly good with so it frustrates me that hacking initscripts should be so annoying at times :P it used to work good back in the days, I could just add an S99mio and that would get executed after booting not anymore, now it needs to be symlinked and all it seems there used to be an /etc file one could edit to make boot scripts anyone remember which one? rc.local or such I think, but not sure anymore, debian has changed a bit lately it seems How do you hack a quick init script these days?:) On Tue, 21 Oct 2014, Martinx - ジェームズ wrote: Hey Paul, I really appreciate your feedback. Glad to see that at least, systemd in Debian have some boundaries. Whew! Tks! I'll try to disable html messages for all Debian Lists at my GMail account right now, sorry about that. Nevertheless, I'm not flaming (not my intention, really), I care about Debian. ;-) Cheers! Thiago ** We don't need kdbus @ PID 1. It did not got merged into Linux 3.15... Think about it.* ** uselessd might replace systemd, since it have all that CGroups cool stuff, without systemd's useless bits. We just need a new udev! :-P* On 21 October 2014 02:21, Paul Wise p...@debian.org wrote: Please do not use HTML mail on Debian lists. Please do not flame on Debian lists. https://www.debian.org/MailingLists/#codeofconduct https://www.debian.org/code_of_conduct On Tue, Oct 21, 2014 at 1:34 AM, Martinx - ジェームズ wrote: tried it without success, lots of bugs popped everywhere when with systemd), Please file bugs about issues you find in Debian packages: https://www.debian.org/Bugs/Reporting http://0pointer.net/blog/revisiting-how-we-put-together-linux-systems.html ... So, is systemd even trying to replace dpkg+apt too? No. -- bye, pabs https://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141021064119.ga31...@rlogin.dk
Re: LSB headers and other junk, how do you hack a quick init script in debian these days?
Michael Ole Olsen g...@gmx.net wrote: How do you hack a quick init script these days?:) I write a systemd unit file. It’s smaller, faster to write, easier to understand and works more reliably. Cheers, -- .''`.Josselin Mouette : :' : `. `' `- -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1413876487.4673.191.camel@dsp0698014
Re: LSB headers and other junk, how do you hack a quick init script in debian these days?
On Tue, 21 Oct 2014, Michael Ole Olsen wrote: suddenly I couldnt just place a script in rc2.d folder anymore, needed to symlink needed to add an lsb header too it seems Indeed. It took me quite some effort to learn about LSB headers, exit codes, SYSV init scripts, and all that, in order to fix our machines, on which coworkers had put “init scripts”, after Debian forcefully required insserv even for file-rc. (I come from a DOS/BSD background, so I haven’t had to deal with all that before.) That was shortly before systemd was introduced. Just when I finally learned how to write a proper Debian SYSV init script for things like JBoss/Wildfly with Liferay. I was not amused. I’ll be amused when my coworkers upgrade systems I have no control over, will get systemd (despite my warnings), and their scripts and systemd will have “interesting” effects because they don’t match what systemd documents a system state to be. bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/alpine.deb.2.11.1410211105540.10...@tglase.lan.tarent.de
Re: LSB headers and other junk, how do you hack a quick init script in debian these days?
On Tue, 21 Oct 2014 09:28:07 +0200, Josselin Mouette j...@debian.org wrote: Michael Ole Olsen g...@gmx.net wrote: How do you hack a quick init script these days?:) I write a systemd unit file. It’s smaller, faster to write, easier to understand and works more reliably. And it is also a bug to not have an init script since we still have ports that do not use systemd. People are working hard on eliminating those (non-systemd ports, not bugs). Greetings Marc -- -- !! No courtesy copies, please !! - Marc Haber |Questions are the | Mailadresse im Header Mannheim, Germany | Beginning of Wisdom | http://www.zugschlus.de/ Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fon: *49 621 72739834 -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e1xgvdi-xv...@swivel.zugschlus.de
Re: LSB headers and other junk, how do you hack a quick init script in debian these days?
Hi, I write a systemd unit file. It’s smaller, faster to write, easier to understand and works more reliably. And it is also a bug to not have an init script since we still have ports that do not use systemd. And this is also completely irrelevant as the question was about quickly hacking something together for local use. If it were about a package, then he would have to put stuff into /etc/init.d anyway, and add LSB headers, etc. In other words, it would work with systemd without him changing his habits. Of course, Michael, you can also always choose not to use systemd, should you wish to do so. It's not like that is complicated: $ aptitude install systemd-sysv- sysvinit-core systemd-shim Kind regards Ralf -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5446bb68.2030...@ralfj.de