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: RESOLVED FIXED
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-11-16 09:33 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
Vanilla openafs-1.8.13 and openafs-9999 (openafs.tgz,9.91 KB, application/x-compressed-tar)
2024-11-16 09:17 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
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.
Comment 22 Markus Suvanto 2024-11-16 09:17:55 UTC
Created attachment 908762 [details]
Vanilla openafs-1.8.13 and openafs-9999

Vanilla openafs-1.8.13 and openafs-9999

openafs
├── files
│   ├── openrc
│   │   ├── openafs-client.confd
│   │   ├── openafs-client.initd
│   │   ├── openafs-server.confd
│   │   └── openafs-server.initd
│   └── systemd
│       ├── openafs-client.service
│       ├── openafs-client.service.conf
│       ├── openafs-server.service
│       ├── openafs-server.service.conf
│       └── tmpfiles.d
│           └── openafs-client.conf
├── Manifest
├── openafs-1.8.13.ebuild
└── openafs-9999.ebuild
Comment 23 Markus Suvanto 2024-11-16 09:32:07 UTC
Attachment 908762 [details] is based on Cheyenne Wills vanilla ebuild and "official" openafs-1.8.8.1-r1.ebuild

TODO
Convert to use EAPI=8
Comment 24 Larry the Git Cow gentoo-dev 2024-11-16 09:32:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f31b49a7cacc5f9e71b5721c46879eb7c6d46bf

commit 0f31b49a7cacc5f9e71b5721c46879eb7c6d46bf
Author:     Cheyenne Wills <cwills@witznd.net>
AuthorDate: 2024-11-14 19:31:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-16 09:31:49 +0000

    net-fs/openafs: add 1.8.13
    
    Closes: https://bugs.gentoo.org/943361
    Closes: https://bugs.gentoo.org/933779
    Closes: https://bugs.gentoo.org/910214
    Closes: https://bugs.gentoo.org/886183
    Closes: https://bugs.gentoo.org/908700
    Closes: https://bugs.gentoo.org/909327
    Closes: https://bugs.gentoo.org/828989
    Closes: https://bugs.gentoo.org/926801
    Signed-off-by: Cheyenne Wills <cwills@witznd.net>
    Closes: https://github.com/gentoo/gentoo/pull/39306
    Signed-off-by: Sam James <sam@gentoo.org>

 net-fs/openafs/Manifest                            |   2 +
 ...-autoconf-use-AC_CHECK_TOOL-for-as-and-ld.patch |  54 ++++
 net-fs/openafs/files/0002-pam-paths.patch          |  46 +++
 net-fs/openafs/files/0003-fbsd.patch               |  28 ++
 net-fs/openafs/files/0004-sparc.patch              |  59 ++++
 net-fs/openafs/files/0005-uname.patch              |  37 +++
 net-fs/openafs/files/0006-resolv.patch             |  32 ++
 net-fs/openafs/files/0007-afsauthent-symbols.patch |  27 ++
 net-fs/openafs/files/0008-flags.patch              |  33 ++
 net-fs/openafs/files/0009-docbook2pdf.patch        | 127 ++++++++
 net-fs/openafs/files/0010-libperl.patch            |  31 ++
 net-fs/openafs/files/0011-xbsa.patch               |  31 ++
 net-fs/openafs/files/0012-xml-dtd.patch            |  67 ++++
 net-fs/openafs/files/0013-kernel-cc-ld.patch       |  47 +++
 net-fs/openafs/files/README.Gentoo                 | 297 ++++++++++++++++++
 net-fs/openafs/files/ThisCell.default              |   1 +
 net-fs/openafs/files/cacheinfo.default             |   1 +
 net-fs/openafs/files/openrc/openafs-client.confd   |  55 ++++
 net-fs/openafs/files/openrc/openafs-client.initd   | 137 +++++++++
 net-fs/openafs/files/openrc/openafs-server.confd   |   7 +
 net-fs/openafs/files/openrc/openafs-server.initd   |  33 ++
 .../openafs/files/systemd/openafs-client.service   |  17 ++
 .../files/systemd/openafs-client.service.conf      |  62 ++++
 .../openafs/files/systemd/openafs-server.service   |  11 +
 .../files/systemd/openafs-server.service.conf      |   4 +
 .../files/systemd/tmpfiles.d/openafs-client.conf   |   1 +
 net-fs/openafs/openafs-1.8.13.ebuild               | 339 +++++++++++++++++++++
 27 files changed, 1586 insertions(+)
Comment 25 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-16 09:33:41 UTC
Thanks Markus, Adrian. I've worked with Cheyenne to get this reworked, updated ebuild in tree.

If there's any more stuff to do, would you mind opening a new bug and we can discuss it there? That would include e.g. adding a live ebuild if it would be useful to y'all.

Thanks!