Your message dated Mon, 04 Jan 2010 01:18:13 +0000
with message-id <[email protected]>
and subject line Bug#560121: fixed in netselect 0.3.ds1-14
has caused the Debian Bug report #560121,
regarding netselect-apt fails on non-suid netselect with cap_net_raw set
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
560121: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560121
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: netselect-apt
Version: 0.3.ds1-13.1
Severity: minor
Tags: patch

netselect-apt refuses to run as non-root user when /usr/bin/netselect isn't 
suid root but has cap_net_raw fcap set. Suggested patch included.
--- netselect-apt.distrib	2009-08-30 14:38:25.000000000 +0400
+++ netselect-apt	2009-12-09 05:58:17.138543847 +0300
@@ -85,8 +85,10 @@
 
 # can we use netselect?
 # ok, we should also check ownership of netselect but assuming it's root
-if [ ! -u /usr/bin/netselect -a "$UID" -gt 0 ]; then
-	log "netselect has not the set-user-id bit set and you are not root"
+if [ ! -u /usr/bin/netselect -a "$UID" -gt 0 ] && ! { [ -x /sbin/getcap ] &&
+	    /sbin/getcap /usr/bin/netselect | grep -q 'cap_net_raw+ep'; }; then
+	log "netselect has neither the set-user-id bit nor cap_net_raw file capability"
+	log "set and you are not root"
 	log "please run netselect-apt as root or set-user-id bit on /usr/bin/netselect"
 	exit 2
 fi

--- End Message ---
--- Begin Message ---
Source: netselect
Source-Version: 0.3.ds1-14

We believe that the bug you reported is fixed in the latest version of
netselect, which is due to be installed in the Debian FTP archive:

netselect-apt_0.3.ds1-14_all.deb
  to main/n/netselect/netselect-apt_0.3.ds1-14_all.deb
netselect_0.3.ds1-14.diff.gz
  to main/n/netselect/netselect_0.3.ds1-14.diff.gz
netselect_0.3.ds1-14.dsc
  to main/n/netselect/netselect_0.3.ds1-14.dsc
netselect_0.3.ds1-14_amd64.deb
  to main/n/netselect/netselect_0.3.ds1-14_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Filippo Giunchedi <[email protected]> (supplier of updated netselect package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


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

Format: 1.8
Date: Sun, 03 Jan 2010 23:58:13 +0100
Source: netselect
Binary: netselect netselect-apt
Architecture: source all amd64
Version: 0.3.ds1-14
Distribution: unstable
Urgency: low
Maintainer: Filippo Giunchedi <[email protected]>
Changed-By: Filippo Giunchedi <[email protected]>
Description: 
 netselect  - speed tester for choosing a fast network server
 netselect-apt - speed tester for choosing a fast Debian mirror
Closes: 560121
Changes: 
 netselect (0.3.ds1-14) unstable; urgency=low
 .
   * Fix spelling mistake in netselect-apt.1
   * Upgrade to SV 3.8.3, no changes needed
   * Make netselect bail on socket() EPERM with a message instead of doing that
     at the start, also put a note on how to setup file capabilities and
     improve netselect-apt message reporting as well (Closes: #560121)
Checksums-Sha1: 
 c5db48fa209924276e07ac2de3880077fcc131e6 1209 netselect_0.3.ds1-14.dsc
 2e46c79a7cd31cab1c71389e3f14518c7fb0d0d8 21840 netselect_0.3.ds1-14.diff.gz
 9190289e73786b0e64cffd75476342575785640c 10476 netselect-apt_0.3.ds1-14_all.deb
 6dde59f5285fa05af81ff005e18ca380aba27dda 25222 netselect_0.3.ds1-14_amd64.deb
Checksums-Sha256: 
 e8664c7a3ddba23696867be3bbe0b53e7ec13a2ff0971e915e166f3fe8a847a7 1209 
netselect_0.3.ds1-14.dsc
 00c906f43a9714db36a8abfc614621d132772d7baa26a65d580ebed9932eb665 21840 
netselect_0.3.ds1-14.diff.gz
 5a40c2087b00dca2e689286298e4778927d9c50cfb6c9a190f1e215192b8fe2b 10476 
netselect-apt_0.3.ds1-14_all.deb
 6875db36d62881fc6010eb6c4b72d469bafeb34f24ab79f9b47bd5bbdff5f51d 25222 
netselect_0.3.ds1-14_amd64.deb
Files: 
 1b3aa622190d0561c7b9c182b2f6fade 1209 net optional netselect_0.3.ds1-14.dsc
 f78b74a0f3bb2319a5b82fa50fa08a13 21840 net optional 
netselect_0.3.ds1-14.diff.gz
 53f6337108845119f370ed062c0a7ab8 10476 net optional 
netselect-apt_0.3.ds1-14_all.deb
 c33893be00cc9a5d3f1aced2cb397264 25222 net optional 
netselect_0.3.ds1-14_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAktBPygACgkQABzeamt51AHEVwCglaX1Jqp7D5cZ90xDbIEEyN1a
pVEAnjGsmVzReM0N+SN5C1IN3VMfzP5M
=tac3
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to