[08:54] <astronouth7303> what is the correct way of starting a task (specified by respawn) with arguments?
[08:54] <astronouth7303> just put them in the respawn line?
[08:54] <_ion> respawn program arg0 arg1
[08:54] <_ion> is an alias for
[08:54] <_ion> exec program arg0 arg1
[08:54] <_ion> respawn
[08:55] <_ion> IIRC. :-)
[08:55] <astronouth7303> and what would be the correct way to tell upstart to start the command as a different user?
[08:56] <astronouth7303> place su in the start script?
[08:56] <_ion> Unless i remember wrong, upstart doesn't yet support that directly  you might use e.g. "exec start-stop-daemon ... --chuid foo:bar program -- arg0 arg1"
[08:57] <astronouth7303> ug
[08:58] <astronouth7303> how many deamons have upstart files?
[09:38] <cortana> the problem with start-stop-daemon is that it does not create a PAM session, so things like libpam-tmpdir will break the daemon
[09:42] <Solaris> hi fellas.
[09:42] <Solaris> I was wondering what kind of boot time improvement upstart gives.
[09:42] <Solaris> How much are we talking?
[09:42] <Solaris> 50% reduction? 10% reduction?
[09:44] <_ion> Ask again when we have reached the state where an OS is booted entirely by upstart jobs. :-)
[09:46] <_ion> The point of upstart isn't boot time improvement, although that may be a side effect because of parallel startup etc.
[09:47] <Solaris> Ah i see _ion
[09:48] <Solaris> I just noticed ubuntu is busy telling everyone.
[09:48] <Solaris> So I figured I would ask after them.
[09:49] <_ion> The latest Ubuntu release is still using upstart's sysv compatibility layer. The next release's boot process might be completely based on upstart.
[09:49] <Solaris> interesting.  So what IS the main goal of upstart?
[09:51] <_ion> See http://www.netsplit.com/blog/articles/2006/08/26/upstart-in-universe , title "Why change it?"
[09:52] <_ion> That page, as well as other interesting pages, are linked from http://upstart.ubuntu.com/ (which is in the topic).
[09:52] <Solaris> thanks
[09:54] <Solaris> Oh right.  Yes, I see the problem.  When you look at it that way something really does need to be done.
[09:54] <_ion> cortana: I believe upstart is going to support PAM sessions for stuff started as a non-root user in the future.
[09:55] <cortana> yay
[09:56] <_ion>  * Per-user services; will need to use PAM to set up the session.
[09:56] <_ion>    We want to do this for "root-user services" but not for jobs/tasks
[09:56] <_ion> (from TODO)
[09:56] <Solaris> So how long until you have something that would make a stable, complete replacement for the init system?
[09:59] <_ion> That would probably be possible right now (assuming you mean init plus the startup scripts), but there are some planned design changes that are going to be implemented before that effort.
[10:00] <Solaris> right right.
[10:00] <Solaris> Well, looking forward to seeing it.
[10:00] <Solaris> Do you know which distros are going to adopt your system?
[10:02] <_ion> (Disclaimer: i'm mostly a enthusiastic bystander, Keybuk has done pretty much all the actual work.)
[10:02] <_ion> AFAIK many distros have shown interest, but probably no distribution is going to make the decision before Ubuntu's startup is running entirely based on upstart.
[10:03] <Solaris> haha!
[10:03] <Solaris> fair enough at this point I suppose.
[10:04] <Solaris> Gotta love the cross-polination possible with open-source.
[10:48] <trivash> ok can someone answer a question for me?
[10:59] <_ion> That would be quite difficult, because you left.