David Howells [Thu, 18 Jun 2020 15:17:41 +0000 (16:17 +0100)]
Move to version 0.5
- kafs-dns: Fix the -V flag.
- kafs-dns: Fix srv[=N] callout option.
- Add manpages for kafs-dns and kafs-preload.
- kafs-preload: Fix the debugging output.
- kafs-dns: Use the right name in the help output and syslog logging.
- Rename the etc.conf source to client.conf as that's the installation name
David Howells [Wed, 20 May 2020 15:23:00 +0000 (16:23 +0100)]
Makefile: Mark rpmlint, rpm and tarball targets as always needing doing
Mark the rpmlint, rpm, tarball and $(ZTARBALL) targets as always needing
doing in the main makefile so that they don't get blocked by existing stuff
of the same pathname.
David Howells [Tue, 7 Apr 2020 15:05:16 +0000 (16:05 +0100)]
aklog: Use AF_ALG and own DES functions for crypto instead of OpenSSL
Use AF_ALG to access the HMAC(MD5) function needed for key derivation and
provide the missing DES functions which mean that OpenSSL is no longer
required.
David Howells [Fri, 5 Jul 2019 22:35:44 +0000 (23:35 +0100)]
Address Fedora review comments
Address the following Fedora review comments:
- spec: Make the -libs rpm own the /etc/kafs/ directory.
- spec: Use %make_build and %make_install to bring in %{?_smp_mflags}
- spec: Use %global instead of %define
David Howells [Fri, 7 Jun 2019 15:11:30 +0000 (16:11 +0100)]
Use the filesystem-afs package to provide /afs on Fedora
Use the filesystem-afs subpackage to provide and maintain the /afs
directory on Fedora rather than doing it here as it will cause the upgrade
to fail if the newer package also provides /afs.
David Howells [Tue, 22 Jan 2019 10:39:02 +0000 (10:39 +0000)]
Fix verbose() func in kafs-preload
When kafs-preload's verbose() function was made to support syslog, the
original vprintf was left in and thus duplicated. However, the va pointer
has been advanced and so this SEGV's.
Fixes: f058d9bb7b22 ("Use syslog in kafs-preload program") Signed-off-by: David Howells <[email protected]>
David Howells [Thu, 20 Sep 2018 11:33:51 +0000 (12:33 +0100)]
Add a utility library and number of utility programs
Add a utility library to do parsing of cellserv database and DNS lookups
for server details. This will be of use to the kafs-utils package as well.
Parts of it may also be generally useful, so it may get moved into
keyutils.
Add a number of utility programs:
(1) kafs-check-config: Sysadmin tool. Check the cellserv database and
allow it to be dumped.
(2) kafs-preload: Systemd auxiliary program. Preload the in-kernel cell
database from the configuration.
(3) dns_afsdb: Request-key upcall program. Fetch the VL server list and
addresses lists for a cell on behalf of the kernel.
Add a systemd service to configure the kafs dynamic root by preloading cell
names into the cell database.
David Howells [Thu, 1 Mar 2018 11:39:38 +0000 (11:39 +0000)]
Differentiate kafs stuff by name
Differentiate kafs and kafs toolage from other AFS tools by name so that
they can be installed and used in parallel. To this end, use /kafs instead
of /afs as the mountpoint and rename aklog to aklog-kafs.