]> www.infradead.org Git - users/dhowells/kafs-client.git/log
users/dhowells/kafs-client.git
5 years agoMove to version 0.2
David Howells [Tue, 16 Apr 2019 20:06:32 +0000 (21:06 +0100)]
Move to version 0.2

Signed-off-by: David Howells <dhowells@redhat.com>
5 years agomakefile: Build the tarball and then build the rpm from that
David Howells [Tue, 25 Jun 2019 19:32:28 +0000 (20:32 +0100)]
makefile: Build the tarball and then build the rpm from that

Build the tarball and then build the rpm from that as separate steps.

Signed-off-by: David Howells <dhowells@redhat.com>
5 years agoUse the filesystem-afs package to provide /afs on Fedora
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>
5 years agoFix default source
David Howells [Thu, 2 May 2019 15:11:32 +0000 (16:11 +0100)]
Fix default source

Set the default source for a vl server list extracted from the
configuration to kafs_record_from_config.

Signed-off-by: David Howells <dhowells@redhat.com>
5 years agoman: Add some missing manpages
David Howells [Tue, 16 Apr 2019 20:22:13 +0000 (21:22 +0100)]
man: Add some missing manpages

Signed-off-by: David Howells <dhowells@redhat.com>
6 years agoaklog: Make cell argument optional
David Howells [Tue, 16 Apr 2019 15:48:35 +0000 (16:48 +0100)]
aklog: Make cell argument optional

Make cell argument to aklog-kafs optional, reading the cell from
/proc/net/afs/rootcell if not given.

Also support --help.

Signed-off-by: David Howells <dhowells@redhat.com>
6 years agokafs-client.spec: Add gcc as a BuildRequires
Jonathan Billings [Wed, 20 Feb 2019 13:43:34 +0000 (08:43 -0500)]
kafs-client.spec: Add gcc as a BuildRequires

Fedora requires gcc to be listed as an explicit build requirement.  See:

https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/

Signed-off-by: Jonathan Billings <jsbillings@jsbillings.org>
Signed-off-by: David Howells <dhowells@redhat.com>
6 years agoHonour 'sysname' setting in preload
David Howells [Tue, 22 Jan 2019 17:47:31 +0000 (17:47 +0000)]
Honour 'sysname' setting in preload

If a defaults section exists in the configuration and this contains a
setting for the workstation's @sys substitution list, e.g.:

        [defaults]
        sysname = fedora28_x86 amd64_linux

then load this into kernel after the cell list has been preloaded.

Signed-off-by: David Howells <dhowells@redhat.com>
6 years agoHonour 'thiscell' setting in preload
David Howells [Tue, 22 Jan 2019 13:58:46 +0000 (13:58 +0000)]
Honour 'thiscell' setting in preload

If a defaults section exists in the configuration and this contains a
setting for the workstation's cell, e.g.:

[defaults]
thiscell = example.com

then load this into kernel after the cell list has been preloaded.

Signed-off-by: David Howells <dhowells@redhat.com>
6 years agoFix verbose() func in kafs-preload
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>
6 years agoChange config to /etc/kafs/client.{conf,d}
David Howells [Mon, 10 Dec 2018 22:04:32 +0000 (22:04 +0000)]
Change config to /etc/kafs/client.{conf,d}

Change the name of the config file and dir to /etc/kafs/client.{conf,d} rather
than /etc/kafs/cellservdb.*.

Note that the default cellservdb.conf is unrenamed and is included by
client.conf.

Signed-off-by: David Howells <dhowells@redhat.com>
6 years agoUse syslog in kafs-preload program
David Howells [Tue, 11 Dec 2018 00:23:00 +0000 (00:23 +0000)]
Use syslog in kafs-preload program

Write verbose messages to the syslog in the kafs-preload programme and also
set the name of the facility.

Signed-off-by: David Howells <dhowells@redhat.com>
6 years agoDepend on keyutils-1.6
David Howells [Wed, 14 Nov 2018 18:20:09 +0000 (18:20 +0000)]
Depend on keyutils-1.6

Set a dependency on keyutils-1.6 so that the DNS record lookup can be
overridden specifically for AFSDB record requests (including AFS SRV
lookups).

Signed-off-by: David Howells <dhowells@redhat.com>
6 years agoAdd a utility library and number of utility programs
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>
6 years agoUpdate the package, drawing on Jonathan S. Billings's package
David Howells [Mon, 10 Sep 2018 10:39:44 +0000 (11:39 +0100)]
Update the package, drawing on Jonathan S. Billings's package

Signed-off-by: David Howells <dhowells@redhat.com>
7 years agoDifferentiate kafs stuff by name
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>
7 years agoAdd /afs directory
David Howells [Fri, 9 Feb 2018 10:52:24 +0000 (10:52 +0000)]
Add /afs directory

7 years agoFix Makefile
David Howells [Fri, 9 Feb 2018 10:44:34 +0000 (10:44 +0000)]
Fix Makefile

7 years agoAdd README
David Howells [Fri, 9 Feb 2018 10:42:42 +0000 (10:42 +0000)]
Add README

7 years agoFix Makefile and spec
David Howells [Fri, 9 Feb 2018 10:36:43 +0000 (10:36 +0000)]
Fix Makefile and spec

7 years agoFix Makefile
David Howells [Fri, 9 Feb 2018 10:33:40 +0000 (10:33 +0000)]
Fix Makefile

7 years agoAdd Makefile
David Howells [Fri, 9 Feb 2018 10:32:55 +0000 (10:32 +0000)]
Add Makefile

7 years agoInitial commit
David Howells [Fri, 9 Feb 2018 10:32:08 +0000 (10:32 +0000)]
Initial commit