Your message dated Thu, 28 Jun 2012 19:33:11 +0000
with message-id <[email protected]>
and subject line Bug#655883: fixed in sudo 1.8.5p2-1
has caused the Debian Bug report #655883,
regarding visudo: lockf is not implemented on hurd-i386, use flock instead
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.)


-- 
655883: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655883
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sudo
Version: 1.8.3p1-2
Severity: normal
Tags: upstream patch
User: [email protected]
Usertags: hurd

Hello,

Currently visudo fails to run on hurd-i386, because it uses lockf which
isn't implemented on Hurd. This has been previously tracked on Alioth[1].

The following output is produced when one tries to use visudo:

# visudo
visudo: /etc/sudoers busy, try again later

The attached quilt patch causes visudo to use flock instead of lockf on
hurd-i386, which fixes this problem. The diff is somewhat large because I
have regenerated the configure script with a newer version of autoconf to
effect the change to configure.in.

visudo does not run perfectly on hurd-i386 with this patch applied, but
the remaining issue is known to be unrelated to this one, so it is
irrelevant to this bug. It is being worked on separately.

Please let me know if you need any further information.

[1] 
https://alioth.debian.org/tracker/index.php?func=detail&aid=303084&group_id=30628&atid=411594


-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hurd-i386 (i686-AT386)

Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sudo depends on:
ii  libc0.3         2.13-24
ii  libpam-modules  1.1.3-6
ii  libpam0g        1.1.3-6

sudo recommends no packages.

sudo suggests no packages.

-- Configuration Files:
/etc/sudoers [Errno 1073741837] Permission denied: u'/etc/sudoers'
/etc/sudoers.d/README [Errno 1073741837] Permission denied: 
u'/etc/sudoers.d/README'

-- no debconf information
Use flock instead of lockf for visudo on hurd
Index: sudo-1.8.3p1/configure.in
===================================================================
--- sudo-1.8.3p1.orig/configure.in	2011-10-25 14:11:40.000000000 +0000
+++ sudo-1.8.3p1/configure.in	2012-01-08 04:05:23.000000000 +0000
@@ -1864,6 +1864,9 @@
 		;;
     *-gnu*)
 		OSDEFS="${OSDEFS} -D_GNU_SOURCE"
+		# lockf() isn't implemented on the Hurd -- use flock instead
+		ac_cv_func_lockf=no
+		ac_cv_func_flock=yes
 		;;
 esac
 
Index: sudo-1.8.3p1/configure
===================================================================
--- sudo-1.8.3p1.orig/configure	2011-10-25 14:11:54.000000000 +0000
+++ sudo-1.8.3p1/configure	2012-01-08 05:26:40.000000000 +0000
@@ -1483,7 +1483,7 @@
   --bindir=DIR            user executables [EPREFIX/bin]
   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   --libexecdir=DIR        program executables [EPREFIX/libexec]
-  --sysconfdir=DIR        read-only single-machine data [/etc]
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   --libdir=DIR            object code libraries [EPREFIX/lib]
@@ -14287,6 +14287,9 @@
 		;;
     *-gnu*)
 		OSDEFS="${OSDEFS} -D_GNU_SOURCE"
+		# lockf() isn't implemented on the Hurd -- use flock instead
+		ac_cv_func_lockf=no
+		ac_cv_func_flock=yes
 		;;
 esac
 
@@ -17191,7 +17194,7 @@
 $as_echo "$as_me: WARNING: unable to find socket() trying -lsocket -lnsl" >&2;}
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
 $as_echo_n "checking for socket in -lsocket... " >&6; }
-if ${ac_cv_lib_socket_socket_lnsl+:} false; then :
+if ${ac_cv_lib_socket_socket+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -17215,17 +17218,17 @@
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_socket_socket_lnsl=yes
+  ac_cv_lib_socket_socket=yes
 else
-  ac_cv_lib_socket_socket_lnsl=no
+  ac_cv_lib_socket_socket=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket_lnsl" >&5
-$as_echo "$ac_cv_lib_socket_socket_lnsl" >&6; }
-if test "x$ac_cv_lib_socket_socket_lnsl" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
+$as_echo "$ac_cv_lib_socket_socket" >&6; }
+if test "x$ac_cv_lib_socket_socket" = xyes; then :
   NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl"
 fi
 
@@ -17325,7 +17328,7 @@
 $as_echo "$as_me: WARNING: unable to find inet_addr() trying -lsocket -lnsl" >&2;}
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
-if ${ac_cv_lib_socket_inet_addr_lnsl+:} false; then :
+if ${ac_cv_lib_socket_inet_addr+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -17349,17 +17352,17 @@
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_socket_inet_addr_lnsl=yes
+  ac_cv_lib_socket_inet_addr=yes
 else
-  ac_cv_lib_socket_inet_addr_lnsl=no
+  ac_cv_lib_socket_inet_addr=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr_lnsl" >&5
-$as_echo "$ac_cv_lib_socket_inet_addr_lnsl" >&6; }
-if test "x$ac_cv_lib_socket_inet_addr_lnsl" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
+$as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
+if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
   NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl"
 fi
 
@@ -18050,7 +18053,7 @@
     #
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SD_Init in -laceclnt" >&5
 $as_echo_n "checking for SD_Init in -laceclnt... " >&6; }
-if ${ac_cv_lib_aceclnt_SD_Init_______lpthread_______+:} false; then :
+if ${ac_cv_lib_aceclnt_SD_Init+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -18077,17 +18080,17 @@
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_aceclnt_SD_Init_______lpthread_______=yes
+  ac_cv_lib_aceclnt_SD_Init=yes
 else
-  ac_cv_lib_aceclnt_SD_Init_______lpthread_______=no
+  ac_cv_lib_aceclnt_SD_Init=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aceclnt_SD_Init_______lpthread_______" >&5
-$as_echo "$ac_cv_lib_aceclnt_SD_Init_______lpthread_______" >&6; }
-if test "x$ac_cv_lib_aceclnt_SD_Init_______lpthread_______" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aceclnt_SD_Init" >&5
+$as_echo "$ac_cv_lib_aceclnt_SD_Init" >&6; }
+if test "x$ac_cv_lib_aceclnt_SD_Init" = xyes; then :
 
 	    AUTH_OBJS="$AUTH_OBJS securid5.lo";
 	    SUDOERS_LIBS="${SUDOERS_LIBS} -laceclnt -lpthread"
@@ -18346,10 +18349,9 @@
 
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-                as_ac_Lib=`$as_echo "ac_cv_lib_krb_main$K4LIBS" | $as_tr_sh`
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkrb" >&5
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkrb" >&5
 $as_echo_n "checking for main in -lkrb... " >&6; }
-if eval \${$as_ac_Lib+:} false; then :
+if ${ac_cv_lib_krb_main+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -18367,25 +18369,23 @@
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  eval "$as_ac_Lib=yes"
+  ac_cv_lib_krb_main=yes
 else
-  eval "$as_ac_Lib=no"
+  ac_cv_lib_krb_main=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-eval ac_res=\$$as_ac_Lib
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_main" >&5
+$as_echo "$ac_cv_lib_krb_main" >&6; }
+if test "x$ac_cv_lib_krb_main" = xyes; then :
   K4LIBS="-lkrb $K4LIBS"
 else
 
-	as_ac_Lib=`$as_echo "ac_cv_lib_krb4_main$K4LIBS" | $as_tr_sh`
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkrb4" >&5
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkrb4" >&5
 $as_echo_n "checking for main in -lkrb4... " >&6; }
-if eval \${$as_ac_Lib+:} false; then :
+if ${ac_cv_lib_krb4_main+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -18403,18 +18403,17 @@
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  eval "$as_ac_Lib=yes"
+  ac_cv_lib_krb4_main=yes
 else
-  eval "$as_ac_Lib=no"
+  ac_cv_lib_krb4_main=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-eval ac_res=\$$as_ac_Lib
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_main" >&5
+$as_echo "$ac_cv_lib_krb4_main" >&6; }
+if test "x$ac_cv_lib_krb4_main" = xyes; then :
   K4LIBS="-lkrb4 $K4LIBS"
 else
   K4LIBS="-lkrb $K4LIBS"

--- End Message ---
--- Begin Message ---
Source: sudo
Source-Version: 1.8.5p2-1

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

sudo-ldap_1.8.5p2-1_i386.deb
  to main/s/sudo/sudo-ldap_1.8.5p2-1_i386.deb
sudo_1.8.5p2-1.debian.tar.gz
  to main/s/sudo/sudo_1.8.5p2-1.debian.tar.gz
sudo_1.8.5p2-1.dsc
  to main/s/sudo/sudo_1.8.5p2-1.dsc
sudo_1.8.5p2-1_i386.deb
  to main/s/sudo/sudo_1.8.5p2-1_i386.deb
sudo_1.8.5p2.orig.tar.gz
  to main/s/sudo/sudo_1.8.5p2.orig.tar.gz



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.
Bdale Garbee <[email protected]> (supplier of updated sudo 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: SHA512

Format: 1.8
Date: Thu, 28 Jun 2012 12:01:37 -0600
Source: sudo
Binary: sudo sudo-ldap
Architecture: source i386
Version: 1.8.5p2-1
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <[email protected]>
Changed-By: Bdale Garbee <[email protected]>
Description: 
 sudo       - Provide limited super user privileges to specific users
 sudo-ldap  - Provide limited super user privileges to specific users
Closes: 655417 655883 655948 669576
Changes: 
 sudo (1.8.5p2-1) unstable; urgency=low
 .
   * new upstream version
   * patch to use flock on hurd, run autoconf in rules, closes: #655883
   * patch to avoid calling unlink with null pointer on hurd, closes: #655948
   * patch to actually use hardening build flags, closes: #655417
   * fix sudo-ldap.postinst syntax issue, closes: #669576
Checksums-Sha1: 
 2c210d52e521d7bd998f6558bde7aeab1d320725 1867 sudo_1.8.5p2-1.dsc
 1bf378ffb6fef801a7f5d0ca90f8ab849f79d1be 1746344 sudo_1.8.5p2.orig.tar.gz
 6a82b0b5beb5d301a1eb9bd09f318c07875ee564 24307 sudo_1.8.5p2-1.debian.tar.gz
 1229cf3b843d9155b6ec5e1f39f9663e67ea7dca 835182 sudo_1.8.5p2-1_i386.deb
 9ee94c9975a3e21fe3bc6ba89b9b2cf2447a6591 854552 sudo-ldap_1.8.5p2-1_i386.deb
Checksums-Sha256: 
 bc6062473297767f9415245fb66fccaef00f49539802d8857f506269fbd31d24 1867 
sudo_1.8.5p2-1.dsc
 c32ae2bc3faf83444c82ca75ccb10ad3684d8222e3535f164c4a4db7cdddf8cf 1746344 
sudo_1.8.5p2.orig.tar.gz
 683614af44a9f4a47834d41665b1f747d15e1e4d9d2d2af73e7a22937c5cf7b5 24307 
sudo_1.8.5p2-1.debian.tar.gz
 3974b2f71ad1bc0de7055febcc4dcdfffa4bad7c33a9d4a5965969a3c408ccd8 835182 
sudo_1.8.5p2-1_i386.deb
 e77ca2a70acb111aef775cde88a629ca4d125a8ac0e3315a24a5c3a104b42330 854552 
sudo-ldap_1.8.5p2-1_i386.deb
Files: 
 1f9f1aa1892eeec8e849e466b2e4d893 1867 admin optional sudo_1.8.5p2-1.dsc
 dc42ed9f0946d92273762d0ae7314d59 1746344 admin optional 
sudo_1.8.5p2.orig.tar.gz
 6b4e6c4cf304ec91ef45780154ee8184 24307 admin optional 
sudo_1.8.5p2-1.debian.tar.gz
 92f4313e621a0f2631e0267dc24cac96 835182 admin optional sudo_1.8.5p2-1_i386.deb
 1d851529637f8379b3eb9910d02a6eb1 854552 admin optional 
sudo-ldap_1.8.5p2-1_i386.deb

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

iQIVAwUBT+ymHjqTYZbAldlBAQr8uxAAwHJkp4Z34ENdjpxDmkbN9A0/1OLWTfU7
4rGg31Pv2oK0Bh/65T5q1BTuITnAjSypv63VyOOfbkqYBwgpCdJGYu6wJqXxaaQq
2TlJjk9e/0qNJHO0U99WY7RNZNXfIpsvEvodjxSm+LWkgTyxZCY93/1lJtIRZbqV
Eiq8HtR97ETJs7y/PNAtiWMezr3n7q0pSgCKjRntwqgukAffBqqYPUEjDcYZNaOF
dYQH19AioyijJUPmpq6rvF2RNEP0wd8Yi3MfVZ/aTSJNLWk62kAfrnuxli6jvLuA
MXj8KiePeZ+z2s1SpRk+mjDRud1n4KEXlhaiL0SF1NXqYl2nz6IgUSO6Qpju6Qvq
NbJoZivQPuXCE+yHmIHS4MdGZy/dAC93a//d+vpmzQrZDm3LEMejJldpS3sLwg96
KiEBn6snGiIvFZqj9Ml3R7WgOWEfPI1+nXp+VfbAEzerfSpVH8lwgUzUBdI4G/4e
GCHzYIkxv2znRn5AWWGivIYZt6IWt40NBWq84HY6neNMp7jmHRHS2gftSKcxHS+x
k2LI9wVjI03rJacmmXbSFX90H1fDcNlEmrlBG4m/FBozJin7lDNHvf/Fon1JHTil
jxmfD6azn5TMgiGBHxNlUVWHAHhEow1WCt98ql96MjSrYmNBx+ZZrAj+QGI1Gmpv
/l/+GWpWci8=
=rR3z
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to