Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349180 - net-dns/openresolv-3.4.0 needs fixes due to the 'D' option has been removed from /sbin/rc-service in openrc-0.6.8
Summary: net-dns/openresolv-3.4.0 needs fixes due to the 'D' option has been removed f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
: 349628 350606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-20 12:24 UTC by Sipingal Liu
Modified: 2011-01-06 04:15 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for files in /lib/resolveconf (openresolv.patch,2.33 KB, patch)
2010-12-23 05:48 UTC, Marko D
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sipingal Liu 2010-12-20 12:24:18 UTC
$ grep -r rc-service /lib/resolvconf/*
/lib/resolvconf/dnsmasq:: ${dnsmasq_restart:=/sbin/rc-service -e ${dnsmasq_service} && /sbin/rc-service ${dnsmasq_service} -Ds restart}
/lib/resolvconf/libc:: ${libc_restart:=/sbin/rc-service -e ${libc_service} && /sbin/rc-service ${libc_service} -Ds restart}
/lib/resolvconf/named:: ${named_restart:=/sbin/rc-service -e ${named_service} && /sbin/rc-service ${named_service} -Ds restart}
/lib/resolvconf/unbound:: ${unbound_restart:=/sbin/rc-service -e ${unbound_service} && /sbin/rc-service ${unbound_service} -Ds restart}


Reproducible: Always

Steps to Reproduce:
run vpnc
Comment 1 Marko D 2010-12-23 05:46:39 UTC
This is not related to any 'D' option for rc-service. The arguments are supposed to be passed to the invoked service. (rc-service nscd -- -Ds restart). Files in /lib/resolveconf have lost the "--" before "-Ds" after last update (after the hardcoded service name has been replaced with a variable name like ${libc_service})
Comment 2 Marko D 2010-12-23 05:48:13 UTC
Created attachment 257825 [details, diff]
patch for files in /lib/resolveconf
Comment 3 Roy Marples 2010-12-23 22:23:55 UTC
http://roy.marples.name/projects/openresolv/changeset/15d1462cefc815c488d6d3ab5123a4298bc94c5c

I'll release a new version before the new year with that fix.
Comment 4 Sipingal Liu 2010-12-24 01:26:54 UTC
Good news. Thank you in advance. Merry Xmas.
Comment 5 Bob Raitz 2010-12-24 09:23:14 UTC
Tried the patch. It solved my issue. Thanks.
Comment 6 SpanKY gentoo-dev 2010-12-27 21:57:37 UTC
*** Bug 349628 has been marked as a duplicate of this bug. ***
Comment 7 Mike Hammill 2011-01-05 22:52:10 UTC
Tried Roy's update on x86 and x86_64 (via mhammill overlay).  Worked great.  Thanks, Roy!
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-01-05 23:00:24 UTC
ah, thx. Forgot to check for a new release...

+*openresolv-3.4.1 (05 Jan 2011)
+
+  05 Jan 2011; Jeremy Olexa <darkside@gentoo.org> -openresolv-3.4.0.ebuild,
+  +openresolv-3.4.1.ebuild:
+  Version bump with fix for bug 349180. Removed old pkg_postinst info.
Comment 9 Jory A. Pratt gentoo-dev 2011-01-06 04:15:15 UTC
*** Bug 350606 has been marked as a duplicate of this bug. ***