Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1954263

Summary: samba-dc gets replaced by samba-common during F33 -> F34 upgrade
Product: [Fedora] Fedora Reporter: Andrew Gunnerson <accounts+fedora>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: abokovoy, anoopcs, asn, gdeschner, iboukris, jrivera, jstephen, lmohanty, madam, sbose, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.14.4-0.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-30 00:55:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Gunnerson 2021-04-27 19:43:23 UTC
*Description of problem:*

During the Fedora 33 to 34 upgrade, the samba-dc package gets removed because dnf thinks that samba-common replaces it. This leaves the system without a functional domain controller post-upgrade. I suspect it's due to the change on line 345 in this commit:

https://src.fedoraproject.org/rpms/samba/c/f172c59a671888210eace7450a7e9ecf99182a10

`dnf install samba-dc` reports:

    [root@samba-dc-1 localadmin]# dnf install samba-dc
    Last metadata expiration check: 0:20:37 ago on Tue 27 Apr 2021 03:08:52 PM EDT.
    Package samba-common-2:4.14.3-0.fc34.noarch is already installed.
    Dependencies resolved.
    Nothing to do.
    Complete!

`rpm -q --obsoletes samba-common` reports:

    [root@samba-dc-1 localadmin]# rpm -q --obsoletes samba-dc
    samba4-dc < 2:4.14.3-0.fc34

I'm able to work around it by running `dnf install samba-dc.x86_64`.

*Version-Release number of selected component (if applicable):*

samba-common-4.14.3-0.fc34.noarch

*How reproducible:*

Always reproducible. This can be reproduced in a fresh F34 install too.

*Steps to Reproduce:*
1. Set up a fresh F34 system. Eg. `podman run --rm -it fedora:34`
2. Install samba-dc: `dnf install samba-dc`

*Actual results:*

samba-common gets installed instead of samba-dc.

*Expected results:*

samba-dc should get installed.

Comment 1 Anoop C S 2021-04-28 13:23:06 UTC
Fixed update available with rawhide[1]. F34 build will be shortly updated.

[1] https://bodhi.fedoraproject.org/updates/FEDORA-2021-44a16f0dd1

Comment 2 Fedora Update System 2021-04-28 16:06:19 UTC
FEDORA-2021-d7db7f210d has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d7db7f210d

Comment 3 Fedora Update System 2021-04-29 01:04:00 UTC
FEDORA-2021-d7db7f210d has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d7db7f210d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d7db7f210d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-04-29 17:11:25 UTC
FEDORA-2021-7de0418ec8 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7de0418ec8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7de0418ec8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-04-30 00:55:34 UTC
FEDORA-2021-7de0418ec8 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.