Changes between Initial Version and Version 1 of Ticket #387


Ignore:
Timestamp:
Jan 21, 2010, 7:45:35 PM (14 years ago)
Author:
Bruno Cornec
Comment:

The problem with /proc and /sys is that they are mounted in the chroot into which the system is restored before attributes are set up. Which is on one hand wrong, and then on the other hand leads to wrong xattr for those dirs. Excluding them is already done in mondoarchive. But the problem is that we need them at restore time. So probably something special for those has to be done.

It should not have a big impact in term of features so I lower the priority, and may even postpone it to post 2.2.9.2.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #387

    • Property Priority normallow
    • Property Status newassigned
  • Ticket #387 – Description

    initial v1  
    55The following errors are encountered when trying to restore the backup:[[BR]]
    66
    7 ===[[BR]]
     7{{{
    88setfattr: proc: Operation not supported[[BR]]
    99setfattr: sys: Operation not supported[[BR]]
    10 ===[[BR]]
     10}}}
    1111
    1212
     
    1515It has been observed in the filelist-7 that /proc and /sys were backed-up with the following xattr:[[BR]]
    1616
    17 ===[[BR]]
     17{{{
    1818# file: proc[[BR]]
    1919security.selinux=0x73797374656d5f753a6f626a6563745f723a70726f635f743a733000[[BR]]
     
    2121# file: sys[[BR]]
    2222security.selinux=0x73797374656d5f753a6f626a6563745f723a73797366735f743a733000[[BR]]
    23 ===[[BR]]
     23}}}
    2424
    2525Even if /proc and /sys sub-files/sub-dirs are not backed-up, we should also fully remove /proc and /sys from the backup. I guess removing it from the backup would avoid that kind of issue at restore time.