Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syslog-ng tries open file only twice if it gets permission denied #841

Closed
juhaszviktor opened this issue Dec 17, 2015 · 3 comments
Closed
Assignees

Comments

@juhaszviktor
Copy link
Collaborator

There is a file, non-readable for syslog-ng.
At first time (initial time) the syslog-ng try to open it. It fails, that is ok.
When follow freq timer has been elapsed, the syslog-ng tries open this file.
If this second try failed, syslog-ng will never try open again.

I think syslog-ng should try open the file follow-freq by follow-freq.

@bazsi
Copy link
Collaborator

bazsi commented Dec 18, 2015

I agree.
On Dec 17, 2015 2:32 PM, "juhaszviktor" notifications@github.com wrote:

There is a file, non-readable for syslog-ng
At first time (initial time) the syslog-ng try to open it It fails, that
is ok
When follow freq timer has been elapsed, the syslog-ng tries open this file
If this second try failed, syslog-ng will never try open again

I think syslog-ng should try open the file follow-freq to follow-freq


Reply to this email directly or view it on GitHub
#841.

@juhaszviktor
Copy link
Collaborator Author

Ok, then patch is coming

On Fri, Dec 18, 2015 at 2:54 PM, Balazs Scheidler notifications@github.com
wrote:

I agree.
On Dec 17, 2015 2:32 PM, "juhaszviktor" notifications@github.com wrote:

There is a file, non-readable for syslog-ng
At first time (initial time) the syslog-ng try to open it It fails, that
is ok
When follow freq timer has been elapsed, the syslog-ng tries open this
file
If this second try failed, syslog-ng will never try open again

I think syslog-ng should try open the file follow-freq to follow-freq


Reply to this email directly or view it on GitHub
#841.


Reply to this email directly or view it on GitHub
#841 (comment).

juhaszviktor added a commit to juhaszviktor/syslog-ng that referenced this issue Dec 21, 2015
…Fixes: syslog-ng#841

Signed-off-by: Juhász Viktor <viktor.juhasz@balabit.com>
@ihrwein ihrwein added the ready label Dec 22, 2015
@lbudai
Copy link
Collaborator

lbudai commented Jul 5, 2016

@juhaszviktor : the patch did not come :-)
Do you have that patch?

@kvch kvch self-assigned this Sep 14, 2016
@kvch kvch added in progress and removed ready labels Sep 14, 2016
@lbudai lbudai closed this as completed in 81349db Sep 19, 2016
lbudai added a commit that referenced this issue Sep 19, 2016
Try to open file more than twice - closes #841
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants