Guido Berhoerster schrieb:
* Ludwig Nussel <ludwig.nussel@suse.de> [2014-11-20 14:12]:
Guido Berhoerster schrieb:
[...] What about packages which provided boot.* sysvinit scripts before, which are after conversion off by default? That seems wrong and unexpected to me and I'd like what I should do in that case. Concrete example: https://build.opensuse.org/request/show/262369
That's an entirely different topic. sysv migration is handled by /usr/sbin/systemd-sysv-convert. If it doesn't handle boot.* scripts then that needs to be fixed there.
Well from my testing it seems that previously run boot.* scripts are disabled after conversion. Is there anything else I'm supposed to do besides adding:
%pre %service_add_pre storage-fixup.service
%post %service_add_post storage-fixup.service
%preun %service_del_preun storage-fixup.service
%postun %service_del_postun storage-fixup.service
Do I need to get this whitelisted in the systemd-presets-branding-* before doing the conversion or is this a bug in the systemd-sysv-convert script?
Both. You need the service in the presets file for new installations and systemd-sysv-convert needs to be able to handle boot.* scripts for the update case. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5; 90409 Nürnberg; Germany -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org