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

bareos missing capabilities report #71

Closed
gdha opened this issue Sep 28, 2018 · 1 comment
Closed

bareos missing capabilities report #71

gdha opened this issue Sep 28, 2018 · 1 comment

Comments

@gdha
Copy link
Owner

gdha commented Sep 28, 2018

According ReaR validation report https://gist.github.com/gdha/178504db0f6e0099848c2963ece81b6a
the ping command was missing the capabilities flag after restoration with Bareos 17.2

[38;5;9m     ×  Command rpm -V iputils stdout should eq ""
     
     expected: ""
          got: "........P    /usr/bin/ping\n........P    /usr/sbin/arping\n........P    /usr/sbin/clockdiff\n"
     
     (compared using ==)
     
     Diff:
     @@ -1 +1,4 @@
     +........P    /usr/bin/ping
     +........P    /usr/sbin/arping
     +........P /usr/sbin/clockdiff

A bug report was filled for the same at Bareos: https://bugs.bareos.org/view.php?id=919
Received a mail from Philip that the issue might be in the Bareos configuration file:
Please add "xattrsupport = yes" to your fileset

We still need to test this out.

@gdha gdha self-assigned this Sep 28, 2018
@gdha
Copy link
Owner Author

gdha commented Sep 28, 2018

The client had before restoring the following:

$ getfattr -d -m - /usr/bin/ping
getfattr: Removing leading '/' from absolute path names
# file: usr/bin/ping
security.capability=0sAAAAAgAwAAAAAAAAAAAAAAAAAAA=
security.selinux="system_u:object_r:ping_exec_t:s0"

and after the restore the output was empty.

@gdha gdha added the wontfix label Apr 16, 2020
@gdha gdha closed this as completed Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant