On 02/16/2016 12:27 PM, Giuseppe Scrivano wrote:
Dusty Mabe <dusty(a)dustymabe.com> writes:
> I am getting an error when trying to rebase to the updates-testing
> ostree. It is a similar fsetxattr error we have seen in the past:
> # Go to known reproducer starting point:
> -bash-4.3# rpm-ostree deploy 23.54 && reboot
> # After reboot:
> -bash-4.3# rpm-ostree rebase
> Receiving objects: 92% (3773/4069) 859.0 kB/s 99.6 MB
> error: fsetxattr: Invalid argument
> Can I get someone to confirm they can reproduce the issue and debug
> it? Should I open a bug?
yes, please file a bug.
Done. If you need to move it to a different component please do so.
I can reproduce the issue and the problem seems to be that the
/usr/libexec/rpm-ostreed file is not properly labeled. It must have the
same label as as rpm-ostree:
bash-4.3# ls -Z -1 /usr/libexec/rpm-ostreed /usr/bin/rpm-ostree
Can you try something like:
# systemctl stop rpm-ostreed
# cp /usr/libexec/rpm-ostreed /tmp
# chcon system_u:object_r:install_exec_t:s0 /tmp/rpm-ostreed
And from another terminal execute the rpm-ostree rebase command.
Does it work for you as well?
Yep, that worked. I included the workaround in the BZ.