[PATCH] Fix samba daemon startup with systemd

Jeremy Allison jra at samba.org
Tue Dec 12 17:32:10 UTC 2017


On Tue, Dec 12, 2017 at 09:27:17AM +0000, Rowland Penny via samba-technical wrote:
> On Tue, 12 Dec 2017 22:13:22 +1300
> Andrew Bartlett <abartlet at samba.org> wrote:
> 
> > On Tue, 2017-12-12 at 09:02 +0000, Rowland Penny via samba-technical
> > wrote:
> > > On Tue, 12 Dec 2017 09:53:05 +0100
> > > Andreas Schneider <asn at samba.org> wrote:
> > > 
> > > > On Tuesday, 12 December 2017 09:50:06 CET Rowland Penny wrote:
> > > > > Can somebody explain why Samba is providing systemd service
> > > > > scripts ? Samba never supplied sysv init scripts.
> > > > 
> > > > Why shouldn't we have a central place to have correct systemd
> > > > files. There are several distributions out there using systemd.
> > > > 
> > > > 
> > > > 	Andreas
> > > > 
> > > 
> > > OK, why should we have a central place for correct systemd files, we
> > > never did this for sysv, this is for the systemd distributions to
> > > do.
> > > 
> > > Are you going to suggest that Samba should also have Apparmor and
> > > Selinux profiles ? Recommended sssd and nslcd conf files ? 
> > 
> > Rowland,
> > 
> > Because systemd is the one true init system, naturally we should be
> > honoured to include a script for it.
> > 
> > Andrew Bartlett
> 
> You might be honoured, I am horrified, just what makes systemd
> different to sysv for Samba (apart from systemd being a rats nest of
> bugs, sorry features). I would have thought Samba should concentrate
> on Samba code and leave how it is started to the distros.
> 
> I also thought that the main Samba user base was on servers, you might
> want to read this:

On a more serious note, I haven't reviewed Andreas's patch (yet),
but the Samba repo has customarily hosted auxiliary files for popular
operating systems and distros (as Andrew stated, the packaging/ directory).

If it helps vendors deploy Samba correctly on the system of their choice,
I see no harm in continuing to include such helper files in our repo.

Just my 2cents :-).

Jeremy.



More information about the samba-technical mailing list