FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2010
    Posts
    637

    I need a list of SELinux rules for bind-chroot

    Hi All,

    Would someone point me to a paper describing what SELinux rules I need to implement to use with bind-chroot?

    Many thanks,
    -T

  2. #2
    Join Date
    May 2017
    Location
    www
    Posts
    135

    Re: I need a list of SELinux rules for bind-chroot

    SELinux Contexts

    If you are running SELinux, run the following commands as root to set the correct SELinux contexts for the bind/ directory, and the named.conf, bind.log, rndc.conf, named-stats.log, and logging files:

    Code:
    chcon -t named_zone_t /var/named/chroot/etc/bind/
    Code:
    chcon -t named_zone_t /var/named/chroot/etc/named.conf
    Code:
    chcon -t named_cache_t /var/named/chroot/etc/bind/bind.log
    Code:
    chcon -t named_conf_t /var/named/chroot/etc/rndc.conf
    Code:
    chcon -t named_cache_t /var/named/chroot/etc/bind/named-stats.log
    Code:
    chcon -t named_zone_t /var/named/chroot/etc/bind/logging
    Run the following command as root on each zone database file to set the correct SELinux context:

    Code:
    chcon -t named_zone_t <code>zone-database-name</code> <code>zone-database-name</code> <code>zone-database-name</code>

Similar Threads

  1. Replies: 0
    Last Post: 10th January 2009, 08:58 PM
  2. Replies: 2
    Last Post: 19th February 2008, 03:44 PM
  3. Replies: 3
    Last Post: 25th April 2006, 05:55 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •