Exal | Im trying to start an application on the tty3 | 00:00 |
---|---|---|
Exal | I have disabled load a teminal on /etc/event.d/tty3 | 00:01 |
Exal | so, im wondering where indicate to run the application | 00:01 |
Exal | I have my line: astk:2345:respawn:/usr/sbin/asterisk >/dev/tty3 2>&1 </dev/tty3 | 00:02 |
Exal | 00:02 | |
Exal | where should be this? | 00:02 |
mbiebl | Exal: copy /etc/event.d/tty3 to /etc/event.d/asterisk (or choose a name as you like) | 00:13 |
mbiebl | and change the exec line accordingly. | 00:13 |
Exal | mbiebl: if I create a /etc/inittab with the line I pasted above doesn't work? | 00:16 |
Exal | mbiebl: exec astk:2345:respawn:/usr/sbin/asterisk >/dev/tty3 2>&1 </dev/tty3 | 00:19 |
Exal | is ok? | 00:19 |
mbiebl | no | 00:20 |
mbiebl | exec line must be something like | 00:21 |
mbiebl | exec /usr/sbin/asterisk >/dev/tty3 2>&1 </dev/tty3 | 00:21 |
Exal | ho, thanks :) | 00:21 |
mbiebl | and don't use /etc/inittab anymore | 00:22 |
Exal | mbiebl: ok :) | 00:22 |
Exal | then, I can put any file in /etc/event.d ? | 00:28 |
mbiebl | well, you can define as many jobs as you want, as long as the files have the correct format. | 00:35 |
mbiebl | http://upstart.ubuntu.com/getting-started.html | 00:36 |
mbiebl | http://upstart.ubuntu.com/wiki/Stanzas | 00:37 |
=== ion__ is now known as ion_ | ||
Keybuk | mbiebl: elmo's trying to persuade me to blog about Debian not giving patches back to Ubuntu | 15:37 |
Jc2k | Keybuk: on debian vs ubuntu: | 15:39 |
Jc2k | debian lenny has a bug in its intel 3945 support that ubuntu fixed months and months ago | 15:39 |
Jc2k | their tracker knows of the ubuntu fix... | 15:39 |
Jc2k | yet they do not fix. | 15:40 |
Jc2k | im confibbled, but luckily im happy enough with the killswitch toggling workaround ;_; | 15:40 |
mbiebl | Keybuk: this is a much too broad statement. | 15:43 |
mbiebl | There surely are DDs and corresponding Ubuntu Developers where the collaboration is suboptimal. | 15:43 |
mbiebl | On the other hand, take the X maintainers. | 15:44 |
Keybuk | true, the issue is that we get flamed for every single time we fail to submit a patch back | 15:44 |
Keybuk | or fail to honour the Debian maintainer in the control file | 15:44 |
mbiebl | Well, flaming back won't help imho. | 15:44 |
Keybuk | or change the build/patch system | 15:44 |
Keybuk | etc. | 15:44 |
Keybuk | yet Debian does it all the time -- even for certain packages like "upstart" :-) | 15:44 |
mbiebl | Really? | 15:45 |
Keybuk | yeah, I agree flaming back won't help at all | 15:45 |
Keybuk | also I really really don't care about Debian -- and argue that Ubuntu shouldn't derive from it anymore :p | 15:45 |
mbiebl | I tried to inform you whenever I made changes which would make sense for you in Ubuntu. | 15:45 |
Keybuk | mbiebl: there's a few patches I found in your postinst, etc. that make sense for Ubuntu | 15:45 |
Keybuk | and you changed the patch system | 15:45 |
Keybuk | (nb: I really don't mind -- I just find it ironic) | 15:45 |
mbiebl | The patch system is currently unused, so I saw no point for you to add it. | 15:46 |
mbiebl | Ah, now I see what you are referring to: The usage of dpkg-query in postinst. | 15:48 |
mbiebl | ähm, I mean preinst. | 15:49 |
mbiebl | Keybuk: 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 |
Keybuk | ion_: err. | 15:53 |
Keybuk | the problem with that is that libnih assumes the program it's linked to is GPL 2 or later | 15:53 |
Keybuk | because that's what it writes in the output for --version | 15:53 |
mbiebl | Keybuk: about the patch system: you currently don't use one in you ubuntu package, but I needed one for some smaller changes. | 15:55 |
mbiebl | Do you actually want that to submitted back? | 15:55 |
Keybuk | nah | 15:55 |
Keybuk | I do actually use one from time-to-time in the Ubuntu package | 15:55 |
Keybuk | e.g. for -updates | 15: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 |
mbiebl | Which one do you normally use then? | 15:56 |
Keybuk | ion_: err, you get that from glibc for free | 15:56 |
Keybuk | mbiebl: home grown simple patchsys-a-like | 15:56 |
ion_ | I mean glib's UTF-8 helper functions. | 15:56 |
ion_ | And PCRE helper functions etc. | 15:56 |
Keybuk | ion_: what do you need those for? | 15:56 |
Keybuk | I 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 |
mbiebl | About 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 |
mbiebl | Keybuk: 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 |
mbiebl | or if they diverged and maintained separately. | 15:59 |
Keybuk | mbiebl: sure | 16:00 |
mbiebl | For the first case, any changes to the package will be applied to the corresponding ubuntu package automatically. | 16:00 |
Keybuk | ion_: on licensing | 16:00 |
Keybuk | I'm finding the current licence problems distateful | 16:00 |
Keybuk | have been considering what the best licence for libnih/upstart actually i | 16:00 |
Keybuk | is | 16:00 |
ion_ | Ok | 16:01 |
Keybuk | and the whole GPL 2 vs GPL 2+ vs GPL 3 vs GPL 3+ mess is just a train wreck | 16:02 |
ion_ | Yeah :-P | 16:02 |
Keybuk | it worries me that people think they can take GPL 2+ code and relicense it to GPL 3 | 16:02 |
Jc2k | like BSD -> GPL spectacle ? | 16:05 |
Keybuk | indeed | 16:06 |
mbiebl | Keybuk: 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 |
mbiebl | You know, I'm actually interested in improving the collaboration ;-) | 16:12 |
mbiebl | And I'd say, most of the time it works really well for the packages I maintain. | 16:12 |
Keybuk | submit patch in LP :) | 16:15 |
mbiebl | ok | 16:15 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!