On ti, 30 marras 2021, Martin Pitt wrote:
Hello all,
Stephen Gallagher [2021-11-29 14:34 -0500]:
> Alexander: Does samba have a drop-file configuration anywhere? So we
> could specify `include = registry` when this Cockpit plugin is
> installed, but not otherwise?
IMHO this is generally not a good idea. Merely installing a (mostly unrelated)
package should not unexpectedly reconfigure existing running services. The docs
[1] don't really clarify the impact, but at least the "automatically activates
registry shares" sounds like possibly unexpected fallout, and may violate the
"least surprise" principle?
I agree with Martin. In addition, Samba does not have a drop-file configuration
mechanism. There is 'include' option that allows to include files but it
cannot take wildcards, so this is not a drop-in variant handling.
--
/ Alexander Bokovoy