From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11885 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Sedich Newsgroups: gmane.linux.lib.musl.general Subject: Re: open issues Date: Thu, 31 Aug 2017 15:37:24 +0000 Message-ID: References: <20170827043606.GQ15263@port70.net> <20170831093405.GT15263@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114e3b186feaf305580e6c34" X-Trace: blaine.gmane.org 1504193908 21160 195.159.176.226 (31 Aug 2017 15:38:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 31 Aug 2017 15:38:28 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11898-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 31 17:38:17 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dnRXf-0004Lf-Ld for gllmg-musl@m.gmane.org; Thu, 31 Aug 2017 17:38:03 +0200 Original-Received: (qmail 23763 invoked by uid 550); 31 Aug 2017 15:38:07 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 23730 invoked from network); 31 Aug 2017 15:38:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=LEDZc1BVwc56RZj50AmMpPMIAQhBDHMhvAlRRqiR7tI=; b=gAzFHLUsPW2VE6g/VfKU0dCsFhE8prpL2dZxsXv8RndxGalI77yvwYYOrv4bQI1Zs4 gw8FLzOKhbY+NmNZzZ53mjm95qodXEc9BmA/neT/Z4i0x03Ya2mjoNXlncwM6xwSEW2f TIUunga0rClMYb9NjTmD4DVv9gUAASFvVma9UFjrrFK7y0sJTMZcsLsq99daDlJIg7UK KX7nuUTrGpTTjyB0G0pgvaEnMAocLE/DA5C9wVFSGP33EO436ss/MmbOYYfCmdKT+b/P WLYBB8pKjB7U1/Wn1SDc5tXuw5ogSOeI+g4MrWhPfsCqsDX6GnuqxWOvUHNdVpTRFdhk KH0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=LEDZc1BVwc56RZj50AmMpPMIAQhBDHMhvAlRRqiR7tI=; b=h8osCfqAbTsMqYOXLm8dgg522VhVjSnlQCD7pDCeeVchyzaFlaww/1bOS2DB5TA4tD Zm0gl24W8CrtgDndgBEtpB2JNXnXfxVNSGN5MKcPMI49btN0hBFng59HDXivB/G/9Bki +1Oqsq8jIT333c+O6wVuB9fLakUmrGBcG0N+QUweX3t2UaAixhLi5rhRwDwPDg5l3Juo yH2luqN/hq2f79TY+xjzWB4YjCjnaULfYg/89bgPUVuo80/2tjNAgBJruIqnkqElvL53 3yGGISO5x4KWrR9psQDxB0aZbGz/dkjMbvpv7dQUN1Cf52X7EKaTfkoIEU1Z8jtpTk98 rpIg== X-Gm-Message-State: AHYfb5iSS9zTHl0/KfjyxaIBmpch+qAj0vgXnEbjelnsf/Nu5HSD5+mN i2jGf9kQrIdWlEKq+X9NEQCN03OCkFtH X-Google-Smtp-Source: ADKCNb4cmoLOPswAkq8DdoWXJ9ahmaZ6C4U42adIO2Vc2K4MotUMpzSn9SPVR56X+v+bsrLDtcetYfNxMe6OXU6gPao= X-Received: by 10.28.71.88 with SMTP id u85mr943322wma.22.1504193855612; Thu, 31 Aug 2017 08:37:35 -0700 (PDT) In-Reply-To: <20170831093405.GT15263@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:11885 Archived-At: --001a114e3b186feaf305580e6c34 Content-Type: text/plain; charset="UTF-8" On Thu, Aug 31, 2017 at 2:34 AM Szabolcs Nagy wrote: > * Stefan Sedich [2017-08-30 19:53:55 +0000]: > > > feature request: > > > - RES_OPTIONS support for resolv.conf options overriding > > > http://www.openwall.com/lists/musl/2017/04/30/1 > > > related libc-alpha discussion > > > http://sourceware.org/ml/libc-alpha/2017-08/msg01097.html > ... > > > > - RES_OPTIONS support for resolv.conf options overriding > > http://www.openwall.com/lists/musl/2017/04/30/1 > > > > I would love to sneak this one in if possible, has been sitting around > for > > a while and something that I want to be able to configure! > > did you see the libc-alpha discussion? > > the current recommended way to override /etc/resolv.conf is using mount > namespace (or chroot), if user namespace is allowed for non-root users > in the kernel then this can be done without root access. > > if you can control resolv.conf per process then options can be set too. > (not ideal solution, but may work for you) > I had not seen that, thanks for the info! --001a114e3b186feaf305580e6c34 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Aug 31= , 2017 at 2:34 AM Szabolcs Nagy <nsz@p= ort70.net> wrote:
* Stefan= Sedich <st= efan.sedich@gmail.com> [2017-08-30 19:53:55 +0000]:
> > feature request:
> > - RES_OPTIONS support for resolv.conf options overriding
> >=C2=A0 =C2=A0http://www.openwall.com/lists/m= usl/2017/04/30/1
> >=C2=A0 =C2=A0related libc-alpha discussion
> >=C2=A0 =C2=A0http://sourceware.org= /ml/libc-alpha/2017-08/msg01097.html
...
>
> - RES_OPTIONS support for resolv.conf options overriding
>=C2=A0 =C2=A0http://www.openwall.com/lists/musl/2= 017/04/30/1
>
> I would love to sneak this one in if possible, has been sitting around= for
> a while and something that I want to be able to configure!

did you see the libc-alpha discussion?

the current recommended way to override /etc/resolv.conf is using mount
namespace (or chroot), if user namespace is allowed for non-root users
in the kernel then this can be done without root access.

if you can control resolv.conf per process then options can be set too.
(not ideal solution, but may work for you)

<= div>I had not seen that, thanks for the info!=C2=A0
--001a114e3b186feaf305580e6c34--