mbiebl | PuffTheMagic: 0.6 has a dbus interface | 00:48 |
---|---|---|
mbiebl | dbus bindings is something slightly different :-) | 00:48 |
PuffTheMagic | is it possible to build upstart with out dbus or does it strictly rely on it | 01:53 |
mbiebl | libdbus is used for the internal ipc | 02:03 |
mbiebl | it's not possible to build without it | 02:03 |
PuffTheMagic | ok so the Palm Pre uses upstart for init... but I dont see anything upstart related in /etc/dbus-1/*.d/ | 03:51 |
PuffTheMagic | can someone help me get get my userland setup so I can talk to upstart from another program | 03:51 |
* JamesB192 suposes it might be using 0.3.x or 0.5.x in all likelyhood in which case no dbus support. | 05:00 | |
* JamesB192 has not read anything about it. | 05:00 | |
Keybuk | PuffTheMagic: as far as I know, the Palm Pre uses Upstart 0.3.8 | 09:50 |
PuffTheMagic | damn... so pre dbus | 14:49 |
Keybuk | yeah, it's a couple of years old | 14:49 |
Keybuk | haven't been able to get through to any of the Palm webOS developers | 14:49 |
sadmac | ahh, take-it-and-go open source. Not just for the BSD license any more! | 14:52 |
* ion posted to http://thread.gmane.org/gmane.comp.version-control.git/123658 as well | 16:20 | |
Stevee | hello | 16:24 |
Stevee | i'm one of the developers of a linux based firewall distribution | 16:24 |
Stevee | and we want to replace sysvinit with upstart in our next version | 16:25 |
Stevee | i've compiled upstart like the tutorial on the upstart webpage | 16:26 |
Stevee | but it doesn't work correctly | 16:27 |
Stevee | at first rcS is starting, and also the scripts | 16:27 |
Stevee | but at the switch to the runlevel the system is freazing | 16:28 |
Stevee | when i use init=/bin/bash and use /sbin/init or /sbin/telinit plus runlevel i always get the same error message | 16:29 |
Stevee | Failed to connect to socket /come/ubuntu/upstart: Connection refused | 16:29 |
Stevee | oh i'm sorry the error message is | 16:31 |
Stevee | Failed to connect to socket /com/ubuntu/upstart: Connection refused | 16:31 |
plautrba | Stevee: do you have any tty jobs? | 16:33 |
Stevee | yes i have tty jobs for upstart | 16:34 |
Stevee | but can i use the example scripts from 3.11 also in 6.1 ? | 16:34 |
plautrba | almost yes but it has to be in /etc/init/with .conf suffix | 16:37 |
plautrba | i've started with tty9.conf with "start on startup" | 16:37 |
Stevee | oh, i miss the .conf suffix | 16:37 |
Stevee | okay, maybe thats the problem | 16:38 |
Stevee | mhm, made no difference | 16:52 |
Stevee | the system feezed again | 16:52 |
Stevee | after the execution of all rcS scripts | 16:52 |
mbiebl | Stevee: which version of upstart ? | 16:53 |
Stevee | the newest one 0.6.1 | 16:53 |
mbiebl | could you pastebin the jobs files in /etc/init/*.conf | 16:53 |
Stevee | yes, no probelm | 16:54 |
mbiebl | Stevee: you can also try to run upstart in debug mode | 16:54 |
Stevee | just a moment | 16:54 |
mbiebl | add "--debug" to the kernel command line | 16:54 |
Stevee | mhm, how i chan do that | 16:54 |
mbiebl | depends on the boot loader | 16:54 |
mbiebl | with grub it's pretty easy | 16:54 |
Stevee | after init=/sbin/init --debug ? | 16:55 |
mbiebl | yeah | 16:56 |
Stevee | a question only one job can be at startup or ? | 17:07 |
Keybuk | as many as you want | 17:08 |
=== robbiew is now known as robbiew-afk | ||
plautrba | Stevee: anotherproblem i had was that in fedore is not /etc/init.d/rc but /etc/rc.d/rc | 17:57 |
plautrba | Stevee: it's called from rc.conf | 17:57 |
Stevee | yes that was my fitst problem | 17:58 |
Stevee | in our distribution we also have no /etc/init.d/rcS | 17:59 |
Stevee | so i had to change to exec /etc/init.d/rc S in the jobfiles | 17:59 |
plautrba | /etc/init.d/rcS is for me /ert/rc.sysinit | 18:02 |
Stevee | okay, now i can switch between the tty | 18:14 |
Stevee | on tty1 is the boot process, but its freezed again | 18:14 |
Stevee | on tty2 to tty6 i got a login promt | 18:15 |
=== Keybuk changed the topic of #upstart to: Upstart 0.6.2 "Buggrit, millennium hand and shrimp" | http://upstart.ubuntu.com/ | ||
Stevee | do i need a jobfile for the runlevels ? | 18:38 |
sadmac | Stevee: if you want to use them for anything | 18:40 |
sadmac | Stevee: should be possible to have one job file cover them all now. | 18:40 |
Stevee | like the rc.conf in the current ubuntu developement version ? | 18:41 |
Stevee | karmic ? | 18:42 |
Stevee | okay, once again, all scripts from rcS are finished | 19:01 |
Stevee | but no runlevel change | 19:01 |
Stevee | but i've got 6 tty's | 19:01 |
sadmac | Stevee: what aren't you seeing in terms of runlevel change? | 19:02 |
Stevee | the problem is nothing | 19:04 |
Stevee | i got the echo from the last rcS script | 19:05 |
Stevee | and than nothing on the tty1 | 19:05 |
sadmac | hm | 19:05 |
Stevee | on the other tty's i got a login promt | 19:05 |
=== Jc2k_ is now known as Jc2k | ||
Stevee | how can exec /etc/sulogin on tty2 or an other tty ? | 19:22 |
sadmac | don't think you can | 19:23 |
Stevee | mhm | 19:23 |
Stevee | thats bad | 19:23 |
sadmac | why would you? | 19:23 |
Stevee | to get into the test system | 19:23 |
Stevee | at it is alpha 2 | 19:24 |
Stevee | on other tty's i got a login promt but we have no users and passwords at the moment | 19:25 |
_|ms|_ | hi guys | 21:18 |
_|ms|_ | I need some help with the integration of upstart | 21:20 |
sadmac | go ahead | 21:25 |
_|ms|_ | I don't want to use the compat sysv mode :D | 21:25 |
_|ms|_ | and I'm searching for some advice how to do the "new" mode :D | 21:25 |
_|ms|_ | there are only very few example scripts... | 21:25 |
sadmac | well there's not too much of a set way of doing it. You can look at what ubuntu has on launchpad | 21:27 |
_|ms|_ | I already have :D | 21:27 |
_|ms|_ | well, what I already have done: | 21:27 |
_|ms|_ | ./configure ... && make && make install | 21:27 |
=== robbiew is now known as robbiew-afk | ||
_|ms|_ | and now, do I only have to put the *.conf files to /etc/init? | 21:28 |
_|ms|_ | seems too easy to me :D | 21:28 |
=== robbiew-afk is now known as robbiew |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!