Le Tue, Nov 28, 2023 at 12:50:24PM +0000, Stuart Henderson a écrit :
> On 2023/11/28 10:43, Silamael Darkomen wrote:
> > Hi!
> > 
> > During setup of a new buildbot master under OpenBSD 7.4 I noticed that
> > 'rcctl start buildbot' always fails but buildbot is running afterwards.
> > 
> > Debugging showed that buildbot is calling 'tail -F' to watch the twistd.log
> > for recognizing a successfull startup.
> > 
> > The attached diff fixes this call to tail by replacing '-F' with '-f'.
> > Now buildbot startes as expected and rcctl is happy too.
> 
> the -F flag on some tail implementations allows monitoring a file which
> hasn't been created yet.
> 
> is the logfile in this case always expected to exist before buildbot is
> run? if so, then your diff works. but if not, it might need an alternative
> fix e.g. changing to use gtail and adding a dep on coreutils.

i *think* the first startup of buildbot creates it before; but i wouldnt
be sure. i've commited the diff because it fixes rcctl start buildbot
finally reporting ok on my existing setup, but i haven't tried a new
one.

Landry

Reply via email to