[Pulp-list] Moving /var/lib/pulp

Sparks, Alan alan.l.sparks at hpe.com
Wed Mar 30 17:47:01 UTC 2016

Is there a best way to move the content of /var/lib/pulp to a different file system?   I've tried tar'ing the data over, with -"-selinux --acls -xattrs" switches, and then symlinking /var/lib/pulp to the new location.   Triggers all sorts of selinux issues, even after changing the type of the symlink I wind up with lots of messages from celery tasks (like denied search from "/data" and even "/").

In the end, all my sync/publish tasks end up with a
Task Failed
[Errno 13] Permission denied: '/var/lib/pulp/published'

I know that all the published subdirectories have symlinks to the original locations (under /var/lib/pulp).   I can use a bind mount to solve it, but wondered if there's a procedure to move the data and change the configuration to use the new location.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20160330/13f3f43f/attachment.htm>

More information about the Pulp-list mailing list