Re: [systemd-devel] [PATCH v2] sysv-generator: Handle .sh suffixes when translating Provides:

2015-01-21 Thread Martin Pitt
Dimitri John Ledkov [2015-01-21 9:47 +]: > I've also been bitten by generators defaulting to "do not override > file with same name" when writing out actual unit with contents. > There should not be any masked units inside generator/ generator.late/ > directories and thus if a file already exi

Re: [systemd-devel] [PATCH v2] sysv-generator: Handle .sh suffixes when translating Provides:

2015-01-21 Thread Dimitri John Ledkov
On 21 January 2015 at 07:27, Martin Pitt wrote: > Martin Pitt [2015-01-20 17:44 +0100]: >> the recent fix for sysv-generator's Provides: handling [1] caused, or >> rather uncovered, another bug which now creates symlinks to itself >> "foo.service -> foo.service" for any /etc/init.d/foo.sh. >> >> T

[systemd-devel] [PATCH v2] sysv-generator: Handle .sh suffixes when translating Provides:

2015-01-20 Thread Martin Pitt
Martin Pitt [2015-01-20 17:44 +0100]: > the recent fix for sysv-generator's Provides: handling [1] caused, or > rather uncovered, another bug which now creates symlinks to itself > "foo.service -> foo.service" for any /etc/init.d/foo.sh. > > The generator would output an error message like > >