diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-01-20 16:41:31 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2015-01-21 14:53:38 +0100 |
commit | 29e0e6d8c1f7f648b7c998880d034eaa3e58c53a (patch) | |
tree | a8433f8ba4bba2f9fc882b4368d67f638401368c /.dir-locals.el | |
parent | 9cba813191c9e7897f7856cbe10f19600f1d56e5 (diff) |
sysv-generator: Handle .sh suffixes when translating Provides:
When deciding whether the provided name equals the file name in
sysv_translate_facility(), also consider them equal if the file name has a
".sh" suffix.
This was uncovered by commit b7e7184 which then created a symlink
"<name>.service" to itself for ".sh" suffixed init.d scripts.
For additional robustness, refuse to create symlinks to itself in add_alias().
Add test case which reproduces the bug.
https://bugs.debian.org/775889
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions