[Bug 1118368] New: Please include proper dependencies in named.service against nss-lookup.target
http://bugzilla.opensuse.org/show_bug.cgi?id=1118368 Bug ID: 1118368 Summary: Please include proper dependencies in named.service against nss-lookup.target Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: fbui@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- (duplicate of boo#1118367 but for named.service) Hi, It would be great if named.service would stop relying on /etc/insserv.conf (which is obsolete and subject to future removal) and instead would include proper dependencies directly. For this purpose, it would mean adding the 2 following dependencies in the service unit file: [Unit] ... Wants=nss-lookup.target Before=nss-lookup.target Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1118368 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.opensuse.o | |rg/show_bug.cgi?id=1118367 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1118368 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |navin.kukreja@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1118368 http://bugzilla.opensuse.org/show_bug.cgi?id=1118368#c1 --- Comment #1 from Franck Bui <fbui@suse.com> --- FTR this has been done last year: https://build.opensuse.org/package/rdiff/network/bind?linkrev=base&rev=253 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1118368 http://bugzilla.opensuse.org/show_bug.cgi?id=1118368#c2 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |navin.kukreja@suse.com Blocks|1052837 | Flags| |needinfo?(navin.kukreja@sus | |e.com) --- Comment #2 from Franck Bui <fbui@suse.com> --- Navin, can you submit a similar fix for SLE12-SP2+ and SLE15 ? Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1118368 http://bugzilla.opensuse.org/show_bug.cgi?id=1118368#c3 --- Comment #3 from Franck Bui <fbui@suse.com> --- Hi Navin, After some more investigation, here is a description of what needs to be done: For SLE12-SP2+ -------------- bind package ships 2 sysv init scripts for these distros: "named" and "lwresd". It appears that the sysv-generator already provides the deps automtically to "named" (because "named" provides the "named" facility). So for "named" nothing needs to be done. OTOH the deps needs to be added to "lwresd". In order to do so, please ship the following drop-in along with the sysv init script: # mkdir /usr/lib/systemd/system/lwresd.service.d/ # cat >/usr/lib/systemd/system/lwresd.service.d/insserv.conf <<EOF [Unit] Before=nss-lookup.target Wants=nss-lookup.target EOF For SLE15+ and Factory ---------------------- For those platforms, the 2 services have been converted into systemd units. Therefore "named" doesn't get the deps automatically anymore so both services need to be patched like it's been done for Factory, see comment #1. Thanks ! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com