-
Notifications
You must be signed in to change notification settings - Fork 140
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
lint fb_syslog; delete uncontrolled files #208
base: main
Are you sure you want to change the base?
Conversation
directory '/etc/rsyslog.d' do | ||
action :delete | ||
recursive true | ||
notifies :restart, "service[#{service_name}]" | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you spin this out in a separate PR ? I just checked and we still have a bunch of crap in there so it'd need a careful rollout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, gate it behind an attribute knob
Signed-off-by: Phil Dibowitz <[email protected]>
@davide125 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
'authlog' => { | ||
'comment' => 'Log all auth stuff', | ||
'selector' => 'auth,authpriv.*', | ||
'action' => '/var/log/auth.log', | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a Debian thing, so it should probably be gated to Debian/Ubuntu, CentOS and friends use /var/log/secure for this stuff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well it should probably just have the right name on RHEL and friends. Not having the auth/secure logs is a bummer. Will do a conditional.
@jaymzh has updated the pull request. You must reimport the pull request before landing. |
@jaymzh has updated the pull request. You must reimport the pull request before landing. |
@davide125 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
No description provided.