Hi Reuben - thank you for reporting this bug and making Ubuntu better!
You are right: Upstart does reset the umask to 022 in a jobs environment unless the umask stanza has been specified in a job. This is correct behaviour for Upstart running as PID 1 but when running as a Session Init it really should inherit the current umask and use that for all jobs by default.
For consistency and backwards compatibility, we should also add a '--no-inherit-umask' option.
Hi Reuben - thank you for reporting this bug and making Ubuntu better!
You are right: Upstart does reset the umask to 022 in a jobs environment unless the umask stanza has been specified in a job. This is correct behaviour for Upstart running as PID 1 but when running as a Session Init it really should inherit the current umask and use that for all jobs by default.
For consistency and backwards compatibility, we should also add a '--no-inherit- umask' option.