-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

# <fjp> eddyp: Suggest raising the BR to serious and
# prepare a high prio upload.
# <eddyp> ok
# <fjp> Broken networking setup is definitely RC.
severity 415077 serious
tags 415077 patch
thanks

Filipus Klutiero wrote:
> Package: ppp-udeb
> Version: 2.4.4rel-7
> Severity: important
> 
> Using ppp-udeb apparently creates resolv.conf 0600, which prevents users
> other than root from using DNS.
> The severity is largely diminished by pppd moving the original
> resolv.conf. However, if using dhclient, the bug will strike.
> 

Patch for 2.4.4rel-8 attached

> I have reproduced this on at least 2 of 3 machines tested. I had a look
> at the code trying to see what could be wrong, but I don't really know
> with which uname the code runs, and didn't find anything.

pppd seems to run ip-up under 0077 umask.

- --
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF/E5GY8Chqv3NRNoRApikAJ9Y9I6IX5dI8f0j8mbEwYqygA+TWgCfXSeH
ExL9c1w5TnDUHFKWLLA8qKc=
=XA43
-----END PGP SIGNATURE-----
diff -rN -u old-ppp-eddyp-dev/ppp-2.4.4rel/debian/changelog new-ppp-eddyp-dev/ppp-2.4.4rel/debian/changelog
--- old-ppp-eddyp-dev/ppp-2.4.4rel/debian/changelog	2007-03-17 22:20:18.000000000 +0200
+++ new-ppp-eddyp-dev/ppp-2.4.4rel/debian/changelog	2007-03-17 22:20:19.000000000 +0200
@@ -1,3 +1,10 @@
+ppp (2.4.4rel-8) unstable; urgency=high
+
+  * severity high since fixes an RC bug
+  * make sure the /etc/resolv.conf file is work readable (Closes: #415077)
+
+ -- Eddy Petrișor <[EMAIL PROTECTED]>  Sat, 17 Mar 2007 22:17:34 +0200
+
 ppp (2.4.4rel-7) unstable; urgency=high
 
   * urgency set to high to catch the RC2 release
diff -rN -u old-ppp-eddyp-dev/ppp-2.4.4rel/extra/ppp-udeb.ip-up new-ppp-eddyp-dev/ppp-2.4.4rel/extra/ppp-udeb.ip-up
--- old-ppp-eddyp-dev/ppp-2.4.4rel/extra/ppp-udeb.ip-up	2007-03-17 22:20:19.000000000 +0200
+++ new-ppp-eddyp-dev/ppp-2.4.4rel/extra/ppp-udeb.ip-up	2007-03-17 22:20:19.000000000 +0200
@@ -2,6 +2,7 @@
 # adds the DNS servers got via ppp to the global resolv.conf
 # License: GPL
 # Copyright Eddy Petrișor <[EMAIL PROTECTED]> 2006
+umask 0022
 : >> /etc/resolv.conf
 MARK='added by D-I (pppd)'
 cp /etc/resolv.conf /tmp/resolv.conf.tmp

Reply via email to