[Bug 1182847] New: samba has too many hard dependencies
https://bugzilla.suse.com/show_bug.cgi?id=1182847 Bug ID: 1182847 Summary: samba has too many hard dependencies Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Samba Assignee: samba-maintainers@SuSE.de Reporter: kukuk@suse.com QA Contact: samba-maintainers@SuSE.de Found By: --- Blocker: --- When building a samba container I get a really fat image, even with my changes from [bsc#1182830] our samba is three times bigger than the average samba container on docker hub. The average container on docker hub is 50-54MB, our container is 164MB. The "base container" most often used on docker hub is 6MB, our is 12MB. Factor 2 is Ok here. So samba itself including dependencies is most often around 50MB vs our is 150MB, so three times bigger. Problem seems to be that we have still too many hard Requires and not Recommends. Remember, "Requires" mean, the package does not work without this dependency, while Recommends means, for optional features of the package, this dependency is necessary. For the I think most common case, just export some shares to Windows machines, you don't need "cifs-utils" and I don't know who needs samba-libs-python3, but it's also not required for this. When I replace this Requires with Recommends, I'm already down to 120MB, so only factor 2. Another question is, why do I need cups-config if I don't want to provide printers... Using sysusers-tools (sysusers.d) instead of groupadd would also reduce the dependencies. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1182847 https://bugzilla.suse.com/show_bug.cgi?id=1182847#c1 Samuel Cabrero <scabrero@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kukuk@suse.com, | |scabrero@suse.com Flags| |needinfo?(kukuk@suse.com) --- Comment #1 from Samuel Cabrero <scabrero@suse.com> --- Hi Thorsten, how do you build the container? I am interested in test it myself, is it possible? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1182847 https://bugzilla.suse.com/show_bug.cgi?id=1182847#c2 Thorsten Kukuk <kukuk@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(kukuk@suse.com) | --- Comment #2 from Thorsten Kukuk <kukuk@suse.com> --- (In reply to Samuel Cabrero from comment #1)
how do you build the container? I am interested in test it myself, is it possible?
This one is my current test container (means with a modified (requires) samba package): https://build.opensuse.org/package/show/home:kukuk:container/samba-image Docu is in the README.md in that project. And the resulting container: registry.opensuse.org/home/kukuk/container/container/samba:latest -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1182847 https://bugzilla.suse.com/show_bug.cgi?id=1182847#c4 Samuel Cabrero <scabrero@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(kukuk@suse.com) --- Comment #4 from Samuel Cabrero <scabrero@suse.com> --- Thorsten, we released an update some months ago reducing the container size. Are you OK with closing this? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1182847 https://bugzilla.suse.com/show_bug.cgi?id=1182847#c6 Thorsten Kukuk <kukuk@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(kukuk@suse.com) | --- Comment #6 from Thorsten Kukuk <kukuk@suse.com> --- (In reply to Samuel Cabrero from comment #4)
Thorsten, we released an update some months ago reducing the container size. Are you OK with closing this?
Ok, even if I would have preferred if samba would use sysusers-tools (sysusers.d) instead of useradd/groupadd. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1182847 https://bugzilla.suse.com/show_bug.cgi?id=1182847#c8 Samuel Cabrero <scabrero@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Samuel Cabrero <scabrero@suse.com> --- Done, and starting from 4.16 samba uses sysusers.d. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com