Bug ID | 1118758 |
---|---|
Summary | Pleas define SYSTEMD_OFFLINE=1 when managing packages inside a chroot |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | libzypp |
Assignee | zypp-maintainers@forge.provo.novell.com |
Reporter | fbui@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
During package installations/removals/updates from within a chroot, all attempts to contact PID1 (via systemctl {daemon-reload,start,stop,...}) by package scriptlets should be avoided. systemd offers an API for that "SYSTEMD_OFFLINE" which should be defined to "1". It would be nice if libzypp defines this variable in such scenarios. Indeed libzypp seems a good place to do that because at least YAST, zypper and Packagekit are linked against it.