Mailinglist Archive: opensuse-virtual (68 mails)

< Previous Next >
Re: [opensuse-virtual] xen* update DISables `xencommons` and `xendomains` systemd services. should it?
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?expand=1


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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-virtual+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References