On Tue, Jun 17, 2008 at 4:58 AM, Marius Karthaus <[EMAIL PROTECTED]> wrote:
> Hello Scott, all,
>
> I'm not a very good C programmer so I am not able to help out, sorry. I
> do think that being able to specify the retry time is a great feature.
> Just a "respawn retry" stanza may not be as flexible, as this will
> probably need to default to something like 5 minutes like it did with
> the 'old' inittab way of doing this.  In my situation for instance it
> would be great if I could get upstart to try once every 5 seconds until
> it works. ('respawn 1 5 5')
>
> Currently what I've done to solve my problem is add a crontab line that
> calls 'telinit 2' every minute. This will cause upstart to reload the
> services that are down. (faking 'respawn 1 5 60', which is ok for now)
>
> The current situation even has a small denial of service possibility in
> it, although it is nitpicking. But if someone named 'joe' sets his
> password to 'o' he will probably be able to log in to and out of the
> local consoles quicker than 5 times in 10 seconds causing getty to die
> permanently.

That's easy to fix though as one can set the necessary login params as
an admin for login retries and appropriate limits.
-Garrett

-- 
upstart-devel mailing list
upstart-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to