Re: Deleting a file/directory on startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Freitag, den 11.01.2008, 20:03 +0100 schrieb Till Maas:
> On Fri January 11 2008, Jonathan Underwood wrote:
> 
> > Have a look at the logic used in the fail2ban init file - the start
> > operation checks for a running fail2ban process. If non is found, it
> > is safe to delete the lock file.
> 
> The logic in fail2ban is vulnerable to race conditions, which does not help 
> for pm-utils, where it can easily happen that it is run several times very 
> fast after each other.
> 
> Btw. the initial problem is to only delete a file at startup. I even found a 
> bug report specifically about this: https://bugzilla.redhat.com/250927
> 
> Regards,
> Till
> -- 
> fedora-devel-list mailing list
> fedora-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-devel-list

The directory that stores these files should be wiped at boot or on
shutdown..

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux