[PATCH] Add 'log' argument to 'console' stanza allowing job output to be captured.
James Hunt
james.hunt at ubuntu.com
Fri Oct 28 18:19:24 UTC 2011
Hi Steve,
On 28/10/11 16:13, Steve Langasek wrote:
> I haven't looked at the code yet;
You might want to hold off as I'm making some changes currently relating to Jacek's comments...
> is all logging done on behalf of user jobs
> done with the permissions of that user?
Yes - we fork and setuid to the user in question.
> However, if user jobs are enabled and logging enabled for them, can't a user
> intentionally *create* a badly behaved job? We don't want the cost of
> having better logging for system jobs to be that users can run amok.
Indeed. I can think of a number of approaches we could take here. I was going to list them all out,
but maybe it would be more productive to discuss this next week at UDS and then report back to the list:
https://blueprints.launchpad.net/ubuntu/+spec/foundations-p-upstart-roadmap
Kind regards,
James.
--
James Hunt
____________________________________
http://upstart.ubuntu.com/cookbook
http://upstart.ubuntu.com/cookbook/upstart_cookbook.pdf
More information about the upstart-devel
mailing list