Skip to content

Update nfs utils #986

Merged
merged 18 commits into from
Jan 17, 2019
Merged

Update nfs utils #986

merged 18 commits into from
Jan 17, 2019

Commits on Jan 16, 2019

  1. Remove rpcinfo

    The tool rpcinfo will be provided by package rpcbind.
    
    Remove this package.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    a4d6a81 View commit details
    Browse the repository at this point in the history
  2. Remove portmapper

    The portmapper service will be provided by the rpcbind daemon from the
    package rpcbind.
    
    Remove this package.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    0d372ae View commit details
    Browse the repository at this point in the history
  3. iana-etc: Convert to versionless bee file

    Create new be0 file from template.
    
    Import mee_build procedure from previous bee file.
    
    Ignore these special settings from the previous bee file:
    
       * `ARCH=noarch` (we don't currently care about ARCH)
       * `B=${S}` (not required)
       * definitions of mee_patch(),  mee_configure() and mee-intall() (all noop)
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    16f500c View commit details
    Browse the repository at this point in the history
  4. iana-etc: Clear prefix

    The Makefile installs into $PREFIX/etc, which doesn't work well with
    our current default prefix of /usr.
    
    Set PREFIX to empty.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    71711b6 View commit details
    Browse the repository at this point in the history
  5. iana-etc: Add service aliases "portmapper" and "rpcbind"

    rpcbind will be socket activated by default. However, if the daemon
    is started manually, it requires one of the aliases "portmapper" or
    "rpcbind" to be available in /etc/services.
    
    Add service aliases for udp/tcp port 111.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    b9050a5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fcecd60 View commit details
    Browse the repository at this point in the history
  7. Add rpcbind

    The package rpcbind is a replacement for the older portmapper and
    rpcinfo packages. It is required by current nfs-utils package
    (rpc.mountd).
    
    Homepage: https://linux-nfs.org/wiki/index.php/Main_Page
    Repository: git://linux-nfs.org/~steved/rpcbind
    
    This package installs systemd socket and unit files for socket
    activation. If the daemon is started manually, however, it requires
    the alias "portmapper" or "rpcbind" to be available in /etc/services,
    e.g.:
    
        sunrpc          111/tcp portmapper rpcbind  # SUN Remote Procedure Call
        sunrpc          111/udp portmapper rpcbind  # SUN Remote Procedure Call
    
    We don't need to add dependencies for the users of this service
    (nis.service,i nfsd.service) because these have an After= dependency
    on basic.target by DefaultDependencies. basic.target has an After=
    dependency on sockets.target.
    
    We don't need to start the service manually, because it is socket
    activated. The rpcbind.socket unit needs to be enabled, however.
    
    Create bee file from template without changes.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    ea42fec View commit details
    Browse the repository at this point in the history
  8. rpcbind: Add --enable-warmstarts

    This enables the -w option, which is used in the systemd service file
    supplied by this package.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    3209f39 View commit details
    Browse the repository at this point in the history
  9. Add libtirpc

    The libtirpc package contains libraries that support programs that use
    the Remote Procedure Call (RPC) API. It replaces the RPC, but not the
    NIS library entries that used to be in glibc.
    
    Required by nfs-utils.
    
    Create bee file from template without changes.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    e4e0053 View commit details
    Browse the repository at this point in the history
  10. Add keyutils

    Keyutils is a set of utilities for managing the key retention facility
    in the kernel, which can be used by filesystems, block devices and more
    to gain and retain the authorization and encryption keys required to
    perform secure operations.
    
    Required by nfs-utils.
    
    Create bee file from template without changes.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    c0e9419 View commit details
    Browse the repository at this point in the history
  11. Remove libnfsidmap

    The library /usr/lib/libnfsidmap.so will be provided by the nfs-utils
    package. Remove this package.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    6510517 View commit details
    Browse the repository at this point in the history
  12. nfs-utils: Update version from 1.2.9 to 2.3.3

    We need newer versions of the tools (mountd, exportfs) to support
    kerberos authentication.
    
    Create bee file for new version from template without changes.
    
    Requires libtirpc and keyutils.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    6c10372 View commit details
    Browse the repository at this point in the history
  13. nfs-utils: Add build_in_sourcedir

    Without build_in_sourcedir the build fails, because -I is used with
    relative paths ( `-I../../support/include` ) :
    
        gcc -DHAVE_CONFIG_H -I.  -I/scratch/local/bee-root/nfs-utils/nfs-utils-2.3.3-0/source/support/export -I../../support/include  -I/usr/include/tirpc   -D_GNU_SOURCE -pipe -Wall  -Wextra  -Werror=strict-prototypes  -Werror=missing-prototypes -Werror=missing-declarations  -Werror=format=2  -Werror=undef -Werror=missing-include-dirs  -Werror=strict-aliasing=2 -Werror=init-self  -Werror=implicit-function-declaration -Werror=return-type  -Werror=switch  -Werror=overflow -Werror=parentheses  -Werror=aggregate-return  -Werror=unused-result -fno-strict-aliasing  -Werror=format-overflow=2 -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -g -O2 -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o
        /scratch/local/bee-root/nfs-utils/nfs-utils-2.3.3-0/source/support/export/client.c
        /scratch/local/bee-root/nfs-utils/nfs-utils-2.3.3-0/source/support/export/client.c:22:10:
        fatal error: sockaddr.h: No such file or directory
        #include "sockaddr.h"
                  ^~~~~~~~~~~~
        compilation terminated.
    
    Add build_in_sourcedir.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    b54c906 View commit details
    Browse the repository at this point in the history
  14. nfs-utils: Enable svcgss (rpc.svcgssd)

    The daemon rpc.svcgssd for server-side kerberos authentication is only
    build on request.
    
    Add configure flag to build the daemon.
    donald committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    a57f532 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2019

  1. Add scripts/update-nfs-utils

    donald committed Jan 17, 2019
    Configuration menu
    Copy the full SHA
    fda90c8 View commit details
    Browse the repository at this point in the history
  2. update-nfs-utils: Disable nfs version 3

    We use nfs version 4 only. Disable unused version 3, to make things
    simpler.
    donald committed Jan 17, 2019
    Configuration menu
    Copy the full SHA
    f6f172b View commit details
    Browse the repository at this point in the history
  3. Remove statd

    donald committed Jan 17, 2019
    Configuration menu
    Copy the full SHA
    d2a4e76 View commit details
    Browse the repository at this point in the history
  4. Remove am-utils

    This is the amd automounter. We will not be using it again and
    it might not even work if we restrict ourself to nfs4.
    
    Remove this package.
    
    If we find scripts using `pawd` from this package, they need to be fixed
    to use just `pwd`.
    donald committed Jan 17, 2019
    Configuration menu
    Copy the full SHA
    6fe1acc View commit details
    Browse the repository at this point in the history