OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4833-g79c8b36

Gerrit Code Review
Mon, 25 Apr 2016 20:09:30 -0400

The following commit has been merged in the master branch:
commit 79c8b36e11073c40fde2918ae9ee80cc5c3b8efe
Author: Michael Meffie <>
Date:   Fri Feb 6 10:56:43 2015 -0500

    util: reopen server logs on SIGUSR1 for external log rotation
    Claim the SIGUSR1 signal for reopening server log files.  A server
    process will reopen the log file when the SIGUSR1 signal is received.
    If the log file does not exist, the server process will create a new,
    empty log file.
    This allows external log rotation programs to rotate log files by
    renaming an existing log file then sending a SIGUSR1 signal to the
    corresponding server process.  Any messages written to the log after the
    log file was renamed but before the SIGUSR1 signal is received will
    continue to be written to the renamed log file.  The server process will
    write messages to the new log file after handling the SIGUSR1 signal.
    The SIGUSR1 signal is used to reopen the log file instead of the more
    commonly used SIGHUP signal, since SIGHUP is already used for resetting
    the logging level.
    The retirement of Linux 2.4 support, in particular the desupport of
    LinuxThreads, in commit ccf353ede6ef5cce7c562993d1bea0d20844bdb7 allows
    for the use of SIGUSR1 in OpenAFS.
    Change-Id: Ie3ff52ae4986eae30c7420b5f05ff1eacdfe7596
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>

 src/util/serverLog.c |   26 +++++++++++++++++++++++++-
 1 files changed, 25 insertions(+), 1 deletions(-)

OpenAFS Master Repository