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 (vote)
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-04-03 10:03 UTC (History)
2 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

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