Re: Temporaere erhoehung destTimeoutlimits in initskripten (openrc)

[email protected]
Newsgroups gmane.linux.gentoo.user.german
Message-ID <[email protected]>
On Sat, Feb 02, 2013 at 08:21:51PM +0100, Eddy wrote:
> Am 01.02.2013 20:38, schrieb [email protected]:
> > gemaess dem runscript manual, laesst sich der timout vollstaendig
> > abschalten. allerdings erscheint mir das nur bedingt sinnvoll.
> > gibt es eine moeglichkeit einen laengeren zeitraum vorab anzufordern?
> > so in der art: "ich brauch dann mal mindestens 30 sekunden"
> 
> verstehe ich Dich richtig?
> 
> aus der /etc/rc.conf
> ---------------
> # By default we assume that all daemons will start correctly.
> # However, some do not - a classic example is that they fork and return 
> # 0 AND then child barfs on a configuration error. Or the daemon has a # 
> bug and the child crashes. You can set the number of milliseconds
> # start-stop-daemon
> # waits to check that the daemon is still running after starting here.
> # The default is 0 - no checking.
> #rc_start_wait=100
> -------------------
> oder meinst Du was anderes?
> 
> CU
> 
>      Eddy
> 
> -- 
>                .      ..
>        __..---/______//-----.        ((  )
>     .".--.```|    - /.--.  =:    ( VROOM! ))
>    (.: {} :__L______: {} :__; __--( __- -_= )
>       *--*           *--*
> 

hallo,

ueber diesen wert bin ich auch schon gestolpert. allerdings scheint er
keinerlei einfluss zu haben. zumindest wenn ich eine zeitverzoegerung
nachstelle und das ganze direkt von der konsole aus starte.
oder wird dieser wert nur waehrend des bootvorgangs ausgewertet?

genau meine ich folgende warnings waehrend des bootvorgangs:
* mydep: waiting for mymount (50 seconds)

in pseudo-code wuerde das so aussehen:

old=$(service_get_value   timeout_warning)
service_set_value  timeout_warning  30
# befehle die laenger benoetigen
service_set_value timeout_warning $old
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.