/srv/irclogs.ubuntu.com/2011/02/10/#upstart.txt

Keybukmorning18:42
adam_gheya.18:45
Keybukhow goes?18:47
adam_gwell. working with upstart for the first time.18:48
adam_gdoes a concept equivilent to the status operation of an LSB init script exist in upstart currently?18:49
djszapihi Keybuk18:51
djszapiKeybuk: upstart logging does not work ...18:51
Keybukdjszapi: it does, millions of people use it every day18:56
Keybukit may not be working for you18:56
KeybukI'm honestly starting to suspect somebody at Nokia has disabled that code in your source tree18:56
djszapinope18:57
djszapiI made an own build today.18:57
Keybukwell, it works for me18:58
Keybukperhaps you could tell me more about what doesn't work18:58
Keybukwhat you've tried18:58
Keybuketc.18:58
djszapiit does not help me if you keep repeating it :)18:58
Keybukit doesn't help you if you just say "nope" either ;-)18:59
djszapiI just know it can work, thus it is worthwhile to try to fix it.18:59
djszapiwell "nope" is a kool word :P18:59
djszapibtw, have you read my mail ?18:59
KeybukI haven't read your mail18:59
djszapiI do not know what else I could amend it with ...18:59
Keybukok19:00
Keybukso you've patched upstart with my kmsg patch?19:00
Keybukand that version of upstart is currently running as pid #1 ?19:00
djszapiwell, about.19:03
Keybuk"about" ?19:03
djszapiyeah, the patch did not change anything to the previous statement, there are *NO* such messages anywhere.19:04
Keybukright, I'm asking whether you have that version patched and running ;-)19:04
Keybukok19:04
Keybukso let's try something19:04
Keybuk(as root) run the following19:04
Keybuk# initctl log-priority19:05
Keybukit should print a word, what is that word?19:05
djszapiFYI: I am @ home.19:06
djszapi21:06 pm19:06
Keybukcan you not access that box?19:06
Keybukno VPN or anything?19:06
djszapito the prototype ?19:06
djszapino, I cannot.19:06
Keybukah19:06
djszapiit is quite perfectly locked into the safe box.19:06
Keybukwhat time of day can you usually access it?19:06
djszapiwhile being there ? :)19:06
Keybukwhat time?19:07
djszapino idea :)19:07
Keybukhaha, right19:07
djszapichange day by day19:07
djszapireally...19:07
Keybukso what I'll do is reply to your mail with a sequence of debugging steps19:07
Keybukif you could follow them exactly, and answer each of them when you have access to the box19:07
Keybukthen I should be able to figure out what's going wrong with it19:07
djszapiwell19:08
Keybukplease don't skip steps if you think you know the answer, the output I'm asking for is subtle and you might miss something that would tell me the problem19:08
djszapiI can access to it in 11 hours19:08
djszapiok sure do not be afraid of that :)19:08
Keybukyeah, in 11 hours I'll be going to bed19:08
djszapibtw, we use 0.6.619:08
djszapiwith quilt patchset19:09
djszapiwhere should I see kmsg logs ?19:09
djszapiI tried the dmesg and the console where printk happens.19:09
KeybukI actually have a hunch what's wrong19:09
Keybukbased on something somebody else at Nokia told me earlier this week ;-)19:10
djszapior go thorugh pls.19:10
djszapimaybe I can answer for some of them19:10
djszapiwhich can already show the mistake ...19:10
Keybukwell, first in your mail you say "warn" which actually means upstart will log *less*, you want log-priority info ;-)19:10
djszapisomebody ?19:10
djszapime or other guy ?19:10
djszapiyes19:10
Keybukbut I think in MeeGo you have an /sbin/init shell script wrapper for Upstart19:10
djszapiI tried info19:11
djszapithat was done19:11
Keybukand that wrapper is not passing command-line arguments to Upstart19:11
djszapinothing changed regarding this19:11
djszapithat is a typo in the mail, sorry.19:11
Keybukright19:11
djszapiI wanted to send a mail.19:11
Keybukwell, reply to my mail when you have the box, and follow the steps19:11
djszapiI have just been at the school19:11
Keybukand we'll chat tomorrow19:11
djszapi"but I think in MeeGo you have an /sbin/init shell script wrapper for Upstart" -> why so ?19:11
djszapibtw, ROTFL !!! :-) http://i.imgur.com/4kepL.jpg19:12
Keybukdjszapi: because someone else told me you do in the thread where I posted the kmsg patch19:12
djszapihuh ?19:12
djszapinot gotcha ...19:12
Keybukit's ok19:13
Keybukwe'll pick this up tomorrow19:13
djszapihighly doubt19:13
Keybukhey ;-) I'm trying to help here19:13
djszapiduring your sleep ?19:14
Keybuktomorrow my time19:14
djszapiif yes, I am fine with that :)19:14
Keybukie. this time tomorrow once you've gone through the steps in my mail19:14
djszapiwell ...19:14
djszapiwhen I will get to my box, you will be sleeping.19:14
Keybukyes19:14
Keybukso you reply to the mail19:14
Keybukand then when I'm awake, I read the mail19:14
Keybukand hopefully in the output of all the commands will be the clue that tells me what's wrong19:15
djszapiwell I have access to the srouce code.19:15
djszapi* source19:15
djszapiif I can help anything with that, do not hesitate to tell me ...19:15
djszapibtw, I did see nowhere this --verbose option.19:16
djszapimaybe it is just not documented ?19:17
Keybukit's built-in to nih/option.c19:17
djszapiodd I was thinking that it is kernel thingy ;)19:17
Keybukno19:17
Keybukit's an upstart thingy19:17
djszapiAlright.19:18
djszapicya tmrw.19:18
djszapity in advance.19:18
Keybuk(mail should be in your inbox now btw)19:18
djszapiit is not.19:19
djszapijust the thread ...19:19
djszapigot.19:19
djszapihaha I think all the output will be ok :)19:20
KeybukI'm not looking for "ok" or not "ok"19:20
djszapi(I am just kidding)19:20
KeybukI'm looking for a clue that tells me what's wrong that you may miss19:20
KeybukUpstart, like most software, uses different strings for the same states in different places19:20
Keybukso by reading a log, as a developer, I can see what it's doing which isn't obvious to others19:20
djszapithat is exactly what I meant with "ok", nothing is gonna inform you :)19:20
djszapiokay, let us see and really thank you.19:21
Keybuknp :p19:25

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