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.
Signed-off-by: David Howells <dhowells@redhat.com>
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 <dhowells@redhat.com>
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.
Signed-off-by: David Howells <dhowells@redhat.com>
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.
Signed-off-by: David Howells <dhowells@redhat.com>