View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000919 | bareos-core | General | public | 2018-02-21 14:53 | 2018-09-28 10:45 |
Reporter | Gratien Dhaese | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | CentOS | OS Version | 7 |
Product Version | 17.2.5 | ||||
Summary | 0000919: The capabilities of ping command are lost after the restore with bareos | ||||
Description | Using the 'rear-automated-testing' project to verify the latest Bareos version 17.2.5 with Relax-and-Recover 2.3-git.0.4e40a7b.unknown.changed / 2018-01-24 Compliance test of the recovered client system shows: × iputils integrity: RPM integrity test on iputils package (1 failed) ✔ System Package iputils should be installed × 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 We had this issue also with tar before - see ReaR issues https://github.com/rear/rear/issues/1175 and https://github.com/rear/rear/issues/1411 | ||||
Steps To Reproduce | See the logs from the rear-automated-testing.sh script: https://gist.github.com/cda26d43c4cc255c573a22a64af136a5 | ||||
Additional Information | Perhaps we miss a configuration setting on Bareos - see https://github.com/gdha/rear-automated-testing/blob/master/centos7/ansible/server/roles/rear-test/tasks/setup-bareos-server.yml | ||||
Tags | No tags attached. | ||||
Hello Gratien, thank you for the hint. We will check on this. |
|
I have just checked the details with the file capabilities. Please add "xattrsupport = yes" to your fileset like this: FileSet { Name = "SelfTest" Description = "fileset just to backup some files for selftest" Include { Options { Signature = MD5 # calculate md5 checksum per file xattrsupport = yes } File = "/usr/bin/ping" } } This also restores the capabilities of the files. We will investigate if we can set the xattribute support to on per default |
|
xattrsupport needs to be enabled to also restore capabilities | |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-02-21 14:53 | Gratien Dhaese | New Issue | |
2018-02-21 16:57 | joergs | Note Added: 0002935 | |
2018-02-21 16:57 | joergs | Status | new => acknowledged |
2018-09-28 10:44 | pstorz | Note Added: 0003123 | |
2018-09-28 10:45 | pstorz | Note Added: 0003124 | |
2018-09-28 10:45 | pstorz | Status | acknowledged => closed |
2018-09-28 10:45 | pstorz | Resolution | open => no change required |