phdeniel/nfs-ganesha — Issue #62: init script should not contain hardcoded options
Author: kc-cea
Created: 2012-03-02 10:09:08+00:00
State: open
Labels: Feature

The current init script contains paths and options, such as `$LOGFILE` or `$CONFFILE`, which are better suited in a sysconfig file.

The LOGFILE should be defined in ganesha's configuration file, as there already are several LogFile definitions for different components there (FSAL, CacheInode_Client, ...)
Other options such as CONFFILE, PID_FILE, LOCK_FILE and OPTIONS should be moved to the sysconfig file.

There's also a question of homogeneity in the product naming scheme: is it `ganesha` or `nfs-ganesha` or `ganesha.nfsd`? Since the daemon is called `lustre.ganesha.nfsd`, the sysconfig file is `nfs-ganesha.lustre`, the init file is nfs-ganesha-lustre, and the etc directory is /etc/ganesha, it's rapidly becoming pretty confusing.