Bug 1954263 - samba-dc gets replaced by samba-common during F33 -> F34 upgrade
Summary: samba-dc gets replaced by samba-common during F33 -> F34 upgrade
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-27 19:43 UTC by Andrew Gunnerson
Modified: 2021-04-30 00:55 UTC (History)
11 users (show)

Fixed In Version: samba-4.14.4-0.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-30 00:55:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.