[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#428884: marked as done (bashism in init script fails to start nscd)

Your message dated Sun, 17 Jun 2007 19:02:08 +0000
with message-id <E1I000m-0008Ut-EA@ries.debian.org>
and subject line Bug#428884: fixed in glibc 2.6-0exp3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: nscd
Version: 2.3.6.ds1-8
Severity: important
Tags: patch


I've reported a similar bug to the sendmail-bin postinst script
some time ago, you'll find it at
| http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=424213
for reference and deeper information.

The script defines a shell function "stop()", however, all Korn
shells have "stop" defined as builtin alias (unalias would work,
but in the below patch, I've renamed the stop() function and,
for consistency, the start() function).

Maybe someone should scan all Debian packages for that issue.

I'd be appreciated if you apply the patch in a follow-up release,
as Debian Policy states that scripts beginning with #!/bin/sh must
be portable.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/mksh
Kernel: Linux 2.6.18-4-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages nscd depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries

nscd recommends no packages.
--- nscd.orig	2007-06-14 22:07:35.000000000 +0000
+++ /etc/init.d/nscd	2007-06-14 22:08:07.000000000 +0000
@@ -21,7 +21,7 @@ umask 022
 [ -x "$DAEMON" ] || exit 0
 [ -d /var/run/nscd ] || mkdir -p /var/run/nscd
 	# Return
 	#   0 if daemon has been started
@@ -40,7 +40,7 @@ start()
 		$SECURE || return 2
 	# Return
 	#   0 if daemon has been stopped
@@ -68,7 +68,7 @@ status()
 case "$1" in
 	echo -n "Starting $DESC: $NAME"
-	start
+	start_nscd
 	case "$?" in
 		0) echo "." ; exit 0 ;;
 		1) echo " (already running)." ; exit 0 ;;
@@ -77,7 +77,7 @@ start)
 	echo -n "Stopping $DESC: $NAME"
-	stop
+	stop_nscd
 	case "$?" in
 		0) echo "." ; exit 0 ;;
 		1) echo " (not running)." ; exit 0 ;;
@@ -86,11 +86,11 @@ stop)
 	echo -n "Restarting $DESC: $NAME"
-	stop
+	stop_nscd
 	$DAEMON --invalidate passwd --invalidate group
 	case "$?" in
-		start
+		start_nscd
 		case "$?" in
 			0) echo "." ; exit 0 ;;
 			1) echo " (failed -- old process is still running)." ; exit 1 ;;

--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.6-0exp3

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

  to pool/main/g/glibc/glibc-doc_2.6-0exp3_all.deb
  to pool/main/g/glibc/glibc_2.6-0exp3.dsc
  to pool/main/g/glibc/glibc_2.6-0exp3.tar.gz
  to pool/main/g/glibc/libc6-dbg_2.6-0exp3_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.6-0exp3_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.6-0exp3_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.6-0exp3_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.6-0exp3_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.6-0exp3_amd64.deb
  to pool/main/g/glibc/libc6-udeb_2.6-0exp3_amd64.udeb
  to pool/main/g/glibc/libc6_2.6-0exp3_amd64.deb
  to pool/main/g/glibc/libnss-dns-udeb_2.6-0exp3_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.6-0exp3_amd64.udeb
  to pool/main/g/glibc/locales-all_2.6-0exp3_amd64.deb
  to pool/main/g/glibc/locales_2.6-0exp3_all.deb
  to pool/main/g/glibc/nscd_2.6-0exp3_amd64.deb

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

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 428884@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Pierre Habouzit <madcoder@debian.org> (supplier of updated glibc 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Sun, 17 Jun 2007 17:18:49 +0100
Source: glibc
Binary: libc0.1-prof libc6-dev-amd64 locales-all libc6-i686 libc6-dev-ppc64 libc0.3-pic glibc-doc libc0.3 libc6-dev-mipsn32 libc0.1-i686 libc0.1-i386 libc6-mips64 libc6.1-dev libc6-s390x libnss-files-udeb libc0.1-dev-i386 libc6-dev-sparc64 libc6-i386 libc0.3-dev libc6-udeb libc6-dbg libc6.1-pic libc6-dev libc0.3-prof libc6-sparcv9 libc0.1-udeb libc6-dev-i386 libc6.1-prof libc6-mipsn32 libc0.1-dev locales libc6-pic libc0.3-udeb libc6-dev-powerpc libc0.1-pic libc6-ppc64 libc0.3-dbg libc0.1-dbg libc6-amd64 libc0.1 libc6-prof libc6-xen libc6-dev-mips64 libc6-powerpc libc6 libc6-sparcv9b libc6.1-udeb libc6.1-dbg nscd libc6-sparc64 libnss-dns-udeb libc6.1 libc6-dev-s390x
Architecture: source amd64 all
Version: 2.6-0exp3
Distribution: experimental
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Pierre Habouzit <madcoder@debian.org>
 glibc-doc  - GNU C Library: Documentation
 libc6      - GNU C Library: Shared libraries
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc6-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
 locales    - GNU C Library: National Language (locale) data [support]
 locales-all - GNU C Library: Precompiled locale data
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 428884
 glibc (2.6-0exp3) experimental; urgency=low
   [ Pierre Habouzit ]
   [ Clint Adams]
   * New upstream version.
    - Remove locale/iso3166-RS.diff (obsolete).
    - Remove locale/fix-exhausted-memory.diff (merged upstream).
    - Update locale/LC_COLLATE-keywords-ordering.diff.
    - Remove localedata/locale-hy_AM.diff (obsolete).
    - Remove localedata/locale-pl_PL.diff (merged upstream).
    - Remove localedata/locales-sr.diff (obsolete).
    - Update localedata/tailor-iso14651_t1.diff.
    - Update localedata/first_weekday.diff.
    - Remove alpha/cvs-cfi.diff (merged upstream).
    - Remove arm/cvs-check_pf.c (merged upstream).
    - Remove hppa/cvs-hppa-update.diff (obsolete).
    - Update hppa/submitted-nptl-carlos.diff from "upstream".
    - Remove hppa/submitted-nptl-carlos2.diff (merged upstream).
    - Remove hppa/local-r19use.diff (merged upstream).
    - Remove hurd-i386/cvs-futimes.diff (merged upstream).
    - Remove m68k/cvs-m68k-update.diff (obsolete).
    - Update m68k/local-mathinline_h.diff.
    - Remove mips/cvs-ldsodefs_h.diff (merged upstream).
    - Remove mips/submitted-msq.diff (merged upstream).
    - Remove all/cvs-iconv-E13B.diff (obsolete).
    - Remove all/submitted-new-brf-encoding.diff (merged upstream).
    - Remove any/cvs-2.5-branch-update.diff (obsolete).
    - Remove any/cvs-pow.diff (obsolete).
    - Remove any/cvs-printf_fp-c.diff (obsolete).
    - Remove any/cvs-ftw-c.diff (obsolete).
    - Remove any/cvs-bits_in_h-ipv6.diff (obsolete).
    - Remove any/cvs-itoa-c.diff (obsolete).
    - Remove any/cvs-lt-update.diff (obsolete).
    - Remove any/cvs-realpath.diff (obsolete).
    - Remove any/cvs-vfprintf-stack-smashing.diff (obsolete).
    - Remove any/cvs-zdump-64-bit.diff (obsolete).
    - Update any/local-ldso-disable-hwcap.diff.
    - Remove any/submitted-gethostbyname_r.diff (obsolete).
    - Remove any/submitted-iconv-colon.diff (merged upstream).
    - Update any/submitted-strfry.diff.
    - Remove any/submitted-unistd_XOPEN_VERSION.diff (obsolete).
    - Remove any/cvs-glob-c.diff (obsolete).
    - Remove any/cvs-scanf_hexfloat.diff (obsolete).
    - Remove alpha/submitted-sigsuspend.diff (merged upstream).
   * debian/sysdeps/depflags.pl: Clean out relationships for packages
     that do not exist in sarge or later.
   * debian/debhelper.in/libc.install: do not hardcode the glibc
     version number in the path to gai.conf.
   * debian/control.in/main, debian/sysdeps/depflags.pl:
     use linux-libc-dev on all linux architectures, and
     remove all references to linux-kernel-headers.
   * Bump shlibdeps version to 2.6-1 due to sync_file_range, futimens,
     utimensat, __sched_cpucount, sched_getcpu, strerror_l, and
     epoll_pwait symbols.
   * debian/rules.d/build.mk: pass --enable-profile to configure.
   [ Aurelien Jarno ]
   * patches/sparc/local-undefined-registers.diff: new file to ignore
     global registers while looking for undefined symbols.
   * debian/script.in/kernelcheck.sh: add a warning for FreeBSD kernels
   * local/etc_init.d/glibc.sh, debhelper.in/libc.preinst: don't check for
     linux kernel, it is now done in script.in/kernelcheck.sh.
   * patches/any/cvs-malloc.diff: new patch from upstream to fix malloc ABI.
   * patches/any/local-linuxthreads-lowlevellock.diff: new patch to support
     low level locking on linuxthreads.
   * patches/any/local-linuxthreads-fatalprepare.diff: new patch to support
     FATAL_PREPARE on linuxthreads, by not using __libc_pthread_functions_init
     and PTHFCT_CALL.
   * patches/hppa/local-linuxthreads.diff: new patch to get glibc buildable on
     hppa with linuxthreads.
   * patches/arm/submitted-RTLD_SINGLE_THREAD_P.diff: fix a missing #defined
     on arm.
   * patches/localedata/submitted-as_IN.diff: new patch to fix a not anymore
     unassigned unicode code.
   [ Petr Salinger]
   * kfreebsd/local-sysdeps.diff: update to revision 1949 (from glibc-bsd).
   * any/local-linuxthreads-defines.diff: new patch to restore a few defines
     in config.make.in still needed by linuxthreads.
   * patches/local-tst-mktime2.diff: fix time/tst-mktime2.c.
   [ Pierre Habouzit ]
   * kernelchecks.sh: Make the warning about kernel 2.6 more explicit so that
     people can deal with it without adding yet-another critical bug on the
   * kernelchecks.sh: add some quotes to unconfuse syntax hilighting a bit.
   * nscd.init: ksh is confused if you call functions start or stop.
     Closes: 428884.
   * patches/locale/preprocessor-collate.diff: update it to work (with
     restrictions) with depth >= 2 copies.
 bd774b826c55e5ac80431df651ce8e4f 2236 libs required glibc_2.6-0exp3.dsc
 feaa1b96a3d4c2f7d689844080b1d376 26729850 libs required glibc_2.6-0exp3.tar.gz
 4458507033a2d182694fa84313ccb890 1628236 doc optional glibc-doc_2.6-0exp3_all.deb
 bdf14d6975562b0b6973f88033497a07 4385908 libs standard locales_2.6-0exp3_all.deb
 aa0f455839ac617ee711b83140cf97ab 4822150 libs required libc6_2.6-0exp3_amd64.deb
 4da334e60325b2b100d964957653a4fa 2474506 libdevel optional libc6-dev_2.6-0exp3_amd64.deb
 aa6db05f4994f22b534f31fc6b40698b 1915294 libdevel extra libc6-prof_2.6-0exp3_amd64.deb
 a8df5610b64475aa6c47319f7405149b 1464190 libdevel optional libc6-pic_2.6-0exp3_amd64.deb
 d70ff8d600b8f291cbf837b0b0f9839b 2527222 libs extra locales-all_2.6-0exp3_amd64.deb
 3da20eb18cbada48aa389705a93c94aa 3655636 libs optional libc6-i386_2.6-0exp3_amd64.deb
 3c7c70d5be9f8818e9622c48542ba166 1865444 libdevel optional libc6-dev-i386_2.6-0exp3_amd64.deb
 25f1e91ba20b1774411f68b466af005c 160938 admin optional nscd_2.6-0exp3_amd64.deb
 9f60f3ef47f0b02df8d8371a21ce0cb0 5100604 libdevel extra libc6-dbg_2.6-0exp3_amd64.deb
 e2973ab1b00eea87d137c063d56e4885 1110760 debian-installer extra libc6-udeb_2.6-0exp3_amd64.udeb
 98bd0f96fa558904684513f91a4cb025 9514 debian-installer extra libnss-dns-udeb_2.6-0exp3_amd64.udeb
 fc5cf9d7f34cbabc7d098b811b6cde36 17984 debian-installer extra libnss-files-udeb_2.6-0exp3_amd64.udeb
Package-Type: udeb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: