[Pkg-systemd-maintainers] Bug#719477: [Pkg-samba-maint] Bug#719477: Bug#719477: winbind 2:4.0.8+dfsg-1 fails to upgrade: systemd service file does not start the daemon

Michael Biebl biebl at debian.org
Thu Feb 27 22:17:37 GMT 2014


On Mon, Aug 12, 2013 at 02:11:13PM +0200, Ivo De Decker wrote:
> Hi,
> 
> On Mon, Aug 12, 2013 at 12:39:15PM +0200, Christian PERRIER wrote:
> > Well, as far as I know, systemd is not Debian's default init system so
> > far, so I don't think this bug deserves an RC severity.
> 
> The bug is actually in the systemd scripts upstream provides, as it doesn't
> use the PID path from waf/configure, but uses hardcoded /run instead.

Typically, service files shipped by upstream should use something like
.service.in files and some autofoo magic to replace the used paths with
what has been specified/detected by configure. This is usually simple to do.

As for Debian, when shipping both systemd service files and LSB/SysV
init scripts, you should also make sure that the names align.

E.g. the SysV init scripts are named smbd and nmbd yet the upstream
service files are named nmb.service and smb.service. One can either
rename the service files or ship a symlink, to align the names.

If you are interested in reenabling systemd support, feel free to
contact us.
We are happy to help/review the changes.

Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140227/d28db6b3/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list