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

permissions #510

Open
kk0nrad opened this issue Nov 9, 2022 · 2 comments
Open

permissions #510

kk0nrad opened this issue Nov 9, 2022 · 2 comments
Assignees

Comments

@kk0nrad
Copy link

kk0nrad commented Nov 9, 2022

the fence-virtd provided by various distros (ie: fedora, centos, so on) is embedded with a default config file that has wrong permissions in my opinion:

ls -al /etc/fence_virt.conf
-rw-r--r--. 1 root root 272 May 10 2022 /etc/fence_virt.conf

the file should have 600 permissions like the one that is generated via fence_virtd -c

the key file, ie /etc/cluster/fence_xvm.key, should be also checked for permissions before starting the service

@oalbrigt oalbrigt self-assigned this Nov 9, 2022
@oalbrigt
Copy link
Collaborator

oalbrigt commented Nov 9, 2022

Thank you for the report. I'll look into how we should implement this.

@oalbrigt
Copy link
Collaborator

I've added default permissions and checks in fence_virtd:
#513

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

2 participants