[systemd-devel] [PATCH] sysv-generator: handle Provides: for non-virtual facility names

Michael Biebl mbiebl at gmail.com
Mon Jan 5 01:30:11 PST 2015

See attached patch.

The commit message reads:

The list of provided facility names as specified via Provides: in the
LSB header was originally implemented by adding those facilities to the
Names= property via unit_add_name().

In commit 95ed3294c632f5606327149f10cef1eb34422862 the internal SysV
support was replaced by a generator and support for parsing the Names=
option had been removed from the unit file parsing in v186.
As a result, Provides: for non-virtual facility was dropped when
introducing the sysv-generator.

Since quite a few SysV init scripts still use that functionality (at
least in distros like Debian which have a large body of SysV init
scripts), add back support by making those facility names available via
symlinks to the unit filename to ensure correct orderings between
SysV init script which use those facility names.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774335

Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sysv-generator-handle-Provides-for-non-virtual-facil.patch
Type: text/x-patch
Size: 2814 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150105/6b0084dc/attachment.bin>

More information about the systemd-devel mailing list