View Issue Details

IDProjectCategoryView StatusLast Update
0000919bareos-core[All Projects] Generalpublic2018-09-28 10:45
ReporterGratien DhaeseAssigned To 
Status closedResolutionno change required 
PlatformLinuxOSCentOSOS Version7
Product Version17.2.5 
Target VersionFixed in Version 
Summary0000919: The capabilities of ping command are lost after the restore with bareos
DescriptionUsing 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 ==)
     @@ -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 and
Steps To ReproduceSee the logs from the script:
Additional InformationPerhaps we miss a configuration setting on Bareos - see
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action




2018-02-21 16:57

administrator   ~0002935

Hello Gratien,

thank you for the hint. We will check on this.


2018-09-28 10:44

administrator   ~0003123

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


2018-09-28 10:45

administrator   ~0003124

xattrsupport needs to be enabled to also restore capabilities

Issue History

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