[systemd-devel] [PATCH] sysv-generator: Replace Provides: symlinks with real units

"J├│hann B. Gu├░mundsson" johannbg at gmail.com
Wed Jan 21 01:59:50 PST 2015

On 01/21/2015 09:46 AM, Martin Pitt wrote:
> while working on the sysv generator, some more cases came up where the
> recently introduced "Provides:" symlink handling [1] causes trouble
> [2]. As soon as you have backup files like /etc/init.d/foo.bak, you'll
> get a "foo.service -> foo.bak.service" link which prevents the
> creation of a real foo.service unit

Seems like a corner case as administrator should fix himself by not 
backing up files in the /etc/init.d directory so arguably this broken 
behaviour is expect.

That said at one point or another we need to drop legacy sysv initscript 
support and have downstream the generator themselves if they intend on 
supporting legacy sysv initscripts.


More information about the systemd-devel mailing list