For the same reason that cron and atd currently are<br><br><div class="gmail_quote">On Mon, Jun 13, 2011 at 5:12 PM, Steve Langasek <span dir="ltr"><<a href="mailto:steve.langasek@ubuntu.com">steve.langasek@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Scott,<br>
<div><div></div><div class="h5"><br>
On Wed, Jun 01, 2011 at 11:13:44AM -0700, Scott James Remnant wrote:<br>
> On Wed, Jun 1, 2011 at 10:54 AM, Steve Langasek<br>
> <<a href="mailto:steve.langasek@ubuntu.com">steve.langasek@ubuntu.com</a>>wrote:<br>
<br>
> > James, Scott, has any thought been given to including uid/gid or user/group<br>
> > as verbs in upstart jobs?  Seems to me this would be perfectly consistent<br>
> > with the existing umask, nice, oom, chroot, and limit verbs.<br>
<br>
> My stated opinion is that a "user" verb in upstart jobs should begin a PAM<br>
> session - which seems to be not what you want ;-)<br>
<br>
</div></div>Why should upstart ever be involved with starting PAM sessions?  The very<br>
idea makes me uncomfortable from a PAM perspective; it may just be my lack<br>
of imagination, but I can't imagine a reason for an upstart job to<br>
correspond to a PAM service.  OTOH, my imagination is working just fine in<br>
coming up with ways that an init system playing with pam can go horribly<br>
wrong. ;)<br>
<br>
(Example: libpam occasionally adds new symbols that modules then depend on.<br>
Upgrading libpam therefore requires restarting any processes that have the<br>
library loaded persistently.  upstart doesn't currently save state on<br>
restart...)<br>
<div><div></div><div class="h5"><br>
--<br>
Steve Langasek                   Give me a lever long enough and a Free OS<br>
Debian Developer                   to set it on, and I can move the world.<br>
Ubuntu Developer                                    <a href="http://www.debian.org/" target="_blank">http://www.debian.org/</a><br>
<a href="mailto:slangasek@ubuntu.com">slangasek@ubuntu.com</a>                                     <a href="mailto:vorlon@debian.org">vorlon@debian.org</a><br>
</div></div><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>
<br></blockquote></div><br>