[Users] snapshot then rsync Container file with extended attribute "trusted.pfcache" fails on OpenVZ 7

Nethub Online - Ming nethubonline at gmail.com
Mon Jan 14 07:51:38 MSK 2019

Bug already reported to : https://bugs.openvz.org/browse/OVZ-7075

>Description of problem: I want to snapshot and then rsync to backup the
container files, but I found that rsync -X a file inside container with
extended attribute "trusted.pfcache" that will fail with "Operation not
supported" error

>Steps to Reproduce:
[root at localhost ~]# vzpkg update cache centos-7-x86_64
[root at localhost ~]# prlctl create 101 --vmtype ct
[root at localhost ~]# prlctl set 101 --ipadd
[root at localhost ~]# prlctl set 101 --hostname attr.test.com
[root at localhost ~]# prlctl set 101 --nameserver ""
[root at localhost ~]# prlctl set 101 --memsize 4G --swappages 4M
[root at localhost ~]# prlctl start 101
[root at localhost ~]# prlctl exec 101 "yum -y install

[root at localhost ~]# vzctl snapshot 101 --id
674bac28-6c49-41a3-aff6-2cf080236d55 --skip-suspend
[root at localhost ~]# vzctl snapshot-mount 101 --id
674bac28-6c49-41a3-aff6-2cf080236d55 --target /mnt
[root at localhost ~]# rsync -X /mnt/opt/plesk/php/7.3/etc/php.ini /root
rsync: rsync_xal_set:
lsetxattr(""/root/.PEAR.php.dJOBjI"","trusted.pfcache") failed: Operation
not supported (95)
rsync error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1055) [sender=3.0.9]

>Actual results: "Operation not supported" error

>Expected results: no error

>Host OS: Virtuozzo Linux release 7.5 (installed by

>Guest OS: CentOS Linux release 7.6.1810 (Core)

>Additional info (see https://openvz.org/Reporting_OpenVZ_problem):
extended attribute "trusted.pfcache" could be shown as below:

[root at localhost ~]# getfattr -d -m trusted
getfattr: Removing leading '/' from absolute path names
# file:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20190114/4f699abb/attachment.html>

More information about the Users mailing list