Jan Engelhardt wrote:
Ccing opensuse-packaging.
On Wednesday 2015-03-18 14:36, Jan Engelhardt wrote:
TLDR: I would ask to not use %systemd_requires in your .spec files anymore - they impose a dependency on systemd even though the programs per se do not require systemd in all case to run. ... However, there is nothing in the boinc package that depends soooo much on systemd that the program won't run without its presence.
Reminds me of gvim+vim having a pre-req on systemd in factory just before 13.1 was released (corrected in 13.1). What wasn't corrected in 13.1 or 13.2 is both vim/gvim having dependencies on ***perl***. While I filed bugs on this in the past, my reports were rejected in regards to perl, though they did remove deps on "tcl", "python" and "ruby". But perl is still required, and not just perl 5.16 5.18 or 5.20 and not just a minimum of one of those, but specific patch-levels : -- (5.16.1, 5.18.1, 5.20.1). That means if perl got a hot security patch that put it at 5.20.2, all of the packages that have exact, "=" patch-levels in them won't work. Now I don't know about anyone else, but MOST of my editing in 'gvim' doesn't involve ANY of those languages. There was no reason to leave perl in as a dep -- it can be dynamically loaded at run time just like ruby, tcl and python are. (I even provided the patched code to do it before 13.1).
An issue I can imagine is that if a packages does not explicitly Requires systemd, then, in an unpopulated system, systemd might be installed after the program package, and the `systemctl preset ..` commands as part of %service_add_post won't do anything. Comments..?
If it is that vital, have the packages leave a config script in a 'common location' (for systemd) that are run upon systemd installation (same could be done on systemd removal, but would it be that vital?). -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org