=== juergbi [n=juerg@80-219-19-183.dclient.hispeed.ch] has joined #upstart === mbiebl [n=michael@e180073108.adsl.alicedsl.de] has joined #upstart === mbiebl [n=michael@e180073108.adsl.alicedsl.de] has joined #upstart === mbiebl [n=michael@e180073108.adsl.alicedsl.de] has joined #upstart === Md [i=md@freenode/staff/md] has joined #upstart === kylem [n=kyle@amnesiac.heapspace.net] has joined #upstart === eXosypher [n=exosyphe@adsl-87-102-92-197.karoo.KCOM.COM] has joined #upstart [03:53] hellu [03:53] anyone alive? [04:01] :( === Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart === tck [n=tck@213-202-144-195.bas502.dsl.esat.net] has joined #upstart === mbiebl [n=michael@e180073174.adsl.alicedsl.de] has joined #upstart === tck_ [n=tck@78.16.93.41] has joined #upstart === Md [i=md@freenode/staff/md] has joined #upstart [09:20] Hello. I just upgraded from Ubuntu Edgy (which was a fresh install with upstart) to Feisty. Now the system only boots to runlevel "unknown". I always have to login and run `telinit 3` (sic!) to start all the daemons and the dm. `telinit 2` results in `runlevel` => "unknown", too. There's no /etc/inittab file and no "single" or similar argument in /proc/cmdline. What is wrong here? === jonib1 [n=jonas@ua-83-227-144-18.cust.bredbandsbolaget.se] has joined #upstart [09:34] Id suggest sending the question to the mailing list. [09:40] ion_: Ok, thank you. === Keybuk [n=scott@wing-commander.netsplit.com] has joined #upstart === docwhat [n=holtje@office.vivisimo.com] has joined #upstart [11:07] Hello! Is logd supposed to be running all the time? [11:07] This is ubuntu.... [11:09] in edgy it does, in feisty it doesn't [11:13] Ah. [11:13] Where does it log output to? [11:13] I'm sort of expecting behaviour like in supervise or runit..... [11:13] I love the way the logging works there (ie, it uses stdout/stderr not magic logging functions). === mbiebl [n=michael@e180071156.adsl.alicedsl.de] has joined #upstart [11:14] /var/log/boot [11:14] logd captures stdout/stderr of running jobs [11:15] Keybuk: Are you familiar with how supervise does it? [11:16] no [11:17] It's similar.... There is a processes (one per daemon to be logged) that is kept always running (respawn). This process just adds a timestamp to each line and writes it to a file with buffering options you set. It's nice because your daemon doesn't need: sysklogd libraries, fancy logging routines, or behave differently depending on if you're testing it or running it production. [11:17] logd with 'console logged' sounds similar. Except for the running one per daemon. [11:17] though it does mean you end up with lots and lots and lots of processes [11:17] consuming lots and lots of resources [11:18] The other neat thing is that the daemon can segfault without loosing logging output. Equally, you can change the logging or role the log without restarting the daemon! [11:18] The loging processes usually don't consume much resources. A logging process is cheap compared to a daemon. It just takes input and sends it to disk. [11:19] You probably pay a small context switch cost vs. a single logging daemon (like sysklogd), but it is much much much simpler and easier to debug, configure and fix (and make secure!). === tck [n=tck@213-202-172-1.bas504.dsl.esat.net] has joined #upstart [11:19] and much more difficult to restart when you do find a bug ;) [11:20] Oh no, very easy. As I said, the logger and the daemon are separate. You can restart either/or without impacting the other. [11:21] yes, but you have to restart a couple of dozen logging daemons rather than just one [11:21] Ah, I see what you mean. Sure. But the shell script for that would be: for i in /var/services/*/log; do sv restart $i ; done [11:21] or something similar. [11:22] actually, I think there is a command other than restart to do a cond-restart.... [11:22] (ie, restart if up) [11:23] *shrug* another alternative is just make the init.d for the daemon include the logger there, but I figured since upstart already had a runit/supervise feel to it that this would be a nice addition. === mbiebl [n=michael@e180071156.adsl.alicedsl.de] has joined #upstart [11:23] it's pretty much what we already do, no? [11:23] Thanks for the chat, Keybuk! I have to go. Have a good day. :-) [11:23] Yup. === docwhat [n=holtje@office.vivisimo.com] has left #upstart []