SHA256
1
0
forked from pool/openafs

- update to latest git branch stable-1_8_x

- change version to openafs-1.8.12-g... since the new stable release is 1.8.12
- apply intermediate patches for kernel 6.10
  * 03b280649f5e22ed74c217d7c98c3416a2fa9052: Linux-6.10: remove includes for asm/ia32_unistd.h
  * 0f6a3a402f4a66114da9231032bd68cdc4dee7bc: Linux-6.10: Use filemap_alloc_folio when avail
  * 658942f2791fad5e33ec7542158c16dfc66eed39: Linux-6.10: define a wrapper for vmalloc
  * d8b56f21994ce66d8daebb7d69e792f34c1a19ed: afs: avoid empty-body warning
  * 7097eec17bc01bcfc12c4d299136b2d3b94ec3d7: Linux 6.10: Move 'inline' before func return type

OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=127
This commit is contained in:
Christof Hanke 2024-08-14 09:50:41 +00:00 committed by Git OBS Bridge
commit d7141e7dbb
42 changed files with 4338 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,111 @@
commit 03b280649f5e22ed74c217d7c98c3416a2fa9052
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Wed Jun 12 13:56:44 2024 -0600
Linux-6.10: remove includes for asm/ia32_unistd.h
The Linux 6.10 commit:
"x86/syscall/compat: Remove ia32_unistd.h" (e2d168328e)
Removed the header ia32_unistd.h since it was just a wrapper for the
unistd_32_ia32.h.
The commit:
"linux-afs-translator-xen-20060731" (29dd792381)
added an ia32_unistd.h include to several files; all were not needed
(as they didn't reference any of the contents from the header file, e.g
_NR_ia32_*).
The commit:
"amd64-hook-ia32-table-20030519" (831e172463)
added an include for ia32_unistd.h to osi_module.c.
A later commit:
"osi-probe-syscall-20050129" (f126dbdbe2)
removed many of the references to defines from ia32_unistd.h, but did
not remove the include for the header.
Currently the only remaining files (linux-kernel-syscall-probe.m4,
LINUX/osi_probe.c and LINUX/osi_syscall.c) continue to reference the
items from ia32_unistd.h, but only when building older kernels that
either don't have LINUX_KEYRING_SUPPORT or when
ENABLE_LINUX_SYSCALL_PROBING is enabled (in both cases, these are only
applicable for older kernels where the asm/ia32_unistd.h file would be
present).
For the files that don't have references (i.e. _NR_ia32_*), we can
simply remove the include for asm/ia32_unistd.h. For the remaining set
of files, we can leave the include for asm/ia32_unistd.h since the code
already has preprocessor conditionals so it's only included for older
Linux kernels where the header file will be present.
We noted above, the include for asm/ia32_unistd.h is already conditional
on the checks for LINUX_KEYRING_SUPPORT and ENABLE_LINUX_SYSCALL_PROBING
so we do not need to add any additional configure checks.
Change-Id: I901b5c0f0ff86272b02f898f3951325533d22f4f
Reviewed-on: https://gerrit.openafs.org/15763
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
diff --git a/src/afs/LINUX/osi_ioctl.c b/src/afs/LINUX/osi_ioctl.c
index 3e797745c..d964d8103 100644
--- a/src/afs/LINUX/osi_ioctl.c
+++ b/src/afs/LINUX/osi_ioctl.c
@@ -21,10 +21,6 @@
#include <linux/unistd.h> /* For syscall numbers. */
#include <linux/mm.h>
-#ifdef AFS_AMD64_LINUX_ENV
-#include <asm/ia32_unistd.h>
-#endif
-
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/sched.h>
diff --git a/src/afs/LINUX/osi_module.c b/src/afs/LINUX/osi_module.c
index 8ace127f4..499810cc6 100644
--- a/src/afs/LINUX/osi_module.c
+++ b/src/afs/LINUX/osi_module.c
@@ -21,10 +21,6 @@
#include <linux/unistd.h> /* For syscall numbers. */
#include <linux/mm.h>
-#ifdef AFS_AMD64_LINUX_ENV
-#include <asm/ia32_unistd.h>
-#endif
-
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/init.h>
diff --git a/src/afs/LINUX/osi_pag_module.c b/src/afs/LINUX/osi_pag_module.c
index ea3d1bd2c..346108489 100644
--- a/src/afs/LINUX/osi_pag_module.c
+++ b/src/afs/LINUX/osi_pag_module.c
@@ -20,10 +20,6 @@
#include <linux/unistd.h> /* For syscall numbers. */
#include <linux/mm.h>
-#ifdef AFS_AMD64_LINUX_ENV
-#include <asm/ia32_unistd.h>
-#endif
-
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/init.h>
diff --git a/src/afs/LINUX/osi_proc.c b/src/afs/LINUX/osi_proc.c
index 9c5a080f0..ad7c695b9 100644
--- a/src/afs/LINUX/osi_proc.c
+++ b/src/afs/LINUX/osi_proc.c
@@ -25,10 +25,6 @@
#include <linux/unistd.h> /* For syscall numbers. */
#include <linux/mm.h>
-#ifdef AFS_AMD64_LINUX_ENV
-# include <asm/ia32_unistd.h>
-#endif
-
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/sched.h>

View File

@ -0,0 +1,96 @@
commit 0f6a3a402f4a66114da9231032bd68cdc4dee7bc
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Wed Jun 12 14:13:59 2024 -0600
Linux-6.10: Use filemap_alloc_folio when avail
The Linux 6.10 commit:
"mm: remove page_cache_alloc()" (3f2ae4ebd5)
removed the page_cache_alloc(), with a note that callers would be using
filemap_alloc_folio instead.
The function filemap_alloc_folio() was introduced in Linux 5.15 commit:
"mm/filemap: Add filemap_alloc_folio" (bb3c579e25)
Add a configure check for filemap_alloc_folio and update the function
afs_linux_read_cache() to use a wrapper that calls filemap_alloc_folio()
if available otherwise calls page_cache_alloc().
Minor whitespace/style cleanup
Note: The function filemap_alloc_folio() was introduced in Linux 5.15,
so this change affects builds using the Linux kernel 5.15 and later.
Change-Id: Ia17aefc38fe9787e54b315c864da726d610b8bb9
Reviewed-on: https://gerrit.openafs.org/15764
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
index 511b0838f..18809c89f 100644
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -2320,6 +2320,24 @@ mapping_read_page(struct address_space *mapping, struct page *page)
#endif
}
+/*
+ * small compat wrapper for filemap_alloc_folio/page_cache_alloc
+ */
+static struct page *
+afs_page_cache_alloc(struct address_space *cachemapping)
+{
+#if defined(HAVE_LINUX_FILEMAP_ALLOC_FOLIO)
+ struct folio *folio;
+ folio = filemap_alloc_folio(mapping_gfp_mask(cachemapping), 0);
+ if (folio == NULL) {
+ return NULL;
+ }
+ return &folio->page;
+#else
+ return page_cache_alloc(cachemapping);
+#endif
+}
+
/* Populate a page by filling it from the cache file pointed at by cachefp
* (which contains indicated chunk)
* If task is NULL, the page copy occurs syncronously, and the routine
@@ -2358,11 +2376,12 @@ afs_linux_read_cache(struct file *cachefp, struct page *page,
pageindex = (offset - AFS_CHUNKTOBASE(chunk)) >> PAGE_SHIFT;
while (cachepage == NULL) {
- cachepage = find_get_page(cachemapping, pageindex);
+ cachepage = find_get_page(cachemapping, pageindex);
if (!cachepage) {
- if (!newpage)
- newpage = page_cache_alloc(cachemapping);
- if (!newpage) {
+ if (newpage == NULL) {
+ newpage = afs_page_cache_alloc(cachemapping);
+ }
+ if (newpage == NULL) {
code = -ENOMEM;
goto out;
}
diff --git a/src/cf/linux-kernel-func.m4 b/src/cf/linux-kernel-func.m4
index 93f96f5ad..83ea354b0 100644
--- a/src/cf/linux-kernel-func.m4
+++ b/src/cf/linux-kernel-func.m4
@@ -253,6 +253,16 @@ AC_CHECK_LINUX_FUNC([no_strlcpy],
size_t s;
s = strlcpy(buff);]])
+dnl Linux 5.15 introduced filemap_alloc_folio() as a replacement for
+dnl page_cache_alloc(). page_cache_alloc() was updated to become just a
+dnl wrapper for filemap_alloc_folio().
+dnl Linux 6.10 removed page_cache_alloc().
+AC_CHECK_LINUX_FUNC([filemap_alloc_folio],
+ [#include <linux/kernel.h>
+ #include <linux/pagemap.h>],
+ [[static struct folio *folio;
+ folio = filemap_alloc_folio(0, 0);]])
+
dnl Consequences - things which get set as a result of the
dnl above tests
AS_IF([test "x$ac_cv_linux_func_d_alloc_anon" = "xno"],

View File

@ -0,0 +1,66 @@
commit 658942f2791fad5e33ec7542158c16dfc66eed39
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Wed Jun 12 14:16:43 2024 -0600
Linux-6.10: define a wrapper for vmalloc
The Linux 6.10 commit:
"mm: vmalloc: enable memory allocation profiling" (88ae5fb755)
changed vmalloc from a function to a wrapper macro.
This change results in build errors:
"error: implicit declaration of function vmalloc; did you mean
kmalloc? [-Werror=implicit-function-declaration]"
when vmalloc is passed as a parameter to the afs_atomlist_create() and
afs_lhash_create() functions.
Add a little wrapper function around vmalloc() to use for the parameter
to afs_atomlist_create() and afs_lhash_create().
Note: A configure test was not needed for this change since the name
and functionality of Linux's vmalloc did not change.
Change-Id: I69c1da9eea5d1de11c1628bbcef427f81f5c01e1
Reviewed-on: https://gerrit.openafs.org/15765
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
diff --git a/src/afs/LINUX/osi_alloc.c b/src/afs/LINUX/osi_alloc.c
index 86cd0e571..7c4b4a1ca 100644
--- a/src/afs/LINUX/osi_alloc.c
+++ b/src/afs/LINUX/osi_alloc.c
@@ -196,6 +196,15 @@ local_free(void *p, size_t n)
vfree(p);
}
+/*
+ * wrapper for vmalloc(), since vmalloc() may be a macro
+ */
+static void *
+local_vmalloc(size_t size)
+{
+ return vmalloc(size);
+}
+
/* linux_alloc_init(): Initializes the kernel memory allocator. As part
* of this process, it also initializes a pool of osi_linux_mem
* structures as well as the hash table itself.
@@ -209,14 +218,14 @@ linux_alloc_init(void)
/* initiate our pool of osi_linux_mem structs */
al_mem_pool =
afs_atomlist_create(sizeof(struct osi_linux_mem), sizeof(long) * 1024,
- (void *)vmalloc, local_free);
+ local_vmalloc, local_free);
if (!al_mem_pool) {
printf("afs_osi_Alloc: Error in initialization(atomlist_create)\n");
return 0;
}
/* initialize the hash table to hold references to alloc'ed chunks */
- lh_mem_htab = afs_lhash_create(hash_equal, (void *)vmalloc, local_free);
+ lh_mem_htab = afs_lhash_create(hash_equal, local_vmalloc, local_free);
if (!lh_mem_htab) {
printf("afs_osi_Alloc: Error in initialization(lhash_create)\n");
return 0;

View File

@ -0,0 +1,51 @@
commit 7097eec17bc01bcfc12c4d299136b2d3b94ec3d7
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Thu Jun 6 10:42:57 2024 -0600
Linux 6.10: Move 'inline' before func return type
With Linux 6.10 commit:
"kbuild: turn on -Wextra by default" (f5982cceb3)
there are additional compiler warnings that can turn
into build errors when --enable-checking is used.
"error: inline is not at beginning of declaration
[-Werror=old-style-declaration]"
The error is due to the return type preceding the "inline" keyword
in function declarations.
Fix the declarations for file_can_read_pages() and
afs_linux_readpage_fastpath() to have the proper ordering of the
static/inline keywords attributes so they precede the return type.
Just a note that the `static` and `inline` keywords must precede a
function's return type.
Change-Id: I3ff9d45c119e70a90faf18fbf6d49fb6b9adcf33
Reviewed-on: https://gerrit.openafs.org/15768
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Andrew Deason <adeason@sinenomine.net>
diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
index 18809c89f..c6c3bfe39 100644
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -2443,7 +2443,7 @@ afs_linux_read_cache(struct file *cachefp, struct page *page,
/*
* Return true if the file has a mapping that can read pages
*/
-static int inline
+static inline int
file_can_read_pages(struct file *fp)
{
#if defined(STRUCT_ADDRESS_SPACE_OPERATIONS_HAS_READ_FOLIO)
@@ -2456,7 +2456,7 @@ file_can_read_pages(struct file *fp)
return 0;
}
-static int inline
+static inline int
afs_linux_readpage_fastpath(struct file *fp, struct page *pp, int *codep)
{
loff_t offset = page_offset(pp);

1419
ChangeLog Normal file

File diff suppressed because it is too large Load Diff

109
README.SUSE.openafs Normal file
View File

@ -0,0 +1,109 @@
Here is described installation of openafs server and client on SUSE linux.
This text is based on AFS Quick Start Guide. The differences are:
- paths are adapted to SUSE installation
- uses Kerberos 5 authentization
Complete OpenAFS documentation is at http://openafs.org
SERVER SETUP
============
# choose an AFS cell name and a Kerberos realm name, the simplest setup is:
# - AFS cell name equal to DNS domain name
# - Kerberos realm name equal to uppercase AFS cell name
# create a partition for AFS filesystem and mount it under /vicepa
# start bosserver
/usr/sbin/bosserver -noauth &
# setup basic cell information
bos setcellname your.afs.server your.cell.name -noauth
# setup database servers processes
bos create your.afs.server ptserver simple /usr/lib/openafs/ptserver -cell your.cell.name -noauth
bos create your.afs.server buserver simple /usr/lib/openafs/buserver -cell your.cell.name -noauth
bos create your.afs.server vlserver simple /usr/lib/openafs/vlserver -cell your.cell.name -noauth
# If you want to use the old afs authentization (not recommended):
# bos addkey your.afs.server -kvno 0 -cell your.cell.name -noauth
# Authentication against heimdal krb5 server
# Here you can set up kerberos realm if you dont have any,
# see documentation in package krb5-doc
# restart kdc
rckrb5kdc restart
rckrb524d restart
# create afs principal in kerberos database
kadmin.local
add_principal afs@YOUR.KERBEROS.REALM # create afs key, use random password
ktremove -k /etc/krb5.keytab afs all # delete old afs key if any
# export the afs key to external keytab
# note the key version number (kvno), you will need it later for asetkey
ktadd -e des-cbc-crc:v4 afs@YOUR.KERBEROS.REALM
add_principal admin@YOUR.KERBEROS.REALM # create admin principal
quit # end kadmin.local
rm /etc/openafs/server/KeyFile # delete the old afs key file if any
# convert the afs key from /etc/krb5.keytab to /etc/openafs/server/KeyFile
# use <kvno> displayed by ktadd
asetkey add <kvno> /etc/krb5.keytab afs
# give admin the permissions to control bosserver
bos adduser your.afs.server admin -cell your.cell.name -noauth
# add admin to group system:administrators
pts createuser -name admin -id <user id> -cell your.cell.name -noauth
pts adduser admin system:administrators -cell your.cell.name -noauth
# restart bos server
bos restart your.afs.server -all -cell your.cell.name -noauth
# create fileserver processes
bos create your.afs.server fs fs /usr/lib/openafs/fileserver /usr/lib/openafs/volserver /usr/lib/openafs/salvager -cell your.cell.name -noauth
# create root volume
vos create your.afs.server /vicepa root.afs -cell your.cell.name -noauth
# restart bosserver with security enabled
rcopenafs-fileserver restart
CLIENT SETUP
============
IMPORTANT: Unfortunately, openafs client for linux kernel 2.6 has not reached
stable state yet. There may be problems.
edit /etc/sysconfig/openafs-client, set at least
REGENERATE_CELL_INFO="yes"
THIS_CELL="your.cell.name"
THIS_CELL_SERVER="your.afs.server"
If you are configuring first afs server and the volume root.cell does not
exist yet, you have to set also DYNROOT=no. After finishing the server
installaton it is better to change DYNROOT back to 'yes' as the client
behaves better on startup with network outage.
# start afs client
rcopenafs-client start
# login as admin
kinit admin
aklog -d # convert Kerberos 5 ticket to AFS token
To enable transparent login via pam, install package pam_krb5
and add 'call_modules=krb5afs' to /etc/security/pam_unix2.conf
For details look at pam_krb5afs(5), pam_krb5afs(8) and pam_unix2(8) manpages.
Now you have working afs server and client. You can continue with chapter
"Configuring the Top Levels of the AFS Filespace" of AFS Quick Start Guide.

104
RELNOTES-stable-1_8_x Normal file
View File

@ -0,0 +1,104 @@
Preface:
========
This is the Release-Notes of the last official release.
However,
this version is based on the git branch "openafs-stable-1_8_x"
and thus has additional changes beside the ones for 1.8.11.
The reason for this is the compatibility with current Linux-Kernels.
The ChangeLog gives you all commits applied since then.
The versioning-scheme of these packages is: openafs-$LAST_OFFICIAL_RELEASE.git$DATE_OF_NEWEST_COMMIT
The package-maintainer.
User-Visible OpenAFS Changes
OpenAFS 1.8.11
All platforms
* Check Rx RPC call number in incoming packets before allocating new
RPC calls to avoid re-running RPC calls when spurious packets are
received (15562)
* Fix memory leaks (15516 15517)
* Fix build failure when building with _FORTIFY_SOURCE (15518 15519)
* Fix build failures when building with the clang compiler (15540 15541
15547 15548)
* Improve error detection in OpenAFS directories for both clients
and servers (15544 15545 15546)
* Add a Makefile target to build Red Hat RPM packages (15514)
* Add support for custom version numbers in Red Hat RPM packages (15513)
All server platforms
* Fix File Server and Protection Server crashes due to recursive thread
lock bug (15609)
* Fix fileserver crashes during startup (15509 15543)
* The bosserver no longer creates the client configuration directory and
"ThisCell" and "CellServDB" symlinks. The "vos", "pts", and "bos"
commands now read cell configuration from the server cell configuration
directory when the client cell configuration directory is not present.
This change allows server packaging to be independent of client packaging
and removes the need for client configuration artifacts on hosts running
server processes only (15510 15511 15512)
* Print a warning in the volserver log when an older version of a volume
is restored over an existing volume, unless the volume was restored with
"-overwrite full" (15531)
* Print a warning in the bosserver log when the bosserver was not started
in restricted mode (15537)
* Avoid unbounded string copies when looking up volumes by name in
the vlserver (15538)
* Fix off-by-one directory entry name size check in salvager (15598)
All client platforms
* Updated the CellServDB to the latest version from grand.central.org
(15603)
All UNIX/Linux client platforms
* Fix PAG object memory leak which can degrade performance (15506)
* Improve kernel memory reclamation after accessing a large number of
files (15536)
* Improve cache corruption detection and refetch cache entries
when cache entry size mismatches are detected (15532 15533 15535)
* Fix panic in user-space client (libuafs, Fuse client) (15539)
Linux clients
* Add support for Linux 6.7 (15600)
* Add support for Linux 6.6 (15575 15589 15590)
* Add support for Linux 6.5 (15520 15521 15522 15523 15558)
* Fix BUG when directory entry names are longer than 16 characters.
Affects Linux 6.5 or higher built with GCC 13 or higher (15599)
* Invalidate Linux VFS dentry caches in the AFS filesystem when running
"fs flush*" commands. This reduces the need to drop Linux VFS caches
by writing to the "/proc/sys/vm/drop_caches" file when
troubleshooting (15515)
* Fix build failures (15507 15508 15596 15542 15549)
macOS
* Add support for MacOS 14 ("Sonoma") (15602)

6
afs3-bos.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>afs3-bos</short>
<description>OpenAFS basic overseer process (bosserver)</description>
<port protocol="udp" port="7007"/>
</service>

6
afs3-callback.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>afs3-callback</short>
<description>OpenAFS callbacks to cache managers (clients)</description>
<port protocol="udp" port="7001"/>
</service>

6
afs3-fileserver.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>afs3-fileserver</short>
<description>OpenAFS file server</description>
<port protocol="udp" port="7000"/>
</service>

6
afs3-prserver.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>afs3-prserver</short>
<description>OpenAFS users and groups database</description>
<port protocol="udp" port="7002"/>
</service>

6
afs3-rmtsys.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>afs3-rmtsys</short>
<description>OpenAFS remote cache manager service</description>
<port protocol="udp" port="7009"/>
</service>

6
afs3-update.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>afs3-update</short>
<description>OpenAFS server-to-server updater</description>
<port protocol="udp" port="7008"/>
</service>

6
afs3-vlserver.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>afs3-vlserver</short>
<description>OpenAFS volume location database (VLDB)</description>
<port protocol="udp" port="7003"/>
</service>

6
afs3-volser.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>afs3-volser</short>
<description>OpenAFS volume managment server (volserver)</description>
<port protocol="udp" port="7005"/>
</service>

View File

@ -0,0 +1,76 @@
commit d8b56f21994ce66d8daebb7d69e792f34c1a19ed
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Wed Jun 12 14:24:01 2024 -0600
afs: avoid empty-body warning
With Linux 6.10 commit:
"kbuild: turn on -Wextra by default" (f5982cceb3)
there are additional compiler warnings that can turn
into build errors when --enable-checking is used.
"error: suggest braces around empty body in an if
statement [-Werror=empty-body]"
when there is an empty body, e.g.
if (foo)
;
Most cases are due to the macros afs_PutCell and afs_PutServer which are
"empty" macros.
Update the afs_PutCell and afs_PutServer macros so they expand to
do {} while(0)
Add a comment at the definitions for afs_PutCell and afs_PutServer to
document the reason for keeping them.
Add braces to conditionals that have an empty body.
There are no functional changes with this commit.
Change-Id: I359723eb6a19d1c78449902b4f477da131b0fa18
Reviewed-on: https://gerrit.openafs.org/15766
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
diff --git a/src/afs/afs.h b/src/afs/afs.h
index 4bde047e8..621a8a517 100644
--- a/src/afs/afs.h
+++ b/src/afs/afs.h
@@ -349,7 +349,8 @@ struct cell_alias {
char *cell;
};
-#define afs_PutCell(cellp, locktype)
+/* In case someday a counterpart for afs_GetCell is needed */
+#define afs_PutCell(cellp, locktype) do {} while(0)
/* the unixuser flag bit definitions */
#define UHasTokens 1 /* are the st and ct fields valid (ever set)? */
@@ -537,7 +538,8 @@ struct server {
afs_int32 capabilities;
};
-#define afs_PutServer(servp, locktype)
+/* In case someday a counterpart for afs_GetServer is needed */
+#define afs_PutServer(servp, locktype) do {} while(0)
/* structs for some pioctls - these are (or should be)
* also in venus.h
diff --git a/src/afs/afs_cbqueue.c b/src/afs/afs_cbqueue.c
index 2dd633588..11e3aa3f1 100644
--- a/src/afs/afs_cbqueue.c
+++ b/src/afs/afs_cbqueue.c
@@ -139,7 +139,9 @@ afs_DequeueCallback(struct vcache *avc)
debugvc = avc;
if (avc->callsort.prev) {
QRemove(&(avc->callsort));
- } else; /* must have got dequeued in a race */
+ } else {
+ /* must have got dequeued in a race */
+ }
return;
} /* afs_DequeueCallback */

11
handle_backports.diff Normal file
View File

@ -0,0 +1,11 @@
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -971,7 +971,7 @@
# else
.splice_write = generic_file_splice_write,
# endif
-# if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)
+# if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,0)
.splice_read = filemap_splice_read,
# else
.splice_read = generic_file_splice_read,

View File

@ -0,0 +1,64 @@
#!/bin/bash
if [ $# != 1 ]; then
echo building a openafs-kernel module for the running kernel
echo Need one of: build build_debug install
exit 1
fi
rootdir=`cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd`
if [ -z "$rootdir" ]; then
echo "failed to determine the dirname of this script"
exit 1
fi
cd "$rootdir"
LOGFILE=libafs_tree/build.log
kernel_flavour=`uname -r | awk -F- '{print $NF}'`
kernel_version=`uname -r | sed "s/-$kernel_flavour//"`
arch=`uname -m`
suse_flavour=`cat /etc/os-release | grep PRETTY_NAME | awk -F '=' '{print $2}'`
suse_version=`cat /etc/os-release | grep VERSION_ID | awk -F '=' '{print $2}'`
echo This SUSE is version $suse_version of flavour $suse_flavour
echo you are running the kernel \"$kernel_version\" of flavour \"$kernel_flavour\" on \"$arch\"
echo all output is saved into $LOGFILE
if [ $1 == "build_debug" ]; then
DEBUG_OPT="--enable-debug-kernel"
fi
if [ $1 == "build" -o $1 == "build_debug" ]; then
cd libafs_tree
echo calling configure...
./configure --with-linux-kernel-headers=/usr/src/linux/ --with-linux-kernel-build=/usr/src/linux-obj/$arch/$kernel_flavour $DEBUG_OPT > build.log 2>&1
if [ $? != 0 ]; then
echo configure failed! See $LOGFILE for details
exit $?
fi
echo calling make
make >> build.log 2>&1
if [ $? != 0 ]; then
echo make failed! See $LOGFILE for details
exit $?
fi
echo
echo build sucessfull!
echo Now run $0 install to install the kernel-modules
exit 0
fi
if [ $1 == "install" ]; then
module_files="afspag.ko libafs.ko"
build_dir=libafs_tree/src/libafs/MODLOAD-$kernel_version-$kernel_flavour-MP/
install_dir=/lib/modules/$kernel_version-$kernel_flavour
echo installing kernel-modules into
for mod in $module_files; do
cp -v $build_dir/$mod $install_dir/$mod
done
/sbin/depmod -a
fi

99
kmp_only.files Normal file
View File

@ -0,0 +1,99 @@
/usr/bin/aklog
/usr/bin/fs
/usr/bin/klog.krb5
/usr/bin/pagsh
/usr/bin/pagsh.krb
/usr/bin/tokens
/usr/bin/tokens.krb
/usr/bin/unlog
/usr/bin/up
/usr/lib/firewalld/services/afs3-callback.xml
/usr/lib/firewalld/services/afs3-rmtsys.xml
/usr/sbin/afsd
/usr/sbin/fstrace
/usr/share/man/man1/aklog.1
/usr/share/man/man1/copyauth.1
/usr/share/man/man1/fs.1
/usr/share/man/man1/fs_apropos.1
/usr/share/man/man1/fs_bypassthreshold.1
/usr/share/man/man1/fs_checkservers.1
/usr/share/man/man1/fs_checkvolumes.1
/usr/share/man/man1/fs_chgrp.1
/usr/share/man/man1/fs_chown.1
/usr/share/man/man1/fs_cleanacl.1
/usr/share/man/man1/fs_copyacl.1
/usr/share/man/man1/fs_cscpolicy.1
/usr/share/man/man1/fs_discon.1
/usr/share/man/man1/fs_diskfree.1
/usr/share/man/man1/fs_examine.1
/usr/share/man/man1/fs_exportafs.1
/usr/share/man/man1/fs_flush.1
/usr/share/man/man1/fs_flushall.1
/usr/share/man/man1/fs_flushmount.1
/usr/share/man/man1/fs_flushvolume.1
/usr/share/man/man1/fs_getcacheparms.1
/usr/share/man/man1/fs_getcalleraccess.1
/usr/share/man/man1/fs_getcellstatus.1
/usr/share/man/man1/fs_getclientaddrs.1
/usr/share/man/man1/fs_getcrypt.1
/usr/share/man/man1/fs_getfid.1
/usr/share/man/man1/fs_getserverprefs.1
/usr/share/man/man1/fs_getverify.1
/usr/share/man/man1/fs_help.1
/usr/share/man/man1/fs_listacl.1
/usr/share/man/man1/fs_listaliases.1
/usr/share/man/man1/fs_listcells.1
/usr/share/man/man1/fs_listquota.1
/usr/share/man/man1/fs_lsmount.1
/usr/share/man/man1/fs_memdump.1
/usr/share/man/man1/fs_messages.1
/usr/share/man/man1/fs_minidump.1
/usr/share/man/man1/fs_mkmount.1
/usr/share/man/man1/fs_monitor.1
/usr/share/man/man1/fs_newalias.1
/usr/share/man/man1/fs_newcell.1
/usr/share/man/man1/fs_nukenfscreds.1
/usr/share/man/man1/fs_precache.1
/usr/share/man/man1/fs_quota.1
/usr/share/man/man1/fs_rmmount.1
/usr/share/man/man1/fs_rxstatpeer.1
/usr/share/man/man1/fs_rxstatproc.1
/usr/share/man/man1/fs_setacl.1
/usr/share/man/man1/fs_setcachesize.1
/usr/share/man/man1/fs_setcbaddr.1
/usr/share/man/man1/fs_setcell.1
/usr/share/man/man1/fs_setclientaddrs.1
/usr/share/man/man1/fs_setcrypt.1
/usr/share/man/man1/fs_setquota.1
/usr/share/man/man1/fs_setserverprefs.1
/usr/share/man/man1/fs_setverify.1
/usr/share/man/man1/fs_setvol.1
/usr/share/man/man1/fs_storebehind.1
/usr/share/man/man1/fs_sysname.1
/usr/share/man/man1/fs_trace.1
/usr/share/man/man1/fs_uuid.1
/usr/share/man/man1/fs_whereis.1
/usr/share/man/man1/fs_whichcell.1
/usr/share/man/man1/fs_wscell.1
/usr/share/man/man1/klog.krb5.1
/usr/share/man/man1/pagsh.1
/usr/share/man/man1/pagsh.krb.1
/usr/share/man/man1/tokens.1
/usr/share/man/man1/tokens.krb.1
/usr/share/man/man1/unlog.1
/usr/share/man/man1/up.1
/usr/share/man/man5/afs_cache.5
/usr/share/man/man5/afszcm.cat.5
/usr/share/man/man5/cacheinfo.5
/usr/share/man/man8/afsd.8
/usr/share/man/man8/fstrace.8
/usr/share/man/man8/fstrace_apropos.8
/usr/share/man/man8/fstrace_clear.8
/usr/share/man/man8/fstrace_dump.8
/usr/share/man/man8/fstrace_help.8
/usr/share/man/man8/fstrace_lslog.8
/usr/share/man/man8/fstrace_lsset.8
/usr/share/man/man8/fstrace_setlog.8
/usr/share/man/man8/fstrace_setset.8
/usr/share/openafs/C/afszcm.cat

11
logrotate.openafs-server Normal file
View File

@ -0,0 +1,11 @@
/var/log/openafs/*Log {
daily
compress
dateext
rotate 7
olddir /var/log/openafs/old
missingok
notifempty
create 640 root root
copytruncate
}

21
openafs-client.service Normal file
View File

@ -0,0 +1,21 @@
[Unit]
Description=OpenAFS Client
Wants=network-online.target
After=syslog.target network-online.target
Before=remote-fs.target
[Service]
Type=forking
RemainAfterExit=true
EnvironmentFile=/etc/sysconfig/openafs-client
ExecStartPre=/sbin/modprobe libafs
ExecStart=/usr/sbin/afsd $AFSD_ARGS
ExecStartPost=/usr/bin/fs sysname $SYSNAME
ExecStartPost=/usr/bin/fs setcrypt $CRYPT
ExecStop=/usr/bin/umount /afs
ExecStop=/usr/sbin/afsd -shutdown
ExecStop=/sbin/rmmod libafs
KillMode=none
[Install]
WantedBy=multi-user.target remote-fs.target

View File

@ -0,0 +1,20 @@
[Unit]
Description=OpenAFS Client
Wants=network-online.target
After=syslog.target network-online.target
Before=remote-fs.target
[Service]
Type=forking
RemainAfterExit=true
EnvironmentFile=/etc/sysconfig/openafs-client
ExecStartPre=/sbin/modprobe libafs --allow-unsupported
ExecStart=/usr/sbin/afsd $AFSD_ARGS
ExecStartPost=/usr/bin/fs sysname $SYSNAME
ExecStartPost=/usr/bin/fs setcrypt $CRYPT
ExecStop=/usr/bin/umount /afs
ExecStop=/usr/sbin/afsd -shutdown
ExecStop=/sbin/rmmod libafs
[Install]
WantedBy=multi-user.target remote-fs.target

View File

@ -0,0 +1,19 @@
[Unit]
Description=OpenAFS Client Service
Wants=network-online.target
After=syslog.target network-online.target
Before=remote-fs.target
[Service]
Type=forking
RemainAfterExit=true
EnvironmentFile=/etc/sysconfig/openafs-fuse-client
ExecStart=/usr/sbin/afsd.fuse $AFSD_ARGS
ExecStartPost=/usr/bin/fs sysname $SYSNAME
ExecStartPost=/usr/bin/fs setcrypt $CRYPT
ExecStop=/usr/bin/umount /afs
ExecStop=/usr/sbin/afsd.fuse -shutdown
KillMode=none
[Install]
WantedBy=multi-user.target remote-fs.target

11
openafs-server.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=OpenAFS Server
After=syslog.target network.target
[Service]
EnvironmentFile=-/etc/sysconfig/openafs-server
ExecStart=/usr/sbin/bosserver -nofork $BOSSERVER_ARGS
ExecStop=/usr/sbin/bos shutdown localhost -wait -localauth
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:20c484ebfcedae2f5c3f7fe3ea5b0b02d7a05c0490ea75c80d255b1fe6e336fd
size 3370191

View File

@ -0,0 +1 @@
0fa436de034023841082afa08ab08bdf /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-doc.tar.bz2

View File

@ -0,0 +1 @@
20c484ebfcedae2f5c3f7fe3ea5b0b02d7a05c0490ea75c80d255b1fe6e336fd /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-doc.tar.bz2

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7afd3cab43d1dd6078c944cfb97ca2aee622187a5443b97166a3a25384fb01a
size 14596525

View File

@ -0,0 +1 @@
63de2df7b8b37f9305a12024ed400fb6 /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-src.tar.bz2

View File

@ -0,0 +1 @@
c7afd3cab43d1dd6078c944cfb97ca2aee622187a5443b97166a3a25384fb01a /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-src.tar.bz2

1
openafs.CellAlias Normal file
View File

@ -0,0 +1 @@
openafs.org openafs

0
openafs.SuidCells Normal file
View File

1
openafs.ThisCell Normal file
View File

@ -0,0 +1 @@
openafs.org

1
openafs.cacheinfo Normal file
View File

@ -0,0 +1 @@
/afs:/var/cache/openafs:102400

910
openafs.changes Normal file
View File

@ -0,0 +1,910 @@
-------------------------------------------------------------------
Wed Aug 14 06:46:15 UTC 2024 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to latest git branch stable-1_8_x
- change version to openafs-1.8.12-g... since the new stable release is 1.8.12
- apply intermediate patches for kernel 6.10
* 03b280649f5e22ed74c217d7c98c3416a2fa9052: Linux-6.10: remove includes for asm/ia32_unistd.h
* 0f6a3a402f4a66114da9231032bd68cdc4dee7bc: Linux-6.10: Use filemap_alloc_folio when avail
* 658942f2791fad5e33ec7542158c16dfc66eed39: Linux-6.10: define a wrapper for vmalloc
* d8b56f21994ce66d8daebb7d69e792f34c1a19ed: afs: avoid empty-body warning
* 7097eec17bc01bcfc12c4d299136b2d3b94ec3d7: Linux 6.10: Move 'inline' before func return type
-------------------------------------------------------------------
Fri Jun 14 05:47:03 UTC 2024 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- change source-code base to git branch stable-1_8_x
* required for keeping up with Linux kernel development.
- new versioning scheme: openafs-$LAST_OFFICIAL_RELEASE.git$DATE_OF_NEWEST_COMMIT
- add note in RELNOTES about this change
- update ChangeLog from git
-------------------------------------------------------------------
Mon Feb 26 12:45:02 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Mon Jan 29 09:56:45 UTC 2024 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to openafs-1.8.11~pre1
- remove intermediate patches for newer Linux-kernels:
* fef2457.diff
* d15c7ab.diff
* 63801cf.diff
* 538f450.diff
* 6de0a64.diff
* 5b647bf.diff
* 6413fdb.diff
* 4f1d810.diff
-------------------------------------------------------------------
Mon Dec 11 04:58:30 UTC 2023 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- patch upstream patch fef2457.diff for 6.5 to handle backport by SUSE
* handle_backports.diff
-------------------------------------------------------------------
Fri Nov 10 08:53:16 UTC 2023 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- apply upstream-patches for kernel 6.6:
* 5b647bf.diff
* 6413fdb.diff
* 4f1d810.diff
- replace upstream-patch for kernel 6.5 474750a.diff by correct commit
6de0a64.diff for branch openafs-stable-1_8_x
-------------------------------------------------------------------
Mon Oct 2 07:29:50 UTC 2023 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- apply upstream-patches for kernel 6.5:
* 63801cf.diff
* d15c7ab.diff
* fef2457.diff
* 538f450.diff
* 474750a.diff
-------------------------------------------------------------------
Mon Jul 10 10:24:31 UTC 2023 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to official openafs-1.8.10
- remove obsolete patches:
* 7a3ad3bc.diff
* b885159.diff
* f6fbb85.diff
* 4cf7a9a.diff
-------------------------------------------------------------------
Tue May 30 12:21:37 UTC 2023 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- remove obsolete macro-call %{stop_on_removal} from spec-file
-------------------------------------------------------------------
Mon May 15 06:48:21 UTC 2023 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- apply upstream-patches for kernel 6.3:
* f6fbb85.diff
* 7a3ad3bc.diff
-------------------------------------------------------------------
Thu Mar 2 14:01:53 UTC 2023 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- apply patch from upstream for kernel 6.2:
* b885159.diff
- change BuildArch for subpackage kernel-source to noarch
-------------------------------------------------------------------
Wed Jan 4 08:14:39 UTC 2023 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to offical openafs-1.8.9
* all changes as openafs-1.8.9pre2
* fix possible DoS attack
-------------------------------------------------------------------
Mon Dec 12 07:40:28 UTC 2022 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to openafs-1.8.9pre2
* Support mainline kernels up to 6.0
* Support for building with more recent compilers
* some bugfixes, more see RELNOTES
- remove obsolete patches:
* 79f03c2.diff
-------------------------------------------------------------------
Wed Oct 12 16:19:20 UTC 2022 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to openafs-1.8.9pre1
- remove obsolete patches:
* 05b722d.diff
* cc8edf7.diff
* 6348262.diff
- apply patch for kernel 6.0:
* 79f03c2.diff
-------------------------------------------------------------------
Tue Aug 16 09:54:58 UTC 2022 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to current of upstream-branch openafs-stable-1_8_x
- apply patches for 15.9:
* 05b722d.diff 6348262.diff cc8edf7.diff
- remove patches now in openafs-stable-1_8_x
* fix_gcc_12_linux_5.18.diff
-------------------------------------------------------------------
Wed Jun 22 16:13:18 UTC 2022 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- apply patches adressing:
* Linux-5.17 and 5.18, gcc-11 and 12: fix_gcc_12_linux_5.18.diff
- remove patches from previous commit:
* a714e86.diff and 449d1fa.diff
* gcc-11.diff
-------------------------------------------------------------------
Wed Apr 20 06:24:41 UTC 2022 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- apply patches marked for upcoming release:
* kernel 5.17: a714e86.diff and 449d1fa.diff
* gcc-11: gcc-11.diff
-------------------------------------------------------------------
Mon Mar 28 20:27:18 UTC 2022 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- do not create client-package without KMP
-------------------------------------------------------------------
Mon Feb 21 10:48:51 UTC 2022 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- remove patch dir_layout.patch
this can be done via environment-variables
- replace openafs-1.8.x.ncurses6.patch with patch 4cf7a9a.diff.
4cf7a9a.diff is coming from upstream and will be incorporated at some point.
-------------------------------------------------------------------
Sun Jan 23 15:48:09 UTC 2022 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- Update to new upstream release 1.8.8.1
* Support mainline kernels 5.14, 5.15 and 5.16
- remove local patch linux-kmp.patch:
* it supported mainline kernels only up to 5.15
-------------------------------------------------------------------
Mon Nov 29 15:08:46 UTC 2021 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- re-add linux-kmp.patch. Required for 5.15
-------------------------------------------------------------------
Fri Oct 1 09:08:58 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix %ifarch for 32-bit arm
-------------------------------------------------------------------
Tue Aug 3 22:32:14 UTC 2021 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to openafs version 1.8.8
- remove linux-kmp.patch. Not required at the minute.
-------------------------------------------------------------------
Thu Apr 29 07:01:26 UTC 2021 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- add patches for kernel 5.12 to linux-kmp.patch
-------------------------------------------------------------------
Thu Mar 4 14:57:26 UTC 2021 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- add patches for kernel 5.11 to linux-kmp.patch
-------------------------------------------------------------------
Mon Feb 22 16:38:07 UTC 2021 - Michael Meffie <mmeffie@sinenomine.net>
- fix building of perl module AFS::ukernel
-------------------------------------------------------------------
Mon Feb 22 11:44:25 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com>
- kernel-source.build-modules.sh: choose safe CWD while executing the build to
prevent files being created in unsafe locations. Use new SUSE naming
convention and rely on /etc/os-release, since /etc/SuSE-release no longer
exists.
-------------------------------------------------------------------
Fri Feb 5 08:41:48 UTC 2021 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- use stock 1.8.7 from openafs.org
* git-version might contain experimental code
* add linux-kmp.patch for newer kernels
-------------------------------------------------------------------
Sat Jan 16 23:01:13 UTC 2021 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to HEAD of git branch openafs-stable-1_8_x
* fix critical bug described in
https://lists.openafs.org/pipermail/openafs-info/2021-January/043026.html
* remove remove-get_ds-usage.patch
* remove add_arch_to_linux_kernel_make.patch
-------------------------------------------------------------------
Mon Jan 11 10:01:15 UTC 2021 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- cleanup spec-file
* do not include firewalld-stuff for SLE_12
* use %ifarch instead of %if %{_arch}
* enable retpol line for TW x86_64 again
-------------------------------------------------------------------
Mon Nov 2 09:20:37 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to HEAD of git branch openafs-stable-1_8_x
-------------------------------------------------------------------
Mon Oct 12 15:15:08 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- add firewalld-configuration files
- enable loading of unsupported kernel-module on SLES15
-------------------------------------------------------------------
Mon Aug 17 12:49:33 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to HEAD of git branch openafs-stable-1_8_x
* kernel 5.8 not supported by 1.8.6
and no official package-upates out yet.
-------------------------------------------------------------------
Mon Aug 10 08:43:10 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- add patch remove-get_ds-usage.patch to fix building KMP on aarch64
-------------------------------------------------------------------
Wed Jul 1 08:53:44 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to official 1.8.6
* remove patch 4c4bdde.diff
* remove patch d3c7f75.diff
* use source URLs again
-------------------------------------------------------------------
Tue Jun 16 12:56:21 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- remove fix_timeval_i586.patch
-------------------------------------------------------------------
Tue Jun 16 12:55:14 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- disable retpol line for TW x86_64. It does not compile.
-------------------------------------------------------------------
Mon Jun 15 08:24:17 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to HEAD of git branch openafs-stable-1_8_x.
* 1.8.6pre3 is not out yet.
* disable source URLs, none are present
- Fix build with GCC-10
* add patch 4c4bdde.diff
* add patch d3c7f75.diff
- create ld.so.conf-file dynamically
-------------------------------------------------------------------
Sat Apr 18 07:07:48 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to 1.8.6pre2
- disable fix_timeval_i586.patch
-------------------------------------------------------------------
Fri Apr 10 06:36:58 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to HEAD of git branch openafs-stable-1_8_x.
* 1.8.6pre2 is not out yet.
* disable source URLs, none are present
* remove patch forward-to-1.8.6.pre1.patch
- fix build of i586 with fix_timeval_i586.patch
-------------------------------------------------------------------
Thu Apr 2 06:08:09 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to pre-release 1.8.6pre1: forward-to-1.8.6.pre1.patch
-------------------------------------------------------------------
Wed Oct 23 13:48:04 UTC 2019 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to security-release 1.8.5, adresses:
* OPENAFS-SA-2019-001: Skip server OUT args on error
* OPENAFS-SA-2019-002: Zero all server RPC args
* OPENAFS-SA-2019-003: ubik: Avoid unlocked ubik_currentTrans deref
-------------------------------------------------------------------
Thu Oct 10 09:10:27 UTC 2019 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to official version 1.8.4
- support Linux-kernel 5.3
- Avoid non-dir ENOENT errors in afs_lookup
- fix parsing of fileservers with -vlruthresh, etc.
- other bugfixes
-------------------------------------------------------------------
Thu Sep 26 20:56:05 UTC 2019 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to pre-release 1.8.4pre2
* fix builds for Linux-kernels 5.3
-------------------------------------------------------------------
Sun Jul 28 18:34:40 UTC 2019 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- disable compilation with LTO, does not work yet.
-------------------------------------------------------------------
Tue Apr 30 10:17:44 UTC 2019 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to 1.8.3
- Require krb5-client for package openafs-client
- fix broken directory layout
- fix broken post-install script
- allow crypt to be set/unset on startup of client
- clean up source-filenames
-------------------------------------------------------------------
Mon Mar 25 11:32:32 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Use source URLs.
-------------------------------------------------------------------
Thu Mar 14 08:37:04 UTC 2019 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to pre-release 1.8.3pre1
* fix builds for Linux-kernels 4.20 and 5.0
* other fixes, see RELNOTES-1.8.3pre1
* remove obsolete Linux-4.20.patch
-------------------------------------------------------------------
Wed Jan 16 11:28:27 UTC 2019 - christof.hanke@mpcdf.mpg.de
- Fix build for Lunux-4.20: Linux-4.20.patch
- use proper log-directory: dir_layout.patch
-------------------------------------------------------------------
Fri Sep 28 12:47:02 UTC 2018 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix build for aarch64
-------------------------------------------------------------------
Wed Sep 12 12:37:15 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Quote "*.c", and avoid unnecessary pass through xargs.
-------------------------------------------------------------------
Wed Sep 12 10:41:43 UTC 2018 - christof.hanke@mpcdf.mpg.de
- update to security-release 1.8.2
* fix CVE-2018-16947 (OPENAFS-SA-2018-001)
* fix CVE-2018-16948 (OPENAFS-SA-2018-002)
* fix CVE-2018-16949 (OPENAFS-SA-2018-003)
-------------------------------------------------------------------
Wed Sep 12 05:46:01 UTC 2018 - christof.hanke@mpcdf.mpg.de
- add retpoline support
-------------------------------------------------------------------
Sun Sep 9 08:14:26 UTC 2018 - christof.hanke@mpcdf.mpg.de
- update to version 1.8.1.1
- Remove use_timespec64_for_kernel_4.18.patch. It is now integrated.
-------------------------------------------------------------------
Thu Aug 16 14:02:44 UTC 2018 - christof.hanke@mpcdf.mpg.de
- Fix 32Bit build by adding
commit 554176bd236d772d670df9bdd2496facd5a4209a as
use_timespec64_for_kernel_4.18.patch
-------------------------------------------------------------------
Thu Aug 16 07:53:42 UTC 2018 - christof.hanke@mpcdf.mpg.de
- Update to 1.8.1
- Remove backporting patches for AArch64 build:
* add_support_fo_arm64_linux26.patch
* dont_require_AFS_SYSCALL.patch
* add_AFS_STRINGIZE_macro.patch
* avoid_double_param_in_arm64_kernel.patch
-------------------------------------------------------------------
Wed Jun 27 19:09:41 UTC 2018 - christof.hanke@mpcdf.mpg.de
- adjust building of KMP to new kernels (see boo 1098050)
add patch add_arch_to_linux_kernel_make.patch for this
- add libtirpc-devel to BuildRequires:
- minor cleanups
-------------------------------------------------------------------
Fri May 4 07:29:15 UTC 2018 - guillaume.gardet@opensuse.org
- Update to 1.8.0
- Fix AArch64 build by updating spec and backporting patches:
* add_support_fo_arm64_linux26.patch
* dont_require_AFS_SYSCALL.patch
* add_AFS_STRINGIZE_macro.patch
* avoid_double_param_in_arm64_kernel.patch
-------------------------------------------------------------------
Thu Apr 19 16:53:21 UTC 2018 - christof.hanke@mpcdf.mpg.de
- remove package krb5-mit. It contained binaries for server and client.
Besides, client and server already had an implicit dependency on krb5.
Put the binaries to client and server-package respectively.
- Remove openafs-1.8.x.heimdal.patch and everything heimdal-related.
SUSE does not provide a proper heimdal and it's untested for a long
time.
-------------------------------------------------------------------
Mon Apr 16 15:35:15 UTC 2018 - christof.hanke@mpcdf.mpg.de
- fdupes: use symlinks instead of hardlinks. Do not fdupe
/etc and /var
-------------------------------------------------------------------
Fri Apr 6 10:53:13 UTC 2018 - christof.hanke@mpcdf.mpg.de
- fix dependencies between packages, so that fuse-client
can be installed.
- cleanup old sys-v sysconfig files and other minor fixes
- fix unit file for fuse-client
-------------------------------------------------------------------
Mon Apr 2 20:59:53 UTC 2018 - christof.hanke@mpcdf.mpg.de
- build fuse-client unconditionally.
- do not build KMP on unsupported architectures so that overall
build succeeds.
Wed Mar 28 05:39:53 UTC 2018 - christof.hanke@mpcdf.mpg.de
- rename binary backup to afs_backup.
- rename man pages and prefix "backup" in content
- prefix "scout" by "afs_" in man-page
- remove unnecessary macro indirection %ARCH
- replace hard-coded paths by macros
- make whitespace more consistent
- minor syntax and typo fixes
-------------------------------------------------------------------
Sun Mar 18 23:34:56 UTC 2018 - jengelh@inai.de
- Replace old $RPM_* vars (most of them) by macros.
- Replace unnecessary macro indirections like %bindir by %_bindir.
-------------------------------------------------------------------
Thu Mar 15 08:28:10 UTC 2018 - christof.hanke@mpcdf.mpg.de
- cleanup last cleanup: also remove rc.* files
-------------------------------------------------------------------
Tue Mar 6 10:03:44 UTC 2018 - christof.hanke@mpcdf.mpg.de
- cleanup package for Factory:
- rename package to openafs.
- remove sys-v init stuff.
- apply recommendations given in Request 581009
-------------------------------------------------------------------
Wed Feb 28 09:25:52 UTC 2018 - christof.hanke@mpcdf.mpg.de
- add compat macro for new _fillupdir macro introduced in Nov 2017
-------------------------------------------------------------------
Wed Feb 28 08:30:33 UTC 2018 - christof.hanke@mpcdf.mpg.de
- update to 1.8.0pre5
-------------------------------------------------------------------
Sun Jan 7 08:31:00 UTC 2018 - christof.hanke@mpcdf.mpg.de
- update to 1.8.0pre4
- add patch for ncurses detection
-------------------------------------------------------------------
Thu Dec 7 11:07:30 UTC 2017 - christof.hanke@mpcdf.mpg.de
- update to 1.8.0pre3
- add integrity check of tar-balls
-------------------------------------------------------------------
Fri Sep 1 20:07:48 UTC 2017 - christof.hanke@mpcdf.mpg.de
- do not strip binaries on install
- fix %postun server
-------------------------------------------------------------------
Fri Sep 1 11:51:03 UTC 2017 - christof.hanke@mpcdf.mpg.de
- update to 1.8.0pre2
- use a preamble-file for KMP
- sort/cleanup/beautify spec-file
-------------------------------------------------------------------
Fri Sep 1 07:05:21 UTC 2017 - christof.hanke@mpcdf.mpg.de
- spec-file:
+ use hardlinks for fdupes to provide correct header files in
kernel-source
+ minor bugfixes, reorganization
- rename changes file to openafs18.changes
-------------------------------------------------------------------
Thu Feb 9 14:41:57 UTC 2017 - christof.hanke@mpcdf.mpg.de
- rename package to openafs18-* so they don't override
stable openafs-1.6 ones
- move ld.so to main package -- was in server-packages
-------------------------------------------------------------------
Tue Feb 7 11:23:22 UTC 2017 - christof.hanke@mpcdf.mpg.de
- enable building of KMP
- make openafs-krb5-mit package dependend on openafs-client package
- add ld.so - config to main package
-------------------------------------------------------------------
Fri Jan 27 21:15:12 UTC 2017 - christof.hanke@rzg.mpg.de
- remove pam, is not build on x86_64 and i596
-------------------------------------------------------------------
Mon Dec 26 18:59:09 UTC 2016 - christof.hanke@rzg.mpg.de
- first version of 1.8
- remove docs package, put man pages in induvidual packets
- remove layout-patch, deal with this in spec file directly
-------------------------------------------------------------------
Sat Dec 3 14:56:56 UTC 2016 - christof.hanke@rzg.mpg.de
- add new ChangeLog
-------------------------------------------------------------------
Thu Dec 1 04:35:39 UTC 2016 - christof.hanke@rzg.mpg.de
- update to version 1.6.20
-------------------------------------------------------------------
Wed Nov 16 09:21:52 UTC 2016 - christof.hanke@rzg.mpg.de
- add missing RemainAfterExit=true to client-systemd unit.
-------------------------------------------------------------------
Tue Nov 15 09:28:55 UTC 2016 - christof.hanke@rzg.mpg.de
- update to version 1.6.19
-------------------------------------------------------------------
Tue Oct 4 11:19:50 UTC 2016 - aj@suse.com
- Update README: Change SuSE to SUSE.
-------------------------------------------------------------------
Thu Jul 21 07:52:14 UTC 2016 - christof.hanke@rzg.mpg.de
- update to version 1.6.18.2
-------------------------------------------------------------------
Fri Jun 24 04:42:48 UTC 2016 - christof.hanke@rzg.mpg.de
- update to version 1.6.18.1
-------------------------------------------------------------------
Tue May 10 15:19:28 UTC 2016 - christof.hanke@rzg.mpg.de
- update to version 1.6.18
Thu Mar 17 06:35:21 UTC 2016 - christof.hanke@rzg.mpg.de
- update to version 1.6.17
- cleanup
-------------------------------------------------------------------
Fri Dec 18 06:53:08 UTC 2015 - christof.hanke@rzg.mpg.de
- update to version 1.6.16
- remove fix for configure for new ncurses, now dealt with in
shipped package
-------------------------------------------------------------------
Sat Nov 21 04:47:46 UTC 2015 - christof.hanke@rzg.mpg.de
- start using change.log again
- fix configure test for new ncurses
-------------------------------------------------------------------
Thu Jun 17 17:04:25 UTC 2010 - cseader@novell.com
- update to version 1.4.12.1
-------------------------------------------------------------------
Wed Jan 25 21:39:00 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Mon Jan 23 15:58:43 CET 2006 - nadvornik@suse.cz
- fixed kernel module to compile
-------------------------------------------------------------------
Wed Jan 11 05:30:18 CET 2006 - mge@suse.de
- add openafs.SuidCells and openafs.CellServDB
- cleanup SPEC-file(s)
- finally adopt
sysconfig.transarcmode.openafs-client
rc.transarcmode.afs-server
rc.transarcmode.afs-client
to transarc mode; and fix a small typo in
rc.defaultmode.afs-client
-------------------------------------------------------------------
Fri Jan 6 01:12:31 CET 2006 - mge@suse.de
- set "%defattr(-,root,root)" for transarcmode-file-lists
- fix lib64 build problem in transarcmode
-------------------------------------------------------------------
Thu Jan 5 13:40:42 CET 2006 - mge@suse.de
- introduce transarc-mode and default-mode
- introduce "options"
-------------------------------------------------------------------
Thu Dec 29 16:07:00 CET 2005 - mge@suse.de
- build for SLES 9
- with heimdal krb5 support
- enable-largefile-fileserver
-------------------------------------------------------------------
Wed Dec 21 16:09:26 CET 2005 - nadvornik@suse.cz
- updated to 1.4.0
- fixed dangerous compiler warnings
-------------------------------------------------------------------
Mon Oct 31 12:37:05 CET 2005 - dmueller@suse.de
- don't build as root
-------------------------------------------------------------------
Fri Aug 26 12:51:02 CEST 2005 - nadvornik@suse.cz
- fixed kernel module to build
- fixed sysconfig file name
-------------------------------------------------------------------
Thu Jul 14 17:25:25 CEST 2005 - nadvornik@suse.cz
- updated to 1.3.85
- used LSB conforming init script names
-------------------------------------------------------------------
Tue Jul 5 10:44:32 CEST 2005 - hare@suse.de
- Update for linux 2.6.13.
-------------------------------------------------------------------
Thu May 12 12:27:01 CEST 2005 - nadvornik@suse.cz
- gcc4 fixes in kernel module
-------------------------------------------------------------------
Tue Apr 12 17:02:34 CEST 2005 - nadvornik@suse.cz
- fixed to compile with gcc4
-------------------------------------------------------------------
Wed Feb 23 12:08:07 CET 2005 - nadvornik@suse.cz
- fixed memory leaks and 64bit fixes backported from 1.3.79
- updated README.SUSE
-------------------------------------------------------------------
Thu Feb 3 13:19:05 CET 2005 - nadvornik@suse.cz
- updated to 1.3.78
-------------------------------------------------------------------
Mon Jan 31 15:58:33 CET 2005 - nadvornik@suse.cz
- fixed afs.h to be usable from userspace [#50283]
-------------------------------------------------------------------
Tue Jan 25 10:57:09 CET 2005 - nadvornik@suse.cz
- updated to latest snapshot
-------------------------------------------------------------------
Wed Sep 15 12:37:04 CEST 2004 - nadvornik@suse.cz
- added requres: kernel-nongpl [#45167]
- fixed kernel module oops [#44618]
-------------------------------------------------------------------
Wed Aug 11 15:51:03 CEST 2004 - nadvornik@suse.cz
- use kernel module from openafs 1.3.70 to support kernel 2.6
-------------------------------------------------------------------
Mon Mar 08 17:18:49 CET 2004 - nadvornik@suse.cz
- updated to 1.2.11
- added note that client for kernel 2.6 is not available
-------------------------------------------------------------------
Tue Jan 20 18:48:21 CET 2004 - ro@suse.de
- added pam-devel to neededforbuild
-------------------------------------------------------------------
Sat Dec 13 00:23:45 CET 2003 - meissner@suse.de
- Added hack if no MTU came from userspace.
- Removed superflous ppc64 patch part.
-------------------------------------------------------------------
Thu Dec 11 09:29:31 CET 2003 - meissner@suse.de
- ppc64 port added (status: no longer crashes, talks to the network,
but not successfully).
- Change headerfiles to make it possible to do a ppc -> ppc64 crosscompile.
-------------------------------------------------------------------
Mon Oct 6 17:30:17 CEST 2003 - olh@suse.de
- build with -fPIC on ppc32
-------------------------------------------------------------------
Tue Sep 16 17:37:34 CEST 2003 - nadvornik@suse.cz
- patch from cvs to use AllocLargeSpace for struct osi_file to prevent
oopses with some kernel configurations
-------------------------------------------------------------------
Thu Sep 11 12:58:57 CEST 2003 - nadvornik@suse.cz
- added option DYNROOT to sysconfig and enabled it by default [#27205]
-------------------------------------------------------------------
Wed Sep 10 17:07:51 CEST 2003 - nadvornik@suse.cz
- added cleanup before module build [#29649]
-------------------------------------------------------------------
Tue Sep 09 18:33:38 CEST 2003 - nadvornik@suse.cz
- fixed possible segfault
-------------------------------------------------------------------
Thu Sep 04 12:30:00 CEST 2003 - nadvornik@suse.cz
- set permissions of /var/lib/openafs to 700
- README.SuSE fixes
-------------------------------------------------------------------
Thu Aug 28 17:11:47 CEST 2003 - nadvornik@suse.cz
- use ghost for /afs, the directory is created by init-script
- fixed README.SuSE
-------------------------------------------------------------------
Thu Aug 21 14:32:58 CEST 2003 - nadvornik@suse.cz
- moved all static libraries to /usr/lib/afs, fixes conflict with libdes
- used default value for THIS_CELL_SERVER_NAME
- removed old patches
-------------------------------------------------------------------
Tue Aug 12 11:10:46 CEST 2003 - nadvornik@suse.cz
- fixed a bug in init script
-------------------------------------------------------------------
Mon Aug 11 18:26:28 CEST 2003 - nadvornik@suse.cz
- updated to final 1.2.10
-------------------------------------------------------------------
Wed Jul 30 19:34:34 CEST 2003 - nadvornik@suse.cz
- updated to 1.2.10-rc4
- do not destroy CellServDB even if REGENERATE_CELL_INFO=yes
- fixed to compile on x86_64
-------------------------------------------------------------------
Wed Jul 30 14:25:46 CEST 2003 - sf@suse.de
- use %_lib where it was missing
-------------------------------------------------------------------
Wed Jul 09 19:20:55 CEST 2003 - nadvornik@suse.cz
- fixed conflicts in filelist
-------------------------------------------------------------------
Fri Jun 20 14:59:23 CEST 2003 - nadvornik@suse.cz
- improved init scripts
-------------------------------------------------------------------
Thu Jun 19 14:40:52 CEST 2003 - nadvornik@suse.cz
- added README.SuSE
- fixed init scripts [#27426]
- installed man pages
-------------------------------------------------------------------
Thu Jun 12 17:45:39 CEST 2003 - poeml@suse.de
- add /usr/src/kernel-modules to the file list
-------------------------------------------------------------------
Wed Jun 4 21:26:09 CEST 2003 - schwab@suse.de
- Fix SMP configuration detection.
-------------------------------------------------------------------
Wed May 14 12:28:04 CEST 2003 - poeml@suse.de
- rework filelists:
- package/remove unpackaged files
- move some files into the server & client subpackages
- use %defattr
- fix deprecated tail -1 syntax (fixes building the kernel module)
-------------------------------------------------------------------
Mon May 12 14:50:05 CEST 2003 - nadvornik@suse.cz
- updated to 1.2.9
- added DATA_ENCRYPTION option to sysconfig
-------------------------------------------------------------------
Mon Mar 10 18:43:26 CET 2003 - poeml@suse.de
- x86_64: add -lresolv, -fPIC
- fix lib path on all 64 bit platforms
-------------------------------------------------------------------
Thu Mar 06 10:39:27 CET 2003 - nadvornik@suse.cz
- added sysconfig metadata
-------------------------------------------------------------------
Mon Feb 24 17:28:44 CET 2003 - nadvornik@suse.cz
- added dirs /afs, /etc/openafs, /var/lib/openafs to filelist
-------------------------------------------------------------------
Sun Feb 16 18:28:44 CET 2003 - olh@suse.de
- workaround broken -lresolv detection, lib64 fixes
-------------------------------------------------------------------
Wed Feb 12 16:42:07 CET 2003 - nadvornik@suse.cz
- fixed multiline strings in kernel module
-------------------------------------------------------------------
Fri Jan 24 11:11:23 CET 2003 - nadvornik@suse.cz
- updated to 1.2.8
- improved init script
-------------------------------------------------------------------
Fri Nov 29 10:21:04 CET 2002 - nadvornik@suse.cz
- included errno.h
- fixed multiline strings
-------------------------------------------------------------------
Fri Nov 22 16:47:51 CET 2002 - nadvornik@suse.cz
- first version of init scripts
-------------------------------------------------------------------
Wed Nov 20 19:20:53 CET 2002 - poeml@suse.de
- initial draft of a package. Lots of stuff missing, like init
scripts, or the kerberos 5 migration toolkit.

1014
openafs.spec Normal file

File diff suppressed because it is too large Load Diff

3
preamble Normal file
View File

@ -0,0 +1,3 @@
Requires: kernel-%1
Requires: %{name}-client = %{version}
Conflicts: %{name}-fuse-client = %{version}

17
sysconfig.openafs-client Normal file
View File

@ -0,0 +1,17 @@
#
# startup options for the openAFS client.
# see man afsd for details
AFSD_ARGS="-fakestat -memcache -blocks 102400 -dynroot -afsdb"
#
# sysname to set after startup
# leave empty for default setting.
SYSNAME=""
#
# switch for encryption to be set after startup
# must be one of "on" or "off"
CRYPT="on"

View File

@ -0,0 +1,17 @@
#
# startup options for the openAFS FUSE client.
# see man afsd for details
AFSD_ARGS="-fakestat -memcache -blocks 102400 -dynroot -afsdb"
#
# sysname to set after startup
# leave empty for default setting.
SYSNAME=""
#
# switch for encryption to be set after startup
# must be one of "on" or "off"
CRYPT="on"

4
sysconfig.openafs-server Normal file
View File

@ -0,0 +1,4 @@
## Path: Network/File systems/AFS server
## Description: AFS server configuration, default mode
# all is set in /etc/openafs/BosConfig