OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1811-g286ffa0

Gerrit Code Review
Thu, 27 Oct 2011 16:55:35 -0700 (PDT)

The following commit has been merged in the master branch:
commit 286ffa0d7c4d594ff107b70f9e930271c027a79e
Author: Edward Z. Yang <>
Date:   Mon Oct 17 23:16:15 2011 -0400

    linux: Update Packaging to build OpenAFS services for Fedora's systemd
    Fedora 15 now uses systemd (see
    for the OS init system. While it currently has backwards
    compatibility with older SysV-style init scripts, future versions of
    Fedora may no longer support it, and OS startup tends to be faster
    with the systemd service units. Also, systemd runs all the service's
    processes within a linux kernel cgroup.
    This change includes an openafs-client.service and
    openafs-server.service unit files for the client and server packages
    - Loading the openafs module was moved into
    /etc/sysconfig/modules/openafs-client.modules. This causes the OS to
    load the module on boot. This is the preferred way for modules to be
    loaded with Fedora. (See
    for more details)
    - The CellServDB file is generated with sed rather than cat.
    This change was made because Systemd doesn't execute as a shell
    script, but rather executes processes directly. Rather than invoking
    a shell to concatenate the CellServDB.* files, they're written to the
    CellServDB file using a sed oneliner.
    - Do all of the proper kernel module loading and unloading.
    - Since systemd uses cgroups, when the service is shut down, all
    processes in the openafs-server.service cgroup will be terminated.
    The other changes are standard as per:
    Original version by Jonathan Billings <>.
    Signed-off-by: Edward Z. Yang <>
    Change-Id: Ifb41790ffe107b319097b9750273aecfe82c3349
    Reviewed-by: Derrick Brashear <>
    Reviewed-by: Alex Chernyakhovsky <>
    Tested-by: BuildBot <>

 src/packaging/RedHat/openafs-client.modules |    4 +
 src/packaging/RedHat/openafs-client.service |   18 +++++
 src/packaging/RedHat/openafs-server.service |   11 +++
 src/packaging/RedHat/        |  105 ++++++++++++++++++++++++++-
 4 files changed, 137 insertions(+), 1 deletions(-)

OpenAFS Master Repository