[systemd-devel] [PATCH] sysv-generator: Do not generate units for files handled by rc-local generator
Martin Pitt
martin.pitt at ubuntu.com
Fri Jan 23 06:15:01 PST 2015
Michael Biebl [2015-01-23 13:27 +0100]:
> - It avoids that a rc.local.service file is generated by the sysv-generator
Not with upstream systemd, the sysv generator doesn't check if there's
already a unit of that name (as it produces them in generator.late/).
The Debian package has a patch for this [1]; it might make sense to
upstream this as I think it's generally a good idea -- there's no need
to synthesize units which we are never going to call, it's just a
waste of resources.
Martin
[1] http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/Do-not-generate-systemd-units-from-sysv-init-scripts.patch?h=experimental
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the systemd-devel
mailing list