=== JanC_ is now known as JanC [13:23] Why does upstart not print the Process ID of an application launched from a script section ? [13:23] What is the advantage of this way ? [13:42] it does [13:43] w00t ? [13:44] Script part can have tens of commands and those are not printed. Only if there is problems like this one /proc/self/fd/6: /etc/pulse/pulseaudio_pre-start.sh: line 53: amixer: not found pulseaudio start/running, process 599. /proc/self/fd is where it runs script part of the .conf files [13:45] process 599 is the script itself [13:45] and the shared process group of all of those tens of commands [13:46] so it does not print then. [13:51] well, what is the solution way if I need that sort of information, Keybuk ? [13:52] I have just read your mail and I am still not sure the next version (that I do not know when will be released) is useful for my purpose. [13:52] and for sure I do not have time to wait for that. [13:53] audit kernel stuff I thought can be a hackaround for now, but let me know, I am newbie in this area. [13:53] I don't know what your purposes are [13:53] well [13:54] (so it's hard to me to answer questions where you state "for my purpose") [13:54] I need the configuration file name and pid of the application that was run by upstart. [13:54] as it happens quite perfectly with 'exec' entries in the /etc/init/*.conf files. [13:55] but it does give you that, it gives you the pid of the script [13:55] which is all that was run by Upstart ;-) [13:56] nope [13:57] what do you mean "nope" [13:57] I'm pretty sure only one of the two of us *wrote* Upstart, so knows what he's talking about :p [13:57] hwclock:329,sh:328,init:1 [13:57] for example this is the procedure, init -> sh (upstart) -> hwclock [13:58] right, Upstart ran "sh" [13:58] I need the pid of the hwclock and the configuration file name which started it. [13:58] so status in that example will give you the pid of sh [13:58] not of hwclock [13:58] ok, that's *NOT* what you said above [13:58] you said "id of the application that was run by upstart" [13:58] upstart ran sh [13:58] no [13:58] what sh did is entirely up to sh [13:58] are you disputing what you typed? [13:58] because I just copy & pasted it [13:59] okay, you do not still understand it :) [13:59] let me give you an example: [13:59] no, I understand far more than you [13:59] you're just not explaining yourself [13:59] and probably you don't actually know what you want [13:59] and don't understand how processes work on UNIX [14:00] do not insult me, please. [14:00] I believe what you want is: [14:00] script [14:00] foo & [14:00] bar & [14:00] baz & [14:00] end script [14:00] as said, WAIT [14:00] to give you the pids of foo, bar and baz ? [14:00] I am gonna give you an example, patient pls... [14:01] I need to boot the device up. [14:01] is that not what you want? [14:01] seems you cannot be patient :) [14:01] no [14:01] I'm busy [14:02] I'm answering you rather than working [14:02] because I'm nice ;-) [14:02] but I don't have much time [14:02] work now and ask when I provide info ? [14:02] and to avoid the guesswork and wasted time till that ? [14:02] sure, will you hang around here for, say, 6 hours? [14:03] please do not be arrogant for hours, if I may ask... [14:03] I'm not being arrogant, I am, right now, using my lunch hour to try and help you [14:03] and you're not answering my question [14:04] because I still cannot ? [14:04] why? you can answer questions? [14:04] http://pastebin.com/GjeJiy7n [14:05] 14th line for instance. [14:05] that's a shell script [14:05] I would like to get this configuration file back and hwclock pid [14:05] hwclock has no pid at the point that script has finished [14:05] because the shell runs hwclock, waits for it to finish, and reaps it [14:05] weird it has. [14:05] every process has pid [14:05] tell you what [14:05] why not read what I typed? [14:06] AT THE POINT THAT SCRIPT HAS FINISHED [14:06] even tho. the same sometimes than the parent process (setuid e.g.) [14:06] the shell does something like: [14:06] fork() [14:06] (child: [14:06] exec hwclock) [14:06] (parent: [14:06] wait) [14:06] // now at the next line of shell [14:07] so there's no backgrounding going on here [14:07] k, so I cannot get this information by upstart.... [14:07] the fact that hwclock has a separate pid is basically an implementation detail [14:07] how can I get then ? [14:07] for example, a particularly over-the-top shell could have hwclock as a built-in [14:07] which means it would have no pid [14:07] get it when? [14:08] nope [14:08] the pid (if there even is one) will appear and vanish pretty quickly [14:08] stop saying "nope" to me [14:08] I know what I'm talking about [14:09] let me wait for someone else to help then... [14:09] they'll either tell you the same thing [14:09] or they'll give you incorrect information [14:09] seems you are in god-mode. [14:10] no, I'm trying to help you [14:10] but you're not actually listening to anything I say [14:10] which is exasperating [14:10] by screaming at me ? [14:10] I'm not screaming at you [14:10] I'm telling you how things work [14:10] and screaming if I am saying sth ? [14:10] and you're refusing to believe me [14:10] interesting help, never tried [14:10] which is insulting [14:10] you're wrong [14:10] do you accept that there is no need for hwclock to have a separate pid at that point? [14:11] (feel free to relink /bin/sh -> /bin/busybox and run that script, if you need physical proof) [14:12] no idea whether it has got pid that point, but I need the 1) conf file name 2) PID when it ran. [14:12] you could add strace -f to the shell invocation [14:13] exactly as it happens in case the exec line in the configuration files. [14:13] that way you'd trace all the system calls, and follow forks, so you'd get the pids that way [14:13] you could use the proc connector kernel interface to follow the forks/execs of the shell and again get the pids [14:14] proc connector is racey though, because the pid may vanish before you have an opportunity to read /proc/PID/cmdline and actually figure out what it is [14:14] (strace at least blocks) [14:14] pid is not enough, as said also the config file where it was run frm. [14:14] audit, ftrace, etc. any of those kernel tracing hooks [14:14] * from [14:15] well, my original idea was the audit stuff. [14:15] you could mount a subsystem-less cgroup hierarchy and place that script into a new cgroup within it [14:15] that would collect the pids run in the tasks file [14:15] but again, that only really tells you background processes [14:15] hwclock would come and go, so unless you polled the tasks file *really hard* you may not even see the pid [14:16] (and even then, /proc/PID/cmdline would probably be gone by the time you found the pid) [14:16] yeah, but audit should not be racey. [14:16] audit is racey [14:16] or "slow". [14:16] and slow [14:16] lol [14:16] sadly [14:16] audit doesn't block the shell from doing its work [14:17] which is nifty. [14:17] so when the shell forks off hwclock, it doesn't actually stop anything [14:17] so by the time that the audit system is told about the new pid, it could have already finished running [14:17] hard to imagine. [14:17] which means there won't be any information about it - not even the fact it was hwclock at all [14:17] happens all the time [14:17] as long as the audit follows the syscalls. [14:17] you'd have to follow the fork and the exec calls [14:17] and extract the strings from the exec call (which is actually an array of strings) [14:18] that's what then makes it slow [14:18] well, not really. [14:18] it depends on the kernel configuration. [14:18] no, really ;( [14:18] you are not obligate to enable the syscall tracing capability. [14:19] no, I mean it's just slow when enabled [14:19] it can be nearly free when turned off [14:19] your best bet, really, is to get the shell to tell you the pids ;) [14:19] for example, you could write that script as [14:19] hwclock -s -u & [14:19] yeah, but that option is just one of the available audit options, you can still use audit with no syscall trace. [14:19] # you now have the PID in $! [14:19] wait $! [14:19] sure, but audit with no syscall trace means you won't get the pids ;) [14:20] mmh [14:20] so the easiest way is to modify ALL the configuration files existing. [14:20] well, it depends yeah [14:21] a better question is why do you need to know the PID of that hwclock invocation? [14:21] I cannot talk about that, sorry. Company project and NDA. [14:21] do you need to know the pid of the date and test invocations? [14:21] if it was run directly by upstart shell then yeah. [14:22] there's no such thing as "upstart shell" [14:22] that's what I was referring to earlier [14:22] wtf ? :D [14:22] everything in that script block - upstart thinks is a big string [14:22] you can put whatever you want in there [14:22] all upstart does is exec /bin/sh and pipe that string to it [14:22] I mean in the process queue, there is a shell process after the init process and I meant that shell as an upstart shell. [14:22] which is what I mean about "the application that Upstart runs" *is* /bin/sh [14:23] interesting example: [14:23] script [14:23] exec hwclock -s -u [14:23] end script [14:23] what will Upstart say the pid of that is? :-) [14:23] (hwclock) [14:23] no idea [14:23] without knowing your project [14:24] one option would be for you to patch /bin/sh itself [14:24] lol [14:24] why lol ? [14:24] funny [14:24] let's say you have this upstart job [14:24] exec /lib/foo/some-binary [14:25] if that some-binary is that shell script you paste-binned [14:25] do you *still* need the pids from it? [14:25] no [14:25] interesting, why the distinction? [14:25] :) [14:25] *shrug* [14:26] seems pretty arbitrary to me [14:26] btw, that script is *completely* bat shit insane [14:26] you don't need to run hwclock like that [14:26] no we need. [14:26] and it was just an example if you do not like, the point is you got the idea. [14:26] but I don't get the idea [14:27] do not make it with me, pleae :) [14:27] * please [14:27] I don't get why you're treating scripts pasted into an upstart conf file differently to those elsewhere [14:27] do not do it to me :) [14:27] let's give a hypothetical example: [14:27] you do not need to understand that bit. [14:27] let's say you have a system which is entirely an upstart-native boot [14:27] no, I *do* to help you [14:27] our system is that. [14:27] ok [14:28] so have upstart as the last thing run a shell [14:28] well, I can tell you why tbh. [14:28] the PIDs run by Upstart are "1 thru the PID of that shell:" [14:28] no? [14:28] but it requires a more in-depth understanding. [14:28] and not 1 min [14:28] that is why I would like to avoid it for now. [14:28] I would not like to bother you. [14:28] if, after booting, the shell's pid is 1456 then Upstart has resulted in 1,456 processes being run [14:29] yeah, a sheel after the jobs, daemons. [14:29] * shell [14:29] yeah, it is trivial [14:29] but what is your gist ? [14:29] no gist, I'm trying to understand what you're trying to do [14:30] well [14:30] for example, if you were trying to measure the overhead of using shell scripts for things rather than writing them in C [14:30] there are more shell scripts in fact, not just one. [14:30] depends on the amount of configuration file stuff [14:30] well, put it that way. [14:30] do you know Maemo, MeeGo ? [14:30] of course [14:30] define "of course". [14:30] it's hard to work out, because - for example - what if hwclock forked off an extra child? [14:31] do you want to know two pids or one? [14:31] are you a nokian ? [14:31] of course I know of Maemo/MeeGo [14:31] no, but I know lots of people who are [14:31] excellent [14:31] so we use upstart in this project. [14:31] right ? [14:31] indeed [14:31] well [14:31] well, on/off [14:31] * Keybuk checks whether there's a "u" in the day [14:32] ? [14:32] sorry, possibly an English expression [14:32] nvm... [14:32] Maemo/MeeGo uses Upstart on Sunday, Tuesday, Thursday and Saturday [14:32] but something else on Monday, Wednesday, Friday [14:32] so you know maemo, meego security framework [14:32] a joke about the fact that they change their mind every minute [14:32] no, I don't know about that I'm afraid [14:32] it is a bit different compared to the traditional posix capability stuff. [14:32] it is more fine tuned stuff, like selinux, smack [14:32] and the like [14:33] ok [14:33] btw, do not starve because of me :) [14:33] I've eaten :) [14:33] *Nifty, googles* [14:33] *giggles* [14:33] typo king, so [14:34] we use manifest files for fine-tune capability management [14:34] and upstart and daemon maintainer did something wrong :) [14:34] no manifest stuff, and all the run jobs, daemon, upstart have all the capabilities. [14:34] We wrote a debugger kernel module which gives a line like that: [14:35] [ 9.701293] captrace:allow=25|hwclock:329,sh:328,init:1 [14:35] 25 obv. comes from /usr/include/linux/capabili.* [14:35] it is a capability [14:35] that is the output during the boot-up [14:36] and I do some kind of reverse engineering with the perl script [14:36] to generate the manifest files for upstart and jobs, daemons maintainers. [14:36] can you follow ? [14:36] yup [14:36] okay, great I need the conf path to put into the manifest file. [14:36] and just the daemon binary path in case daemons [14:36] that is why it does not matter in that case. [14:37] so the jobs, daemons capabilities are separated. [14:37] because they are different debian packages. [14:37] or rpm, whateva' [14:38] e.g. /usr/bin/pulseaudio [14:38] but the stuff run by upstart. [14:38] will be dropped by the upstart package. [14:38] and we are still speaking about credentials. [14:38] is it clear ? [14:39] so [ 9.701293] captrace:allow=25|hwclock:329,sh:328,init:1 is a good line, but I need to pass it with a configuration file [14:39] from which hwclock was run actually. [14:40] hwclock pid is there, 329 [14:40] and that is what I should match with upstart debug output, if any [14:40] and get the related configuration file name [14:40] that is all about, feel free to ask if something is vague. [14:44] ah, I usee [14:44] so if you had a line saying date:330,sh:328,init:1 [14:44] you'd just ignore it? [14:47] so there's an easy way to map :,init:1 to an Upstart conf name [14:47] boot with --verbose, in the system logs upstart will list all the pids along with the job [14:47] so you could compare the syslog to that log, and extract :PID,init:1 and map all instances of those to a .conf [14:48] as for the things like hwclock and soforth run by the scripts, audit is *probably* the right place [14:49] since in those cases, hwclock's ppid remains 328, init never finds out about it - the only time init really cares about a pid is when the ppid dies and it gets reparented to init, you see [14:49] usee ? [14:50] "see" sorry [14:50] I would not ignore a line, why do you think that ? [14:50] well, date doesn't need any extra capabilities? :-) [14:50] or maybe it does [14:50] gotcha [14:50] you are right [14:50] the common linux commands do not. [14:51] but it is just a whitelisty parsy thingy. [14:51] this is not the main question here for now. [14:51] so there's an easy way to map :,init:1 to an Upstart conf name [14:51] nope ^ [14:51] :,sh:xxx,init:1 [14:52] --verbose will give you the log messages to do that [14:52] the blah process can most likely be "advanced" cmd. [14:52] advanced = extra credentials for now [14:52] most likely the one left to that in the line is gonna be a common tool as you have just mentioned. [14:52] it is a kinda process tree tho. [14:52] --verbose will give you: [14:53] Jan 14 14:52:49 deathspank init: tty6 main process (8557) [14:53] log messages [14:53] that means you know that all [14:53] boot with --verbose, in the system logs upstart will list all the pids along with the job -> nope [14:53] :,sh:8557,init:1 [14:53] as said, we do not need jobs [14:53] just commands from the scripts [14:53] no, not ALL [14:53] jobs means by me the daemons. [14:53] but you don't need all [14:53] Jan 14 14:52:49 deathspank init: tty6 main process (8557) [14:53] :,sh:8557,init:1 [14:53] see how the 8557 lines up there [14:53] so ? [14:54] every run by that script will still end ",sh:8557,init:1" [14:54] :,sh:8557,init:1 [14:54] hwclock:8558,sh:8557,init:1 [14:54] date:8559,sh:8557,init:1 [14:54] give me 2-3 mins to read your posts again. [14:54] mkdir:8560,sh:8557,init:1 [14:54] hwclock:8563,sh:8557,init:1 [14:54] for example [14:54] if that script ran at least those four commands, that's what you'd see, no? [14:54] (the ppid of each of those remains 8557) [14:55] and, in fact, the pgid and sid of even hwclock is 8557 [14:55] so that tells you that the shell script run by upstart for the "tty6.conf" ran those four commands [14:55] since in those cases, hwclock's ppid remains 328, init never finds out about it - the only time init really cares about a pid is when the ppid dies and it gets reparented to init, you see [14:55] right [14:56] -> yes, I mentioned an example in the beginning for that. [14:56] unless a process deliberately attempts to shed its session, the pgid and sid will remain the same as the shell [14:57] 16:57 < Keybuk> Jan 14 14:52:49 deathspank init: tty6 main process (8557) [14:57] well it is not enough [14:57] why not? [14:57] it is just about the shell script, not the application run by that. [14:57] why is it just about the shell script? [14:58] from what you've told me, that'd exactly what you want, isn't it? [14:58] nope [14:58] okay, give me a better example and not hwclock [14:58] no, what _do_ you want then? [14:58] * let me give you [15:01] sorry Keybuk [15:01] maybe I should have picked a better test command than "stop gdm" :p [15:01] :P [15:01] you were right [15:01] http://people.canonical.com/~scott/forkwatch.c.txt [15:01] I did not understand what I mean [15:02] * You mean [15:02] * meant..erm [15:02] if you need something that *really* can watch all the forks, that C program should help [15:02] wait [15:02] though you'll see what I mean about the cmdline race there [15:02] audit might be better [15:02] we have just discussed the verbose stuff is ok'ish [15:02] the verbose stuff should get you back to an upstart .conf file, yeah [15:03] and you can turn it off after boot with "initctl log-priority warn" [15:03] well, the pid idea was about the identification [15:03] but I need the config file only at last. [15:04] http://people.canonical.com/~scott/ -> is it your stuff ? [15:04] Keybuk: well not an issue [15:04] djszapi: yup [15:04] my stuff [15:04] as you got the point this task is because of a wrong maintainer past [15:04] so hopefully it is not gonna require continous running. [15:04] during the lifecycle of the device, os. [15:05] *nods [15:05] you can turn on --verbose btw with "initctl log-priority info" [15:05] so you don't even need to reboot to enable it [15:05] but for confirmation, let me give you a better example than hwclock was. [15:05] [ 8.318542] captrace:allow=6|aegis-loader:191,sh:188,init:1 [15:06] aegis-loader is an internal application [15:06] run by upstart's script section [15:06] right ? [15:06] right [15:06] I assume from that that aegis-loader still has pgid/sid=188 [15:07] ? [15:07] highly doubt [15:07] is it a background process? [15:08] RM680-02-2_RD_001:/etc/init# grep -rni aegis-loader . [15:08] ./aegis.conf:14: if [ -d /sys/kernel/security/credp -a -x /usr/bin/aegis-loader ]; then [15:08] ./aegis.conf:15: /usr/bin/aegis-loader || echo "Failed to load aegis" [15:08] right, so doesn't look backgroundy to me [15:08] so it should still be easy to match up [15:08] righty [15:08] k [15:09] one thingy I do not understand about your posts. [15:09] what's that? [15:09] 16:52 < Keybuk> as for the things like hwclock and soforth run by the scripts, audit is *probably* the right place [15:10] right, to find out the pid of hwclock in the first place, rather than the shell [15:10] you know the pid of the shell, upstart knows the pid of the shell, upstart logs it, etc. [15:10] but upstart doesn't know (or care) what the shell does [15:10] so you need something to get the pid of the things the shell runs [15:10] so then you map those things back to the .conf file [15:10] basically you'll end up with a process tree [15:11] pid 1 forked pid 57 forked pid 134 [15:11] 134 might be hwclock [15:11] so you look up its parent, 57, in the log - and that tells you its wibble.conf [15:11] wibble main process (57) [15:12] well [15:12] sh:pid,init:1 [15:12] right [15:12] shS are the shell scripts coming from upstart (during the boot-up for instance), aren't they ? [15:12] not always [15:12] that's why I asked about exec /lib/blah/blah style [15:12] that can show up as just "sh" too [15:13] (if blah is a shell script) [15:13] because that way I would say we do not need anything else than the process id of the shell if it is quite enough information to figure out the configuration file. [15:13] let us grep for exec lines, momment [15:14] well I do not see any shell script in the output. [15:15] getty, syslogd, sshd, udevd, internal binaries... [15:15] no shell script. [15:15] mostly /usr/(s)bin stuf. [15:15] and /sbin ofc. [15:16] cool [15:16] you're using dash then? ;-) [15:16] your mean ? [15:16] readlink /bin/sh [15:17] probably /bin/dash or /bin/bash [15:17] busybox [15:17] oh right [15:17] ofc embedded mobile phones [15:17] that's usually a bugger for not setting proctitles ;-) [15:17] and some netbook [15:17] we are talking about in case Maemo, MeeGo. [15:17] 'that's usually a bugger for not setting proctitles ;-)' -> can you be a bit more expressive, please ? [15:18] oh, I mean that busybox often doesn't bother setting the proctitle [15:18] (the thing you see in ps) [15:18] so when it gets a shell script, you often just see 'sh' rather than '/bin/foo' [15:18] but that, of course, depends on its configuration when built [15:19] doesn't matter [15:19] since it obviously does the right thing for you [15:21] y [15:23] so it seems we do not need audit and kernel hacking then [15:23] but let me know the truth (aka. fixme). [15:29] After this command: 'initctl log-priority warn' -> it works perfectly after every reboot that way until I set it back, right ? [15:31] right [15:32] right what ? [15:33] right :) [15:34] well, I said/asked two things, both ? [15:35] both [15:35] k, ty. [15:38] btw, are you an upstart developer ? [15:38] I wrote Upstart [15:38] alone ? [15:39] pretty much [15:39] lol [15:39] you are crazy :D [15:39] yes [15:40] CONFIG_CMDLINE="init=/sbin/preinit root=0xB302 rootfstype=ext4 rw console=ttyS0,115200n8 omap3_die_id" -> this is the default, so just -> CONFIG_CMDLINE="init=/sbin/preinit root=0xB302 rootfstype=ext4 rw console=ttyS0,115200n8 omap3_die_id verbose" ? [15:40] or what is the correct syntax ? [15:40] --verbose [15:41] weirdy [15:42] well, it does not print anything in fact, I have just tried it out. [15:43] no, it logs it so syslog [15:43] highly doubt [15:43] we redirect it to console and watch in minicom [15:44] there is no syslog here. [15:45] mmh.... [15:46] no idea I guess. [15:47] ok I gave it up :/ [15:47] I've no idea what your configuration is wrt syslog [15:47] but that's where upstart sends its log messages [15:48] by default: /var/log/syslog ? [15:49] no, syslog [15:49] man 3 syslog [15:49] there is no /var/log/messages* [15:49] syslog is a socket interface [15:49] where they go after that, depends entirely on your setup [15:49] (or even if anything listens) [15:49] man 3 -> developer man pages. [15:50] I do not develop with syslog. [15:50] I do :) [15:50] by default: -> there is not "depends entirely on your setup" thingy :) [15:51] anyways...no idea where the log should be then [15:53] you need to speak to the maemo/meego developer who knows where syslog() messages go on meego [15:53] again: minimum, serial port [15:54] at least my printk goes there... [15:54] and printk is supposed to go to the syslog if nothing else h appens. [15:54] * minimum = minicom [15:55] seems verbose does not work [15:55] maybe the command line option struggles. [15:55] is there any way to check the command line with which the system was booted up ? [15:56] some sysfs or procfs heuristics ? [15:57] RM680-01-2:~# initctl log-priority warn [15:57] RM680-01-2:~# [15:57] this does not help either after the rebootl. [15:57] * reboot [15:58] the upstart might not work on this boot at all ?? [15:58] I do not see any other upstart related entries either. [15:58] should they occur at all ? [16:04] so i want to disable an upstart job. would i just uncomment the "start on" line? what's the preferred way to do this? [16:14] how can that be Keybuk, I do not get any upstart messages, nor the debug statements about the stopped, started processes ? [16:45] sam-_-: I think you mean *comment* the "start on" line? (and yes, that should prevent it from getting started automatically) [16:45] JanC, is the preferred way? [16:46] JanC, y. that's what i meant. [16:46] * sam-_- hits himself in the head [16:46] ☺ [16:46] if you are using upstart 0.6.7, there is a stanza called "manual" add this entry to any jobfile to prevent upstart to start it by any event [16:47] Stevee, ah ok. thx [16:48] in case you are using Ubuntu, Maverick still has 0.6.6 [16:48] i'm on 0.6.6 though :-( [16:48] so 0.6.7 is very new [16:48] yes [16:48] so the comment will have to do it :-) [16:48] so the commenting will have to do it :-) [16:49] for now at least [16:49] y. no problem. [16:50] even natty still has 0.6.6 it seems [16:50] (but I guess that will change?) [16:51] natty has 0.6.7 [16:51] hm, no [16:51] package says 0.6.7, --version says 0.6.6 [16:52] initctl --version [16:53] so probably it's 0.6.7 but doesn't know that itself ;) [16:54] huh [16:57] Has there very been a discussion of an 'expect listen' ? [16:57] yes [16:59] though it goes something more like "why not use 'start on socket'" :p [16:59] Yeah thats where I get to as well.. the example I'd give is mysql .. which may take 20 minutes to start if it has to recover large innodb transaction logs. [17:00] yeah, and on a server you might want mysql always running [17:00] not just started on first activation [17:00] though even then, it would have the listening socket passed to it [17:01] so it's a bit of a tricky one [17:01] the other side of the question is - does the kernel even notify userspace of new sockets? [17:01] I had a vague idea there might be something netlink-y but I've not looked [17:02] Keybuk: gotta go, ty for your help today :) [17:03] my virtual beer is yours, heh [17:30] Keybuk: the source package for upstart 0.6.7 in natty says 0.6.6 in configure.ac & configure, but that seems to be correct/fixed in upstream 0.6.7 [17:30] weird [17:33] wonder why [20:47] t [20:48] 1 [20:49] oops wrong window [22:44] can you give an example of ubuntu package that uses upstart? [22:45] I'm trying to package a server and want to see how to include the upstart script [22:48] bencc: you mean a server package? [22:49] JanC: a web server [22:49] what do you mean by a server package? [22:49] well, there are many packages that use upstart jobs, but starting a server isn't the same as starting a TTY of course ;) [22:50] ok [22:50] I have a basic upstart job that start the server [22:50] I want to see how to include it in a .deb package [22:50] I see mysql & squid have upstart jobs [22:51] thanks, checking [22:54] JanC: dh-make produces example files like init.d.ex [22:54] I don't see an example for upstart [22:56] bencc: maybe file a (wishlist) bug about that then? [22:56] JanC: ok but I don't know how to use it [22:57] JanC: if there is init.d.ex the packaging tool probably handle it in a special way [22:57] so I'm not sure if I need to put the upstart on the root or maybe treat it as a normal file [23:51] When looking at upstart services, what is the meaning of +, -, and ?. for example [ ? ] acpi-support [23:51] I've been querying the info, but + and ? tend to be the same