[01:38] soren: the latter [01:39] soren: it chroots just before running the bits. [01:39] soren: its somewhat weird, because of namespcae collisions, but reliably weird [08:30] SpamapS: Ok, cool. Just playing around with an Ubuntu chroot on an Android device, thought I'd be able to run upstart inside of the chroot. [13:46] soren: thats been a frustration for a long time. The new user session stuff might make it closer to reality than it was before. [13:47] soren: works fine inside a new process namespace (i.e. lxc) [14:20] hello. Can I have upstart log stderr of my program? My search query "upstart conf log stderr" didn't return anything useful [14:27] Do you have /var/log/upstart? [14:27] let's see.. [14:28] it's a directory [14:28] ion, there are some logfiles, but none for my program [14:29] Ok. I haven’t really looked at the logging mechanism for /var/log/upstart, but here’s something else you can do: change [14:29] exec foo [14:29] to [14:29] script [14:29] MMlosh: the default is to log stdout and stderr to /var/log/upstart/$jobname.log [14:30] exec 2>/tmp/mylogfile [14:30] exec foo [14:30] end script [14:30] Well, actually just exec foo 2>/tmp/mylogfile would suffice for *that*. [14:30] ion: exec never returns [14:30] oh [14:30] But if you have a script of some kind, add the exec 2>/tmp/mylogfile in the beginning. [14:30] n/m I see thats a redir [14:30] you don't have to do that though [14:30] both are logged [14:31] SpamapS, hmm... why doesn't it, then.. oh.. right.. that machine is ancient, 10.04 and ARM-based. Is it possible that it wasn't the default in the past? [14:31] 10.04 didn't have that feature [14:31] it debuted in 11.10 I think, or 12.04 [14:31] sry.. I forgot on which machine it's running.. This one is 12.10, so it should be ok [14:32] upstart 1.5 I think [14:32] yes, I am running upstart 1.5-0ubuntu9 [14:33] MMlosh: man 5 init clearly states console log connects stdout and stderr to the logging pty [14:33] MMlosh: note that the log file will not be created until something is printed on those [14:35] my program prints an error with certain probability, so I am not 100% sure that something was printed [14:36] MMlosh: do you have 'console output' or 'console none' or 'console owner' in your job file? [14:36] the .config is simple "exec /usr/bin/getstream -c $config" [14:36] no, no console configuration [14:36] it has only these: description, start, stop, respawn, respawn limit, umask, aww crap.. console none [14:36] thanks for hunting it down.. stupid me [14:39] SpamapS, is it normal, that all files in /var/log/upstart/ end ".gz" ? I expected at least some to be non-gzipped [14:40] MMlosh: its alright, we all need a second pair of eyes sometimes :) [14:40] MMlosh: those are rotated old files