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

Invalid logrotate file for LAD #1111

Closed
taoyama opened this issue Nov 21, 2019 · 3 comments
Closed

Invalid logrotate file for LAD #1111

taoyama opened this issue Nov 21, 2019 · 3 comments
Assignees

Comments

@taoyama
Copy link
Member

taoyama commented Nov 21, 2019

I can see error while logrotate.
# /usr/sbin/logrotate -d /etc/logrotate.conf ... reading config file omsagent-LAD error: omsagent-LAD:1 lines must begin with a keyword or a filename (possibly in double quotes) ...

It seems that the logrotate file is invalid.
# cat /etc/logrotate.d/omsagent-LAD /var/opt/microsoft/omsagent/LAD/log/omsagent.log {\n\trotate 10\n\tmissingok\n\tnotifempty\n\tcompress\n\tsize 100M\n\tcopytruncate\n}

@hestolz
Copy link
Contributor

hestolz commented Nov 21, 2019

@taoyama is there an ICM/CRI associated with this? Does this repro on multiple distros or just some?
@nidhanda please take a look at #1112 as you are the original author of this code

@sbonds
Copy link

sbonds commented Dec 5, 2019

I noticed this same issue and it has been reported as part of a larger Microsoft support request. I'm hesitant to post case numbers publicly, but I referenced this issue within the case.

@hestolz
Copy link
Contributor

hestolz commented Jan 23, 2020

Fixed in #1128, release ETA is February.

@hestolz hestolz closed this as completed Jan 23, 2020
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

4 participants