OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-195-g40b2c60

Gerrit Code Review gerrit@openafs.org
Mon, 8 Aug 2022 22:42:11 -0400


The following commit has been merged in the master branch:
commit 40b2c6036737a416f3b33624b5abeefa407c1b01
Author: Jan Iven <iven.jan@gmail.com>
Date:   Fri Aug 5 14:46:27 2022 +0200

    systemd: do not load the 'openafs' module on boot
    
    remove /etc/sysconfig/modules/openafs-client.modules, i.e no longer have
    systemd run "modprobe openafs" at boot, on RPM-based systems.
    
    This had been introduced with a reference to the Fedora packaging guide
    at the time. However, this mechanism was meant just for persistent
    driver modules (i.e expected to stay loaded over the runtime) - the
    "openafs" module is loaded (and unloaded) by the actual systemd unit.
    
    The systemd unit that processes the above file comes from "initscripts",
    this is optional in later Fedoras/RHELs and so the file may not even be
    processed (/usr/lib/modules-load.d/ would be an alternative mechanism to
    load modules at boot.. if needed).
    
    This change is mostly cosmetic, although RT#135204 showed that having
    the "openafs" module loaded without a client running can actually be
    harmful.
    
    Change-Id: Iff1762723e25565268220403c383c7cc3fb4797a
    Reviewed-on: https://gerrit.openafs.org/15092
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/packaging/RedHat/openafs-client.modules | 4 ----
 src/packaging/RedHat/openafs.spec.in        | 2 --
 2 files changed, 6 deletions(-)

-- 
OpenAFS Master Repository