Bug 16406

Summary: samba server now mandatory
Product: Mageia Reporter: Pascal Terjan <pterjan>
Component: RPM PackagesAssignee: Nicolas Lécureuil <mageia>
Status: NEW --- QA Contact:
Severity: major    
Priority: Normal CC: fri, identity.mageia.org, jani.valimaa, mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
See Also: https://bugs.mageia.org/show_bug.cgi?id=16693
Whiteboard:
Source RPM: samba-4.1.17-14.mga6.src.rpm CVE:
Status comment:

Description Pascal Terjan 2015-07-18 22:56:12 CEST
Updating cauldron installs samba-server to everyone.

samba-client is mandatory as it is requested by drakxtools-backend which is needed by bootloader-utils which is needed by the kernel. That's not great but I can live with it.

Now it seems something is wrong with the samba4 packaging and updating a system with samba-client installed (100% of mageia systems) is now installing "samba" which is the server.

Some parts of the dependency chain:

samba-common requires lib64samba1 which requires lib64samba-dc0 which require some libs from samba-dc (seems strange) which require python-samba4 which require some libs from samba (the server, seem strange too).


Reproducible: 

Steps to Reproduce:
Sander Lepik 2015-07-18 23:08:26 CEST

CC: (none) => jani.valimaa, mageia
Assignee: bugsquad => mageia

Comment 1 Jani Välimaa 2015-07-19 08:19:29 CEST
Yeah, this is something I also noticed when playing with samba to make it installable. I'll try to update samba to 4.2.3 first and then try to figure out what's going on with the deps.
Comment 2 Jani Välimaa 2015-07-19 21:23:28 CEST
Samba is heavily overlinked and seems like as-needed isn't passed to the linker which causes the dep chain. I'll investigate if there's some sane way to filter out deps/reqs so the whole samba isn't pulled.
Comment 3 Jani Välimaa 2015-07-21 18:33:24 CEST
I've now filtered out some requires/provides, lets see how things work.
Comment 4 Meg Skywalker 2015-09-03 13:44:27 CEST
seems lib64samba-dc0 needs an required decency for the samba package:

/usr/sbin/smbd: error while loading shared libraries: libdfs-server-ad-samba4.so: cannot open shared object file: No such file or directory

CC: (none) => identity.mageia.org

Meg Skywalker 2015-09-03 14:15:06 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=16693

Comment 5 Morgan Leijström 2021-02-19 10:22:44 CET
What is the current state here?

CC: (none) => fri

Comment 6 Morgan Leijström 2021-02-19 10:29:43 CET
This seem like a duplicate:
Bug 22302 - Drop samba dependency