Why did the Satellite 6.2 installer spend a long time relabelling /var/lib/pulp during an upgrade?
Issue
- As part of the steps required to upgrade Satellite 6.2 to a newer minor release, I need to run the installer in upgrade mode:
# satellite-installer --scenario satellite --upgrade
- Why did the Satellite installer spend a long time relabelling the content in
/var/lib/pulpas part of the upgrade?
F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
4 0 6957 3808 20 0 641596 213728 wait S+ pts/0 1:37 \_ /usr/bin/python /bin/yum update
0 0 7360 6957 20 0 115180 1372 wait S+ pts/0 0:00 \_ /bin/sh /var/tmp/rpm-tmp.FGJHDB 0
0 0 7363 7360 20 0 108196 608 wait S+ pts/0 0:00 \_ xargs /usr/share/pulp/selinux/server/relabel.sh
0 0 7364 7363 20 0 115180 1408 wait S+ pts/0 0:00 \_ bash /usr/share/pulp/selinux/server/relabel.sh
4 0 7370 7364 20 0 26432 7364 xfs_bu D+ pts/0 3:09 \_ /sbin/restorecon -i -R /var/lib/pulp
Environment
- Red Hat Satellite 6.2.
- Upgrading to a newer minor release.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.