[14:27] <stgraber> jodh: hi, I noticed one pretty bad bug with the session init re-exec
[14:28] <stgraber> jodh: after the re-exec, it doesn't accept dbus connections on the private bus (though according to netstat, it still listens on the socket)
[14:29] <stgraber> jodh: and IIRC I was getting a "No such file or directory" error related to the re-exec in .xsession_errors
[14:29] <stgraber> jodh: that was when using: dbus-send --type=method_call --print-reply --address=$UPSTART_SESSION /com/ubuntu/Upstart com.ubuntu.Upstart0_6.Restart
[14:30] <jodh> stgraber: hmm. thanks. Session Init re-exec is still a TODO for me :)
[14:36] <stgraber> jodh: I'm happy to take a look at it as IIRC we actually saw that one working at some point... shouldn't be too difficult to fix
[14:36] <jodh> stgraber: that'd be great, thanks.
[14:36] <stgraber> (I already have the upstart job to trigger the re-exec of the session init and will push it as soon as it actually works)
[14:37] <jodh> any thoughts on the logrotate job?
[14:41] <stgraber> jodh: looks reasonable, can't find anything obviously wrong with it
[14:42] <jodh> stgraber: yeah, it's just ugly :)
[16:17] <stgraber> jodh: execve("init", ["init", "--user", "--state-fd", "25", "--debug", "--restart"], [/* 34 vars */]) = -1 ENOENT (No such file or directory)
[16:21] <jodh> stgraber: awesome :) better make that execvp then ;)
[16:23] <stgraber> jodh: yep, just surprised that it works for pid1 ;)
[16:24] <jodh> stgraber: the kernel hard-codes the path and you have to specify the full path using init=
[16:25] <stgraber> jodh: ok, trying to replace execv by execvp in state.c, hopefully that'll do the trick
[16:26] <jodh> stgraber: either that, or specify the full path in 59upstart.
[16:28] <stgraber> jodh: we try not to do that usually (I think there's something in the Debian policy saying you're not supposed to)
[16:37] <stgraber> jodh: worked!
[16:37] <stgraber> jodh: will send a MP
[16:37] <jodh> stgraber: great! thanks.
[16:37] <stgraber> 1-char diff ;)
[16:39] <jodh> stgraber: the simplest are always the best ;)
[16:42] <stgraber> jodh: https://code.launchpad.net/~stgraber/upstart/upstart-fix-reexec/+merge/151050
[21:54] <mayhew> Is there a cleaner way than `su` of specifying the user of the process?
[22:05] <xnox> mayhew: setuid stanza, see http://upstart.ubuntu.com/cookbook/ 
[22:13] <mayhew> thanks!