Hi James,<br><br>I've only scanned it briefly at this point, but I have one question regarding security. At the moment the spec. states that system events will by default be available to user sessions as well, but I think this is overly permissive. While I can't actually think of a current system event that really must be hidden, I feel that on principle system events should not be visible to user sessions unless explicitly marked as such.<br>
<br>I would suggest a change to the new event syntax such that <br><br>- foo and ::foo are always equivalent, and emit an event only visible within the current upstart namespace (system or user)<br>- :sys:foo and :user:foo are unchanged<br>
- :all:foo (or :global:foo or :public:foo) emits an event visible to other upstart namespaces as well<br><br>Thoughts?<br><br>Cheers,<br>Evan<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 5:09 AM, James Hunt <span dir="ltr"><<a href="mailto:james.hunt@ubuntu.com" target="_blank">james.hunt@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here is the draft plan for 'Enhanced Upstart User Sessions' ([1]), which will be<br>
used to supervise desktop sessions in Ubuntu:<br>
<br>
<a href="https://wiki.ubuntu.com/FoundationsTeam/Specs/RaringUpstartUserSessions" target="_blank">https://wiki.ubuntu.com/FoundationsTeam/Specs/RaringUpstartUserSessions</a><br>
<br>
= Summary =<br>
<br>
Allow Upstart to run as a non-privileged user to supervise a session in an<br>
event-based manner.<br>
<br>
This brings many advantages including:<br>
<br>
- more dynamic and efficient session startup (desktop services only get started<br>
*when required*).<br>
- reliable session shutdown.<br>
- automatic job output logging.<br>
- more efficient use of system resources (helping to maximise battery life for<br>
example).<br>
<br>
Comments Welcome. If you would like to get involved in this project, please let<br>
me know.<br>
<br>
Kind regards,<br>
<br>
James.<br>
<br>
[1] -<br>
<a href="https://blueprints.launchpad.net/ubuntu/+spec/foundations-r-upstart-user-session-enhancements" target="_blank">https://blueprints.launchpad.net/ubuntu/+spec/foundations-r-upstart-user-session-enhancements</a><br>
--<br>
James Hunt<br>
____________________________________<br>
<a href="http://upstart.ubuntu.com/cookbook" target="_blank">http://upstart.ubuntu.com/cookbook</a><br>
<a href="http://upstart.ubuntu.com/cookbook/upstart_cookbook.pdf" target="_blank">http://upstart.ubuntu.com/cookbook/upstart_cookbook.pdf</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
upstart-devel mailing list<br>
<a href="mailto:upstart-devel@lists.ubuntu.com">upstart-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/upstart-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/upstart-devel</a><br>
</font></span></blockquote></div><br></div>