Dear fellow MonetDB users,

The database directory is too large to keep on the root disk, so I always have used a symlink to the dbfarm directory under /var/monetdb.

After updating to FC35, this has however been causing many SELinux errors, that would not want to be fixed easily.

Not too long ago, I (finally?) learned about so-called bind mounts as an alternative to symlinks, and decided to give it a go.
Indeed, the SELinux problems were gone after issuing the following sequence of commands.

1. Remove pre-existing symlink:

    sudo rm /var/monetdb5/dbfarm

2. Create mount point and bind mount:

    sudo mkdir /var/monetdb5/dbfarm
    sudo mount --bind /export/data/dbfarm /var/monetdb5/dbfarm

3. Reinstall the SELinux package:

    sudo dnf reinstall MonetDB-selinux

If this works fine, you can add this line to /etc/fstab so the bind mount is persistent through reboot:

    /export/data/dbfarm     /var/monetdb5/dbfarm    none    bind

Hope this helps others who are updating their Fedora systems with existing databases,

Happy new year to all, and a thank you for this great software to all MonetDB folks,

Cheers,

Arjen

====================================================================
ICIS, office M1.00.05                             Radboud University
Mercator 1                                        Faculty of Science
Toernooiveld 212                                      arjen@cs.ru.nl
NL-6525 EC Nijmegen, The Netherlands              +31-(0)24-365 2354
===================== http://www.informagus.nl/ ====================