[Bug 980389] New: Excessive dependencies on systemd
http://bugzilla.opensuse.org/show_bug.cgi?id=980389 Bug ID: 980389 Summary: Excessive dependencies on systemd Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: All OS: Linux Status: NEW Severity: Enhancement Priority: P5 - None Component: Basesystem Assignee: jengelh@inai.de Reporter: jengelh@inai.de QA Contact: qa-bugs@suse.de CC: dimstar@opensuse.org Found By: --- Blocker: --- Not all programs require systemd to run, in particular, within containers. One of them for example is boinc-client. Consider: mkdir /c/etc cp /etc/{passwd,group,shadow} /c/etc/ zypper -R /c in boinc-client systemd-nspawn -D /c -u jengelh /bin/sh -c 'cd ~; exec /usr/bin/boinc-client' This pulled in systemd not too long ago, but boinc does not actually use systemd itself in any way. Therefore, boinc-client.rpm is not to have requirements on systemd in its specfile, and in fact already had this removed earlier in 2015 already. A number of packages remain in openSUSE which still have these requirements on systemd though they should not. These need to be audited and, as time and joy permits, be edited to live without systemd where possible. Points to note: 1. 17:48 < DimStar> I think the main issue of dropping the systemd_requires all over the place is the fact that on a fresh system install, an rpm that might be triggered for install CAN be installed before systemd - then having some fun bugs to fix 17:51 < va> somehow we also manage to install aaa_base first, so if systemd really had this "needs to be there" thing, it should not be a big deal. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980389 Jordi Massaguer <jmassaguerpla@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmassaguerpla@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980389 http://bugzilla.opensuse.org/show_bug.cgi?id=980389#c1 --- Comment #1 from Jan Engelhardt <jengelh@inai.de> --- %service_add_* and %service_del_* can already deal with the absence of systemctl; they use [ -x ... ] to test for its existence so that there are no error messages in case of its willful absence. Not all calls to /usr/bin/systemd-tmpfiles are yet protected by [-x]. Some programs may require the presence of tmpfiles. For a container where systemd is not used as pid 1, this is solved on the host side already (like everything else, including package installation), by invoking tmpfiles before nspawn: 0. systemd-tmpfiles --root /c --create 1. systemd-nspawn -D /c ... as above -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980389 http://bugzilla.opensuse.org/show_bug.cgi?id=980389#c2 --- Comment #2 from Martin Pluskal <mpluskal@suse.com> --- See boo#976922 - lack of systemd dependencies is causing issues during installation. Furthermore you were notified of this in https://build.opensuse.org/request/show/394097 - please stop with this activity. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980389 Oliver Kurz <okurz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugzilla.opensuse.or | |g/show_bug.cgi?id=1100786 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com