Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910214 - net-fs/openafs-1.8.10 Version bump
Summary: net-fs/openafs-1.8.10 Version bump
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-11 09:02 UTC by Adrian
Modified: 2024-10-01 18:48 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch file needed by openafs-1.8.11.ebuild (openafs-patches-20240424.tar.xz,12.44 KB, application/x-xz)
2024-03-28 06:14 UTC, Markus Suvanto
Details
Ebuild file (openafs-1.8.11.ebuild,10.27 KB, text/plain)
2024-03-28 06:18 UTC, Markus Suvanto
Details
openafs-1.8.11.ebuild (openafs-1.8.11.ebuild,10.26 KB, text/plain)
2024-03-28 17:21 UTC, Markus Suvanto
Details
Manifest (Manifest,2.76 KB, text/plain)
2024-03-28 17:21 UTC, Markus Suvanto
Details
vanilla-openafs ebuild (vanilla-openafs-9999.ebuild,10.57 KB, text/plain)
2024-10-01 18:44 UTC, Cheyenne Wills
Details
server init.d script (openafs-server.initd,682 bytes, text/plain)
2024-10-01 18:44 UTC, Cheyenne Wills
Details
server config (openafs-server.confd,235 bytes, text/plain)
2024-10-01 18:45 UTC, Cheyenne Wills
Details
client init.d (openafs-client.initd,3.29 KB, text/plain)
2024-10-01 18:45 UTC, Cheyenne Wills
Details
client config (openafs-client.confd,2.94 KB, text/plain)
2024-10-01 18:45 UTC, Cheyenne Wills
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian 2023-07-11 09:02:18 UTC
Upstream openafs has released 1.8.10

http://openafs.org/dl/openafs/1.8.10/RELNOTES-1.8.10

Most important change:
> Support mainline kernels up to 6.4 and distribution kernels

It would be nice if Gentoo could add this new version to the tree.
Comment 1 Adrian 2023-07-24 07:40:00 UTC
Ping, just checking if there's any chance of this happening soon - it's a bit annoying to have to stick with a pretty old kernel on systems that use AFS ;x
Comment 2 Andrew Savchenko gentoo-dev 2023-07-24 11:44:09 UTC
(In reply to Adrian from comment #1)
> Ping, just checking if there's any chance of this happening soon - it's a
> bit annoying to have to stick with a pretty old kernel on systems that use
> AFS ;x

I may have some slot in August to update this package, but I can't guarantee this since updates take considerable ammount of effort.

However, you don't have to stick with old kernels: you can use fuse client (USE=fuse), though it will need some more love with init scripts, it is always possible to run it manually.
Comment 3 Adrian 2023-10-08 09:21:28 UTC
Hey, just wanting to check if you have any idea when you'll be able to update the module
Comment 4 Adrian 2023-11-28 22:26:59 UTC
Ping :)
Comment 5 Adrian 2024-02-29 11:27:26 UTC
FUSE works fine! Would be nice if the init scripts were automatically adapted in case of `USE=-modules fuse`. In any case, this drop-in worked for me:

```
$ cat /etc/systemd/system/openafs-client.service.d/override.conf
[Service]
ExecStart=
ExecStart=/usr/sbin/afsd.fuse $AFSD_ARGS $AFSD_CACHE_ARGS
ExecStartPre=
ExecStartPre=/bin/sh -c "/bin/mkdir -p $(cut -d : -f 2 /etc/openafs/cacheinfo)"
ExecStopPost=
ExecStopPost=/usr/sbin/afsd.fuse -shutdown
```
Comment 6 Adrian 2024-02-29 11:47:39 UTC
FUSE doesn't seem to support aklog which makes it far inferior to the native in-kernel version :/
Comment 7 Adrian 2024-02-29 11:48:38 UTC
Anyway, before going off-topic here: Maybe this bug should be closed (or updated) in favor of bumping to 1.8.11 which is currently in beta: https://lists.openafs.org/pipermail/openafs-info/2024-February/043447.html

After all, 1.8.10 is already outdated in terms of kernel support so spending time on that probably does not make much sense right now.
Comment 8 Markus Suvanto 2024-03-28 06:14:56 UTC
Created attachment 888866 [details]
Patch file needed by openafs-1.8.11.ebuild
Comment 9 Markus Suvanto 2024-03-28 06:18:38 UTC
Created attachment 888867 [details]
Ebuild file
Comment 10 Markus Suvanto 2024-03-28 06:30:07 UTC
Attachment 888866 [details] and 888867 contains ebuild what I have used.
These are derived from some older openafs-1.8.8.

Patch file is also derived from older patch file but all patched that didn't apply cleanly are dropped.

Dropped patch:
0003-fbsd.patch
0007-afsauthent-symbols.patch
0014-kernel-cc-ld.patch

Maybe this should be synced with latest openafs-1.8.8.1-r1.ebuild
but at least I can compile this (only tested using x86_64 platform)
and it seems to work.
Comment 11 Markus Suvanto 2024-03-28 17:21:06 UTC
Created attachment 888942 [details]
openafs-1.8.11.ebuild
Comment 12 Markus Suvanto 2024-03-28 17:21:45 UTC
Created attachment 888943 [details]
Manifest
Comment 13 Markus Suvanto 2024-03-28 17:27:08 UTC
Ebuild synced with openafs-1.8.8.1-r1.ebuild

masu@z600 openafs % diff openafs-1.8.8.1-r1.ebuild openafs-1.8.11.ebuild
11,12c11,12
< PVER=20211212
< KERNEL_LIMIT=5.17
---
> PVER=20240424
> KERNEL_LIMIT=6.7


Also Manifest file updated to include openafs-1.8.11
Comment 14 Cheyenne Wills 2024-06-21 13:48:17 UTC
Just a quick comment from upstream openafs... 1.8.12 is just around the corner (Linux kernel up to 6.9) -- a 1.8.12pre1 has been tagged.  And the patches to support linux 6.10 have been merged into the openafs master branch.

BTW -- I use gentoo as my primary system and I use a local "vanilla-openafs" ebuild (no gentoo patches and allows me to grab from a specified git repo/branch) for my local system.
Comment 15 Markus Suvanto 2024-08-10 09:59:21 UTC
Now that the 1.8.12 version is out, could you please share your
"vanilla-openafs" ebuild.

I think, ebuild that "(no gentoo patches and allows me to grab from a specified git repo/branch)" is very  valuable for gentoo users.
Comment 16 Cheyenne Wills 2024-10-01 18:44:04 UTC
Created attachment 904618 [details]
vanilla-openafs ebuild

This is an ebuild that I use for building/testing openafs on gentoo.  It was derived from the net-fs/openafs ebuild package, but I stripped out all the gentoo related patches.  It may not (probably doesn't) meet all of the "gentoo" ebuild standards.  I am willing to assist on updating.
Comment 17 Cheyenne Wills 2024-10-01 18:44:47 UTC
Created attachment 904619 [details]
server init.d script
Comment 18 Cheyenne Wills 2024-10-01 18:45:05 UTC
Created attachment 904620 [details]
server config
Comment 19 Cheyenne Wills 2024-10-01 18:45:21 UTC
Created attachment 904621 [details]
client init.d
Comment 20 Cheyenne Wills 2024-10-01 18:45:44 UTC
Created attachment 904622 [details]
client config
Comment 21 Cheyenne Wills 2024-10-01 18:48:33 UTC
I've attached the ebuild and the init.d related files that I use.  They were originally based on the "official" gentoo ebuilds.  They may not be up to full gentoo standards, but I will be willing to assist in getting them updated.