Keybuk | morning | 18:42 |
---|---|---|
adam_g | heya. | 18:45 |
Keybuk | how goes? | 18:47 |
adam_g | well. working with upstart for the first time. | 18:48 |
adam_g | does a concept equivilent to the status operation of an LSB init script exist in upstart currently? | 18:49 |
djszapi | hi Keybuk | 18:51 |
djszapi | Keybuk: upstart logging does not work ... | 18:51 |
Keybuk | djszapi: it does, millions of people use it every day | 18:56 |
Keybuk | it may not be working for you | 18:56 |
Keybuk | I'm honestly starting to suspect somebody at Nokia has disabled that code in your source tree | 18:56 |
djszapi | nope | 18:57 |
djszapi | I made an own build today. | 18:57 |
Keybuk | well, it works for me | 18:58 |
Keybuk | perhaps you could tell me more about what doesn't work | 18:58 |
Keybuk | what you've tried | 18:58 |
Keybuk | etc. | 18:58 |
djszapi | it does not help me if you keep repeating it :) | 18:58 |
Keybuk | it doesn't help you if you just say "nope" either ;-) | 18:59 |
djszapi | I just know it can work, thus it is worthwhile to try to fix it. | 18:59 |
djszapi | well "nope" is a kool word :P | 18:59 |
djszapi | btw, have you read my mail ? | 18:59 |
Keybuk | I haven't read your mail | 18:59 |
djszapi | I do not know what else I could amend it with ... | 18:59 |
Keybuk | ok | 19:00 |
Keybuk | so you've patched upstart with my kmsg patch? | 19:00 |
Keybuk | and that version of upstart is currently running as pid #1 ? | 19:00 |
djszapi | well, about. | 19:03 |
Keybuk | "about" ? | 19:03 |
djszapi | yeah, the patch did not change anything to the previous statement, there are *NO* such messages anywhere. | 19:04 |
Keybuk | right, I'm asking whether you have that version patched and running ;-) | 19:04 |
Keybuk | ok | 19:04 |
Keybuk | so let's try something | 19:04 |
Keybuk | (as root) run the following | 19:04 |
Keybuk | # initctl log-priority | 19:05 |
Keybuk | it should print a word, what is that word? | 19:05 |
djszapi | FYI: I am @ home. | 19:06 |
djszapi | 21:06 pm | 19:06 |
Keybuk | can you not access that box? | 19:06 |
Keybuk | no VPN or anything? | 19:06 |
djszapi | to the prototype ? | 19:06 |
djszapi | no, I cannot. | 19:06 |
Keybuk | ah | 19:06 |
djszapi | it is quite perfectly locked into the safe box. | 19:06 |
Keybuk | what time of day can you usually access it? | 19:06 |
djszapi | while being there ? :) | 19:06 |
Keybuk | what time? | 19:07 |
djszapi | no idea :) | 19:07 |
Keybuk | haha, right | 19:07 |
djszapi | change day by day | 19:07 |
djszapi | really... | 19:07 |
Keybuk | so what I'll do is reply to your mail with a sequence of debugging steps | 19:07 |
Keybuk | if you could follow them exactly, and answer each of them when you have access to the box | 19:07 |
Keybuk | then I should be able to figure out what's going wrong with it | 19:07 |
djszapi | well | 19:08 |
Keybuk | please 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 problem | 19:08 |
djszapi | I can access to it in 11 hours | 19:08 |
djszapi | ok sure do not be afraid of that :) | 19:08 |
Keybuk | yeah, in 11 hours I'll be going to bed | 19:08 |
djszapi | btw, we use 0.6.6 | 19:08 |
djszapi | with quilt patchset | 19:09 |
djszapi | where should I see kmsg logs ? | 19:09 |
djszapi | I tried the dmesg and the console where printk happens. | 19:09 |
Keybuk | I actually have a hunch what's wrong | 19:09 |
Keybuk | based on something somebody else at Nokia told me earlier this week ;-) | 19:10 |
djszapi | or go thorugh pls. | 19:10 |
djszapi | maybe I can answer for some of them | 19:10 |
djszapi | which can already show the mistake ... | 19:10 |
Keybuk | well, first in your mail you say "warn" which actually means upstart will log *less*, you want log-priority info ;-) | 19:10 |
djszapi | somebody ? | 19:10 |
djszapi | me or other guy ? | 19:10 |
djszapi | yes | 19:10 |
Keybuk | but I think in MeeGo you have an /sbin/init shell script wrapper for Upstart | 19:10 |
djszapi | I tried info | 19:11 |
djszapi | that was done | 19:11 |
Keybuk | and that wrapper is not passing command-line arguments to Upstart | 19:11 |
djszapi | nothing changed regarding this | 19:11 |
djszapi | that is a typo in the mail, sorry. | 19:11 |
Keybuk | right | 19:11 |
djszapi | I wanted to send a mail. | 19:11 |
Keybuk | well, reply to my mail when you have the box, and follow the steps | 19:11 |
djszapi | I have just been at the school | 19:11 |
Keybuk | and we'll chat tomorrow | 19:11 |
djszapi | "but I think in MeeGo you have an /sbin/init shell script wrapper for Upstart" -> why so ? | 19:11 |
djszapi | btw, ROTFL !!! :-) http://i.imgur.com/4kepL.jpg | 19:12 |
Keybuk | djszapi: because someone else told me you do in the thread where I posted the kmsg patch | 19:12 |
djszapi | huh ? | 19:12 |
djszapi | not gotcha ... | 19:12 |
Keybuk | it's ok | 19:13 |
Keybuk | we'll pick this up tomorrow | 19:13 |
djszapi | highly doubt | 19:13 |
Keybuk | hey ;-) I'm trying to help here | 19:13 |
djszapi | during your sleep ? | 19:14 |
Keybuk | tomorrow my time | 19:14 |
djszapi | if yes, I am fine with that :) | 19:14 |
Keybuk | ie. this time tomorrow once you've gone through the steps in my mail | 19:14 |
djszapi | well ... | 19:14 |
djszapi | when I will get to my box, you will be sleeping. | 19:14 |
Keybuk | yes | 19:14 |
Keybuk | so you reply to the mail | 19:14 |
Keybuk | and then when I'm awake, I read the mail | 19:14 |
Keybuk | and hopefully in the output of all the commands will be the clue that tells me what's wrong | 19:15 |
djszapi | well I have access to the srouce code. | 19:15 |
djszapi | * source | 19:15 |
djszapi | if I can help anything with that, do not hesitate to tell me ... | 19:15 |
djszapi | btw, I did see nowhere this --verbose option. | 19:16 |
djszapi | maybe it is just not documented ? | 19:17 |
Keybuk | it's built-in to nih/option.c | 19:17 |
djszapi | odd I was thinking that it is kernel thingy ;) | 19:17 |
Keybuk | no | 19:17 |
Keybuk | it's an upstart thingy | 19:17 |
djszapi | Alright. | 19:18 |
djszapi | cya tmrw. | 19:18 |
djszapi | ty in advance. | 19:18 |
Keybuk | (mail should be in your inbox now btw) | 19:18 |
djszapi | it is not. | 19:19 |
djszapi | just the thread ... | 19:19 |
djszapi | got. | 19:19 |
djszapi | haha I think all the output will be ok :) | 19:20 |
Keybuk | I'm not looking for "ok" or not "ok" | 19:20 |
djszapi | (I am just kidding) | 19:20 |
Keybuk | I'm looking for a clue that tells me what's wrong that you may miss | 19:20 |
Keybuk | Upstart, like most software, uses different strings for the same states in different places | 19:20 |
Keybuk | so by reading a log, as a developer, I can see what it's doing which isn't obvious to others | 19:20 |
djszapi | that is exactly what I meant with "ok", nothing is gonna inform you :) | 19:20 |
djszapi | okay, let us see and really thank you. | 19:21 |
Keybuk | np :p | 19:25 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!