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

lint fb_syslog; delete uncontrolled files #208

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jaymzh
Copy link
Collaborator

@jaymzh jaymzh commented Feb 10, 2022

No description provided.

@jaymzh jaymzh changed the title Lint fb_storage; add mdadm package lint fb_syslog; delete uncontrolled files Feb 10, 2022
Comment on lines 76 to 82
directory '/etc/rsyslog.d' do
action :delete
recursive true
notifies :restart, "service[#{service_name}]"
end

Copy link
Member

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.

Copy link
Member

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

@facebook-github-bot
Copy link
Contributor

@davide125 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Comment on lines 49 to 53
'authlog' => {
'comment' => 'Log all auth stuff',
'selector' => 'auth,authpriv.*',
'action' => '/var/log/auth.log',
},
Copy link
Member

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.

Copy link
Collaborator Author

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.

@facebook-github-bot
Copy link
Contributor

@jaymzh has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@jaymzh has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@davide125 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants