Compiling Linux kernel with Rich ACL support

I don’t know how many of you have heard about Rich ACL or Rich Access Control Lists. Most of you might have heard about NFS protocol i.e, the Network File System protocol. This particular protocol, with its v4.0 and above defines a particular set of ACLS known as NFSv4 ACLs. Rich ACL is a modified or an extended form of NFSv4 ACLs. Let me explain in brief on what do we mean by ACLs.

ACL or Access Control List ?
This is a list of permissions attached to an object. The object can be file, directories and so on. An ACL specifies which users or system processes are granted access to objects, as well as what operations are allowed on given objects.

ACLs and Linux
Linux follows the POSIX 1003.1e draft 17 standard for defining and storing ACLs. Even then in linux, getfacl and setfacl command line utilities do not strictly follow POSIX 1003.2c draft 17, which shows mostly in the way they handle default ACLs. For detailed explanation on how ACLs are defined and how they work in linux, please see http://users.suse.com/~agruen/acl/linux-acls/online/ .

Variations in ACL implementations
The ACL model implemented by the various versions of Windows is more powerful and complex than POSIX ACLs, and differs in several aspects. These differences create interoperability problems on both sides which is a disadvantage for UNIX-like systems. To address this issue, several UNIX-like systems started to support additional ACL models based on version 4 of the the Network File System (NFSv4) protocol specification. Linux is lacking this support so far. Following are some of the differences between various ACLs

Read More »

Introducing trashcan for Gluster File System v3.7

antmascot

“GlusterFS is a unified, poly-protocol, scale-out filesystem serving many petabytes of data”

This is the one-liner from http://gluster.org for describing the file system in short. GlusterFS community has made a tremendous progress in the world of distributed file systems. With the recent releases for this open-source project, it aims for something big that no other file system in this field can even dream about. Given the fact that it lacks a bit performace in case of small files, GlusterFS put forwards the following features for its next big release, GlusterFS v4.0:

  1. Thousand Node glusterd
  2. DHT scalability
  3. Small file performace improvement
  4. Better caching
  5. Data classification
  6. NSR or new style replication and much more (http://www.gluster.org/community/documentation/index.php/Planning40)

This particular article on GlusterFS is focussed on explaining the newly introduced trash feature in version 3.7. Please read through the following link for a brief introduction to Gluster File system.

Introduction to GlusterFS (File System) and Installation on RHEL/CentOS and Fedora

What is Trash translator?
Read More »

Creating customized SysV init scripts in Red Hat/Fedora

Most of the software packages running on GNU/Linux distributions are not by default available in the pre-configured repositories. For developers, these software packages are usually compiled and installed. Quite often these source-compiled software requires a daemon to be run inorder to have the correct execution of the software. The service command in fedora can be used to invoke those background process. Installation from source may or may not contain the initialization scripts to start the particular service. In such situations you could write your own init scripts for launching the daemons using the service command. Let’s start with the basics now.

Run levels
Read More »