[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#775265: unblock: systemd/215-9



Control: tag 775404 patch

Michael Biebl [2015-01-20 17:56 +0100]:
> I looked into this a bit more myself. Unfortunately, those .sh suffixes
> are not the only ways to trigger this particular bug.
> 
> As can be seen in [1], this can also be caused by backup/temporary
> files, i.e. the name of the sysv init script no longer matches the name
> in the Provides: field, and therefor we create a symlink and subsequent
> creation of the real unit file fails.

It can also happen if a script Provides: the name of another script. I
think I caught all these cases now in tests, and proposed a patch
upstream:

  http://lists.freedesktop.org/archives/systemd-devel/2015-January/027249.html

It's not exactly "nice", but I can't think of a better/robust
solution.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature


Reply to: