[opensuse-virtual] xen* update DISables `xencommons` and `xendomains` systemd services. should it?
After each xen-libs/tools update, both `xencommons` and `xendomains` systemd services are DISabled, requiring: systemctl enable xencommons.service ln -s '/usr/lib/systemd/system/xencommons.service' '/etc/systemd/system/multi-user.target.wants/xencommons.service' systemctl enable xendomains.service ln -s '/usr/lib/systemd/system/xendomains.service' '/etc/systemd/system/multi-user.target.wants/xendomains.service' to straighten things out. Is that intentional? Are updates typically supposed to modify service state? -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
ar16 wrote:
After each xen-libs/tools update, both `xencommons` and `xendomains` systemd services are DISabled, requiring:
systemctl enable xencommons.service ln -s '/usr/lib/systemd/system/xencommons.service' '/etc/systemd/system/multi-user.target.wants/xencommons.service' systemctl enable xendomains.service ln -s '/usr/lib/systemd/system/xendomains.service' '/etc/systemd/system/multi-user.target.wants/xendomains.service'
to straighten things out.
Is that intentional? Are updates typically supposed to modify service state?
No, I don't think so. Must be a bug in the spec file, which I was unable to quickly spot. My day is about done, so will have to look at this later. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On Tue, Aug 20, 2013, at 05:13 PM, Jim Fehlig wrote:
Is that intentional? Are updates typically supposed to modify service state?
No, I don't think so.
If that's the case, looking at the spec, https://build.opensuse.org/package/view_file/Virtualization/xen/xen.spec?exp... This looks to be the enable-on-install trigger ... 1119 # without_xend %if %{?with_systemd}0 %{fillup_and_insserv -i -y -n xencommons xencommons} /bin/systemctl enable xencommons.service %else ... %ifnarch %arm aarch64 %if %{?with_systemd}0 %{fillup_and_insserv -i -y -n xendomains xendomains} /bin/systemctl enable xendomains.service %else ... I'm not very familiar with Opensuse's rpm packaging macros yet. Reading up on just rpm + systemd in general, I've come across this usage "%if 0%{with_systemd}" and unclear whether it's relevant here. This also presumes success with the 'fillup_and_insserv'. The prereq looks ok, at least. Best I wait for your comment ... Thanks. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
Reminding myself as it happened again this morning ... bump. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
ar16 wrote:
Reminding myself as it happened again this morning ... bump.
Best to open a bug I suppose, so this doesn't get lost. Visual review of the spec file didn't reveal any obvious bug, so this will require more investigation, which is low priority for me ATM - apologies. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On Thu, Aug 29, 2013, at 09:34 AM, Jim Fehlig wrote:
Best to open a bug I suppose, so this doesn't get lost.
done: https://bugzilla.novell.com/show_bug.cgi?id=837585 -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
ar16 [21.08.2013 01:40]:
After each xen-libs/tools update, both `xencommons` and `xendomains` systemd services are DISabled, requiring:
systemctl enable xencommons.service ln -s '/usr/lib/systemd/system/xencommons.service' '/etc/systemd/system/multi-user.target.wants/xencommons.service' systemctl enable xendomains.service ln -s '/usr/lib/systemd/system/xendomains.service' '/etc/systemd/system/multi-user.target.wants/xendomains.service'
to straighten things out.
Is that intentional? Are updates typically supposed to modify service state?
Hm. At home, I got an update on 2013-08-28, where both services were enabled automatically. On my box, they were disabled before... Puzzled, Werner -- -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
participants (3)
-
ar16
-
Jim Fehlig
-
Werner Flamme