If you want to use for example a central NFS export with your Nagios configuration under /etc/nagios on your Nagios server the nfs mount is basically mounted with the “nfs_t” context. To start Nagios you need the context “nagios_etc_t” for /etc/nagios instead. Unfortunately a simple “semanage fcontext -a -t …” is not sufficient. You need to add the context as a mount option to your /etc/fstab file like this:
server:/export /etc/nagios nfs vers=4,context="system_u:object_r:nagios_etc_t:s0" 0 0
Working in a customer project with RHEL OSP 6 and CEPH Enterprise is somehow challenging Here are some experiences especially with CEPH Monitor. Continue reading Ceph Monitor handling
Scenario: You want to create a custom CentOS 7 / RHEL 7 boot CD with custom kickstart files located on the CD. Furthermore you want to perform some post installation tasks like running some Puppet manifests. In this post I describe the process based on CentOS 7.1.
Continue reading Create custom Centos 7 Kickstart boot CD iso
If you open a file with vim then it is often very helpful to know the line number which you currently editing. To display line numbers within vim you can enable them every time you start vim with:
To enable line numbers permanently you can add the following line to /etc/vimrc (if you want to enable line numbers globally) or to ~/.vimrc (if you want to enable them only for your personal user):
echo set number >> /etc/vimrc
It is very simple to configure two network interfaces as a bond interface and put a VLAN tag on top of the bond interface. In this scenario we have two physical network interfaces: eth0 and eth1. Both should be configured as bond0 with a VLAN tag of 1000.
Continue reading Red Hat network interfaces with bonding and VLAN tag
In principle, a central Linux / UNIX user authentication should be provided for every user. Basically you will find Microsoft`s Active Directory as single point of truth in customer environments regarding identity management (IdM). Unfortunately a lot of requirements within the Linux / UNIX world are not met by Active Directory like