<div dir="ltr">Hi Michael!<div><br></div><div>OK, see what you are thinking.</div><div><br></div><div>Was planning to do just what you did. Bins into samba-common-bin, libs into samba-libs.</div><div><br></div><div>My bad about samba-dcerpcd.8 man page.</div><div><br></div><div>Maybe ksmbd support should be started with all needed bins in samba-common-bin, and systemctl disabled ksmbd/samba-dcercpd service file(s) in samba package or elsewhere. Some smb.conf settings are specially needed for ksmbd apparently (samba-dcerpcd.8 manpage)</div><div><br></div><div>Regards,</div><div><br></div><div>Matt Grant</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 Jun 2022 at 02:03, Michael Tokarev <<a href="mailto:mjt@tls.msk.ru">mjt@tls.msk.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">13.06.2022 12:12, Matt Grant wrote:<br>
> Hi Michael!<br>
> <br>
> For the libraries to move from the samba package, just used the following command on each rpcd binary in /usr/libexec/samba:<br>
> <br>
> dpkg -S `ldd rpcd_epmapper | grep samba | cut -f 1 -d ' '`<br>
<br>
I suspected it was something like that.<br>
<br>
The problem here is that the two libs you moved from<br>
samba to the new dcerpc package, are also used by the<br>
samba package itself. By moving stuff like this, it<br>
is too easy to create a circular dependency, which we<br>
had quite a few in the past. I placed libs into the<br>
samba package (and to winbind package and some other<br>
cases) *only* when those libs are used by those packages<br>
and not by other packages. The rest of libraries -<br>
the ones which are used by more than a single package -<br>
goes to samba-libs. Again, maybe I'm wrong there.<br>
<br>
Just thought that these libs which are used by a single<br>
package *now*, may be used by more than a single package<br>
in the future, and I should have a way to check for that,<br>
maybe similar to how I check for unneeded inter-package<br>
deps in d/rules already, but for more packages.<br>
<br>
BTW, you forgot the manpage for samba-dcerpcd.<br>
<br>
For now I moved the executables into samba-common-bin<br>
and the two libs into samba-libs. Let's see how it will<br>
be, maybe we'll create a new package for it.<br>
<br>
Thank you for the work and for the inspiration!<br>
<br>
/mjt<br>
</blockquote></div>