[Bug 1038406] New: openvpn: Usage of systemctrl enable should be changed to %sytemd_add_pre/post
http://bugzilla.suse.com/show_bug.cgi?id=1038406 Bug ID: 1038406 Summary: openvpn: Usage of systemctrl enable should be changed to %sytemd_add_pre/post Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: nirmoy.das@suse.com Reporter: behlert@suse.com QA Contact: qa-bugs@suse.de CC: fcrozat@suse.com Found By: --- Blocker: --- "systemctl preset-all" is intended to return service states to a factory state based on presets. But currently we can see breakages in some products due to services that are not following the guidelines as described in https://en.opensuse.org/openSUSE:Systemd_packaging_guidelines#Enabling_syste... The package openvpn was identified to use "systemctl enable" in its spec-file, and it should get replaced by the proper use of %sytemd_add_pre/post and preset. Please check your package, thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1038406
Stefan Behlert
http://bugzilla.suse.com/show_bug.cgi?id=1038406
http://bugzilla.suse.com/show_bug.cgi?id=1038406#c1
Thomas Blume
"systemctl preset-all" is intended to return service states to a factory state based on presets. But currently we can see breakages in some products due to services that are not following the guidelines as described in
https://en.opensuse.org/openSUSE: Systemd_packaging_guidelines#Enabling_systemd_unit_files
The package
openvpn was identified to use "systemctl enable" in its spec-file, and it should get replaced by the proper use of %sytemd_add_pre/post and preset.
Please check your package, thanks.
Seems that this is already implemented: -> osc cat openSUSE:Factory/rsyslog rsyslog.spec | grep service_ %{service_add_pre rsyslog.service} %{service_add_post rsyslog.service} %{service_del_preun syslog.socket} %{service_del_preun rsyslog.service} %{service_del_postun rsyslog.service} osc cat Base:System/rsyslog rsyslog.spec | grep service_ %{service_add_pre rsyslog.service} %{service_add_post rsyslog.service} %{service_del_preun syslog.socket} %{service_del_preun rsyslog.service} %{service_del_postun rsyslog.service} --< Stefan, can I close this bug? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1038406
Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1038406
http://bugzilla.suse.com/show_bug.cgi?id=1038406#c2
Stefan Behlert
http://bugzilla.suse.com/show_bug.cgi?id=1038406
Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1038406
http://bugzilla.suse.com/show_bug.cgi?id=1038406#c3
--- Comment #3 from Thomas Blume
Stefan, can I close this bug?
Sorry, this went into the wrong bug, it should have been in bug#1038407. Leaving it to Nirmoy to double check and close. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1038406
Nirmoy Das
http://bugzilla.suse.com/show_bug.cgi?id=1038406
http://bugzilla.suse.com/show_bug.cgi?id=1038406#c4
Reinhard Max
participants (1)
-
bugzilla_noreply@novell.com