[Package Request] samba #2

Open
opened 2024-01-26 20:56:13 +00:00 by label · 11 comments
Owner

Package Information

[ ] This is brand new package
[X] This is an updated or replacement for a base package

Package Details

Samba in EL has the domain controller component disabled by default. In fedora, this is not the case. Users consistently want ADDC functionality from Samba on Rocky Linux or other EL systems.

Does this already exist in another repository?

[X] Yes (Base Repository)
[ ] Yes (Third Party Repository, such as EPEL)
[ ] No
[ ] Unsure

Repository: BaseOS/AppStream

Checklist

## Package Information <!-- Check the appropriate box for this package. Is it an override or a brand new package? --> [ ] This is brand new package [X] This is an updated or replacement for a base package ### Package Details <!-- Put details of your package here if applicable. --> <!-- If this is a new package, put details such as why this version and if it should maintained or upgraded according to its upstream, or if it could/should be a multi-version package (e.g. think of phpXY from remi) --> <!-- If this is a replacement for a base package, explain the reasoning and the changes to it, including version rebases, patches, etc. --> Samba in EL has the domain controller component disabled by default. In fedora, this is not the case. Users consistently want ADDC functionality from Samba on Rocky Linux or other EL systems. ### Does this already exist in another repository? <!-- Check the box that is applicable. If yes, please specify the repository it already exists in. Note that packages in EPEL are typically already satisfied there. --> [X] Yes (Base Repository) [ ] Yes (Third Party Repository, such as EPEL) [ ] No [ ] Unsure Repository: BaseOS/AppStream ## Checklist - [X] I have read the front page of [SIG/FastTrack Wiki](https://sig-fasttrack.rocky.page/) - [X] I understand how the [repositories work](https://sig-fasttrack.rocky.page/repositories/) for this SIG
Member

Been a good while, but I have a free Sunday!

I'm testing this now . Change to Samba is a very simple bcond_without change, and should be done via openpatch (makes it easy to keep up with stock Rocky Samba version)

Looks like we need to add python-pyasn1 and python-setproctitle from Rocky 9 as build-time dependencies. I can confirm the Rocky 9 versions build cleanly in a Rocky 8 buildroot.

Been a good while, but I have a free Sunday! I'm testing this now . Change to Samba is a very simple bcond_without change, and should be done via openpatch (makes it easy to keep up with stock Rocky Samba version) Looks like we need to add python-pyasn1 and python-setproctitle from Rocky 9 as build-time dependencies. I can confirm the Rocky 9 versions build cleanly in a Rocky 8 buildroot.

Any progress? Thanks.

Any progress? Thanks.

Looks like we need to add python-pyasn1 and python-setproctitle from Rocky 9 as build-time dependencies.

For Rocky 8 at least mitkrb5 release 1.19 will be needed, it seems to build with this:
https://download.copr.fedorainfracloud.org/results/ligenix/enterprise-samba-AD-DC/epel-8-x86_64/08158369-krb5/

> Looks like we need to add python-pyasn1 and python-setproctitle from Rocky 9 as build-time dependencies. For Rocky 8 at least mitkrb5 release 1.19 will be needed, it seems to build with this: https://download.copr.fedorainfracloud.org/results/ligenix/enterprise-samba-AD-DC/epel-8-x86_64/08158369-krb5/
Member
Update: This has been successfully built in Rocky 8 + 9, and test installs work well: https://peridot.build.resf.org/f809968c-b3ae-49ca-9cbc-8e18c7bde433/tasks/69720a50-58f5-4f8d-9bbc-ed137196b5f3 https://peridot.build.resf.org/1af1c9e8-96a9-4753-9a1a-4b66d65de649/tasks/c045c2fb-26cf-4def-aa0d-900e5b05f086 I believe it's ready for publication

Managed to install samba-dc and deps on el8, already provisioned domain seems to continue working without noticeable problems.
Adding exclude=samba* python3-samba* libnetapi libsmbclient libwbclient to [baseos] repo protects packages from being replaced.

Thank you.

Managed to install samba-dc and deps on el8, already provisioned domain seems to continue working without noticeable problems. Adding exclude=samba* python3-samba* libnetapi libsmbclient libwbclient to [baseos] repo protects packages from being replaced. Thank you.

Is there any official way to set up FastTrack/updates repos?
I only came by this https://git.rockylinux.org/original/rpms/rocky-release/-/blob/r8/SOURCES/Rocky-FastTrack.repo
Thank you.

Is there any official way to set up FastTrack/updates repos? I only came by this https://git.rockylinux.org/original/rpms/rocky-release/-/blob/r8/SOURCES/Rocky-FastTrack.repo Thank you.
Owner

Is there any official way to set up FastTrack/updates repos?
I only came by this https://git.rockylinux.org/original/rpms/rocky-release/-/blob/r8/SOURCES/Rocky-FastTrack.repo
Thank you.

You should be able to just dnf install rocky-release-fasttrack, which will give those repositories

> Is there any official way to set up FastTrack/updates repos? > I only came by this https://git.rockylinux.org/original/rpms/rocky-release/-/blob/r8/SOURCES/Rocky-FastTrack.repo > Thank you. You should be able to just `dnf install rocky-release-fasttrack`, which will give those repositories
neil closed this issue 2024-11-30 17:40:46 +00:00
neil reopened this issue 2024-11-30 17:40:54 +00:00

Thank you, however it seems repos are missing.

Thank you, however it seems repos are missing.

Can see them now, thanks. https://dl.rockylinux.org/pub/sig/8/fasttrack/x86_64/fasttrack-updates/Packages/
Does this mean that if there's a newer version of the srpm packages published here get rebuilt automatically?

Can see them now, thanks. https://dl.rockylinux.org/pub/sig/8/fasttrack/x86_64/fasttrack-updates/Packages/ Does this mean that if there's a newer version of the srpm packages published here get rebuilt automatically?
Member

FastTrack Samba will not be automatically updated when main Rocky Samba is, but it can be imported and built with the push of a button.

Part of adding this package was adding "meta patch" automation which enables the DC build stuff upon import. So we don't need to make the same patch/modifications each time: https://git.rockylinux.org/sig/fasttrack/patch/samba/-/blob/ft8/ROCKY/CFG/samba.cfg?ref_type=heads

I'll note the tricky exclude/priority bits when I update the wiki with this info (https://sig-fasttrack.rocky.page )

FastTrack Samba will not be automatically updated when main Rocky Samba is, but it can be imported and built with the push of a button. Part of adding this package was adding "meta patch" automation which enables the DC build stuff upon import. So we don't need to make the same patch/modifications each time: https://git.rockylinux.org/sig/fasttrack/patch/samba/-/blob/ft8/ROCKY/CFG/samba.cfg?ref_type=heads I'll note the tricky exclude/priority bits when I update the wiki with this info (https://sig-fasttrack.rocky.page )

There's a -6 updated source out, please update.
Meanwhile I can confirm that packages work as expected on EL8.
Fasttrack-updates repo file includes:
includepkgs=samba* python3-samba* libnetapi libsmbclient libwbclient python3-setproctitle
priority=9
Samba-dc packages could be announced officially.

There's a -6 updated source out, please update. Meanwhile I can confirm that packages work as expected on EL8. Fasttrack-updates repo file includes: includepkgs=samba* python3-samba* libnetapi libsmbclient libwbclient python3-setproctitle priority=9 Samba-dc packages could be announced officially.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sig_fasttrack/meta#2
No description provided.