Installing and Uninstalling cagefs

To install CageFS:

$ yum install cagefs
$ /usr/sbin/cagefsctl –init

That last command will create skeleton directory that might be around 7GB in size. If you don’t have enough disk space in /usr/share, use following commands to have cagefs-skeleton being placed in a different location:
$ mkdir /home/cagefs-skeleton
$ ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton

To uninstall CageFS,

start by disabling & removing all directories
$ /usr/sbin/cagefsctl –remove-all

That command will: Disable CageFS for all customers, unmount CageFS for all users, removes /usr/share/cagefs-skeleton & /var/cagefs directories. It will not remove /etc/cagefs directory

Remove CageFS RPM:
$ yum remove cagefs

Leave a Reply

Your email address will not be published. Required fields are marked *