/srv/irclogs.ubuntu.com/2007/11/21/#upstart.txt

ExalIm trying to start an application on the tty300:00
ExalI have disabled load a teminal on /etc/event.d/tty300:01
Exalso, im wondering where indicate to run the application00:01
ExalI have my line: astk:2345:respawn:/usr/sbin/asterisk >/dev/tty3 2>&1 </dev/tty300:02
Exal 00:02
Exalwhere should be this?00:02
mbieblExal: copy /etc/event.d/tty3 to /etc/event.d/asterisk (or choose a name as you like)00:13
mbiebland change the exec line accordingly.00:13
Exalmbiebl: if I create a /etc/inittab with the line I pasted above doesn't work?00:16
Exalmbiebl: exec astk:2345:respawn:/usr/sbin/asterisk >/dev/tty3 2>&1 </dev/tty300:19
Exalis ok?00:19
mbieblno00:20
mbieblexec line must be something like00:21
mbieblexec /usr/sbin/asterisk >/dev/tty3 2>&1 </dev/tty300:21
Exalho, thanks :)00:21
mbiebland don't use /etc/inittab anymore00:22
Exalmbiebl: ok :)00:22
Exalthen, I can put any file in /etc/event.d ?00:28
mbieblwell, you can define as many jobs as you want, as long as the files have the correct format.00:35
mbieblhttp://upstart.ubuntu.com/getting-started.html00:36
mbieblhttp://upstart.ubuntu.com/wiki/Stanzas00:37
=== ion__ is now known as ion_
Keybukmbiebl: elmo's trying to persuade me to blog about Debian not giving patches back to Ubuntu15:37
Jc2kKeybuk: on debian vs ubuntu:15:39
Jc2kdebian lenny has a bug in its intel 3945 support that ubuntu fixed months and months ago15:39
Jc2ktheir tracker knows of the ubuntu fix...15:39
Jc2kyet they do not fix.15:40
Jc2kim confibbled, but luckily im happy enough with the killswitch toggling workaround ;_;15:40
mbieblKeybuk: this is a much too broad statement.15:43
mbieblThere surely are DDs and corresponding Ubuntu Developers where the collaboration is suboptimal.15:43
mbieblOn the other hand, take the X maintainers.15:44
Keybuktrue, the issue is that we get flamed for every single time we fail to submit a patch back15:44
Keybukor fail to honour the Debian maintainer in the control file15:44
mbieblWell, flaming back won't help imho.15:44
Keybukor change the build/patch system15:44
Keybuketc.15:44
Keybukyet Debian does it all the time -- even for certain packages like "upstart" :-)15:44
mbieblReally?15:45
Keybukyeah, I agree flaming back won't help at all15:45
Keybukalso I really really don't care about Debian -- and argue that Ubuntu shouldn't derive from it anymore :p15:45
mbieblI tried to inform you whenever I made changes which would make sense for you in Ubuntu.15:45
Keybukmbiebl: there's a few patches I found in your postinst, etc. that make sense for Ubuntu15:45
Keybukand you changed the patch system15:45
Keybuk(nb: I really don't mind -- I just find it ironic)15:45
mbieblThe patch system is currently unused, so I saw no point for you to add it.15:46
mbieblAh, now I see what you are referring to: The usage of dpkg-query in postinst.15:48
mbieblähm, I mean preinst.15:49
mbieblKeybuk: So I admit, my fault. 15:51
ion_keybuk: Would you perhaps consider licensing libnih as LGPL? :-)15:51
ion_I'm getting fed up with glib's inconsistencies, but i'm going to license this project as LGPL.15:52
Keybukion_: err.15:53
Keybukthe problem with that is that libnih assumes the program it's linked to is GPL 2 or later15:53
Keybukbecause that's what it writes in the output for --version15:53
mbieblKeybuk: about the patch system: you currently don't use one in you ubuntu package, but I needed one for some smaller changes.15:55
mbieblDo you actually want that to submitted back?15:55
Keybuknah15:55
KeybukI do actually use one from time-to-time in the Ubuntu package15:55
Keybuke.g. for -updates15:55
ion_I'd have to implement a lot of stuff i get from glib for free, though. UTF-8 handling for instance. Perhaps i'll just live with it. :-)15:55
mbieblWhich one do you normally use then?15:56
Keybukion_: err, you get that from glibc for free15:56
Keybukmbiebl: home grown simple patchsys-a-like15:56
ion_I mean glib's UTF-8 helper functions.15:56
ion_And PCRE helper functions etc.15:56
Keybukion_: what do you need those for?15:56
KeybukI tend to find that if you're trying to "deal" with UTF-8, you're doing it wrong ;)15:56
ion_Well, i need to have a loop that iterates each UTF-8 character from a string and does stuff with it.15:57
mbieblAbout the preinst stuff: shall I send you a patch for that?15:57
ion_The code being portable to Windows™ is a plus, since some users might use it.15:58
mbieblKeybuk: I guess one problem might be, that DDs don't know, if you pull the debian packages verbatim from the unstable archive (as happens for most motu packages)15:59
mbieblor if they diverged and maintained separately.15:59
Keybukmbiebl: sure16:00
mbieblFor the first case, any changes to the package will be applied to the corresponding ubuntu package automatically.16:00
Keybukion_: on licensing16:00
KeybukI'm finding the current licence problems distateful16:00
Keybukhave been considering what the best licence for libnih/upstart actually i16:00
Keybukis16:00
ion_Ok16:01
Keybukand the whole GPL 2 vs GPL 2+ vs GPL 3 vs GPL 3+ mess is just a train wreck16:02
ion_Yeah :-P16:02
Keybukit worries me that people think they can take GPL 2+ code and relicense it to GPL 316:02
Jc2klike BSD -> GPL spectacle ?16:05
Keybukindeed16:06
mbieblKeybuk: so, for the future, shall I send you a PM with a patch, submit a bug against lp or just ping you on irc?16:11
mbieblYou know, I'm actually interested in improving the collaboration ;-)16:12
mbieblAnd I'd say, most of the time it works really well for the packages I maintain.16:12
Keybuksubmit patch in LP :)16:15
mbieblok16:15

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!