Bug#298913: locales: option to locale-gen to avoid regenerating existing locales?

2005-12-29 Thread Phil Blundell
tags 298913 + pending
thanks

On Thu, 2005-03-10 at 17:16 +, Colin Watson wrote:
 Attached is a patch that implements a --keep-existing flag, with
 documentation. It relies on perl-base to figure out whether the locale
 exists, but perl-base is Essential so that should be OK. Run 'make' in
 debian/local/manpages/ after applying it.

Looks good to me.  I've checked this in.  Thanks.

p.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#298913: locales: option to locale-gen to avoid regenerating existing locales?

2005-12-29 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tags 298913 + pending
Bug#298913: locales: option to locale-gen to avoid regenerating existing 
locales?
Tags were: patch
Tags added: pending

 thanks
Stopping processing here.

Please contact me if you need assistance.

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: your mail

2005-12-29 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 severity 185485 normal
Bug#185485: telnet: resolving ip in decimal form stopped working
Severity set to `normal'.

 merge 185485 183814
Bug#183814: libc6: getaddrinfo can't parse all forms of numeric ip addresses
Bug#185485: telnet: resolving ip in decimal form stopped working
Merged 183814 185485.

 thanks
Stopping processing here.

Please contact me if you need assistance.

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



r1083 - in glibc-package/trunk/debian: . debhelper.in local/manpages local/usr_sbin

2005-12-29 Thread Philip Blundell
Author: pb
Date: 2005-12-29 13:05:26 + (Thu, 29 Dec 2005)
New Revision: 1083

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/debhelper.in/libc.postinst
   glibc-package/trunk/debian/local/manpages/locale-gen.8.sgml
   glibc-package/trunk/debian/local/usr_sbin/locale-gen
Log:
  * Apply patch from Colin Watson to add --keep-existing option to
locale-gen.  (Closes: #298913)
  * Also restart exim4 on upgrade.  (Closes: #326554)



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2005-12-28 23:47:05 UTC (rev 
1082)
+++ glibc-package/trunk/debian/changelog2005-12-29 13:05:26 UTC (rev 
1083)
@@ -24,6 +24,9 @@
 request of Joey Hess.  (Closes: #344954)
   * sysdeps/hppa.mk: Add new /usr/hppa64-linux-gnu/include symlink, per
 request of Matthias Klose.  (Closes: #326583)
+  * Apply patch from Colin Watson to add --keep-existing option to
+locale-gen.  (Closes: #298913)
+  * Also restart exim4 on upgrade.  (Closes: #326554)
 
   [ Clint Adams ]
   * Steal glibc-235-sparc-datastart.dpatch from Ubuntu.

Modified: glibc-package/trunk/debian/debhelper.in/libc.postinst
===
--- glibc-package/trunk/debian/debhelper.in/libc.postinst   2005-12-28 
23:47:05 UTC (rev 1082)
+++ glibc-package/trunk/debian/debhelper.in/libc.postinst   2005-12-29 
13:05:26 UTC (rev 1083)
@@ -264,7 +264,7 @@
if dpkg --compare-versions $preversion lt 2.3.5-1; then
echo -n Checking for services that may need to be restarted...
 
-   check=nis smail sendmail exim ssh netbase
+   check=nis smail sendmail exim exim4-base ssh netbase
check=$check ssh-nonfree postfix-tls wu-ftpd boa cron postfix
check=$check wu-ftpd-academ vsftpd slapd openldapd wwwoffle
check=$check cupsys lprng lpr lpr-ppd autofs snmpd ssh-krb5
@@ -277,6 +277,9 @@
# apache2 ships its init script in apache2-common, but the
# script is apache2
check=$(echo $check | sed 's/apache2-common/apache2/g')
+   # exim4 ships its init script in exim4-base, but the script
+   # is exim4
+   check=$(echo $check | sed 's/exim4-base/exim4/g')
# The name of proftpd-{ldap,mysql,pgsql} init script is
# same as proftpd.
check=$(echo $check | sed 's/proftpd-.*/proftpd/g')

Modified: glibc-package/trunk/debian/local/manpages/locale-gen.8.sgml
===
--- glibc-package/trunk/debian/local/manpages/locale-gen.8.sgml 2005-12-28 
23:47:05 UTC (rev 1082)
+++ glibc-package/trunk/debian/local/manpages/locale-gen.8.sgml 2005-12-29 
13:05:26 UTC (rev 1083)
@@ -13,7 +13,7 @@
   !ENTITY dhfirstname firstnameEduard/firstname
   !ENTITY dhsurname   surnameBloch/surname
   !-- Please adjust the date whenever revising the manpage. --
-  !ENTITY dhdate  dateJuly  27, 2001/date
+  !ENTITY dhdate  dateMarch 10, 2005/date
   !-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). --
   !ENTITY dhsection   manvolnum8/manvolnum
@@ -54,6 +54,7 @@
   refsynopsisdiv
 cmdsynopsis
   commanddhpackage;/command
+  argoption--keep-existing/option/arg
 
 /cmdsynopsis
   /refsynopsisdiv
@@ -80,6 +81,24 @@
 
   /refsect1
   refsect1
+titleOPTIONS/title
+
+variablelist
+  varlistentry
+termoption--keep-existing/option/term
+listitem
+  paraBy default, commanddhpackage;/command removes all
+  existing locales and generates new ones afresh. The
+  option--keep-existing/option option prevents this, so that
+  only locales which do not already exist are generated. This is
+  useful if calling locale-gen a number of times in
+  succession./para
+/listitem
+  /varlistentry
+/variablelist
+
+  /refsect1
+  refsect1
 titleFILES/title
 
 parafilename/etc/locale.gen/filename/para

Modified: glibc-package/trunk/debian/local/usr_sbin/locale-gen
===
--- glibc-package/trunk/debian/local/usr_sbin/locale-gen2005-12-28 
23:47:05 UTC (rev 1082)
+++ glibc-package/trunk/debian/local/usr_sbin/locale-gen2005-12-29 
13:05:26 UTC (rev 1083)
@@ -11,10 +11,17 @@
 
 [ -f $LOCALEGEN -a -s $LOCALEGEN ] || exit 0;
 
-# Remove all old locale dir and locale-archive before generating new
-# locale data.
-rm -rf /usr/lib/locale/* || true
+KEEP=
+if [ $1 = '--keep-existing' ]; then
+   KEEP=1
+fi
 
+if [ -z $KEEP ]; then
+   # Remove all old locale dir and locale-archive before generating new
+   # locale data.
+   rm -rf /usr/lib/locale/* || true
+fi
+
 umask 022
 
 is_entry_ok() {
@@ -30,6 +37,10 @@
 while read locale charset; do \
case 

Bug#345168: Sarge version of nscd is completely broken (Fails to cache any entry)

2005-12-29 Thread Laurent Caron
Package: nscd
Version: 2.3.2.ds1-22
Severity: critical
Justification: breaks unrelated software


I'm using nscd (sarge version) with LDAP, and it is  not working.

Attaching to it with strace -p $PID shows no activity while doing a
simple ls -al /home with a few directories in /home, making constant
LDAP lookups.

Upgrading nscd to the one in sid solves the problem..



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.15-rc7-dell520
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages nscd depends on:
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#326791: install of libc6 wants to remove all kernels

2005-12-29 Thread Phil Blundell
On Mon, 2005-09-05 at 21:10 +0200, Wolfgang Leister wrote:
 As you can see from the example the install tries to uninstall
 initrd-tools and all installed kernels. This makes that I cannot upgrade
 some other packages that depend on a newer version of libc6.

This is caused by libc6's Conflict with older versions of initrd-tools.
If you upgrade initrd-tools before libc6 then the problem should go
away.

I'm not sure if there is anything we can do in libc6 to make this
situation work better (for example, by encouraging apt to upgrade
initrd-tools rather than removing it).  Any suggestions would be
welcome.

p.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#264887: GLOB_APPEND ignored by glob() in at least one place

2005-12-29 Thread Phil Blundell
On Tue, 2004-08-10 at 14:41 -0500, Jeff Licquia wrote:
 When the GLOB_APPEND flag is passed to glob(), the call is supposed to
 tack new results on to the ones already represented in the glob_t passed
 in.  If there is an error, partial results may be added, but the
 original glob_t should definitely be left alone.
 
 This is not respected in at least one part of glibc's glob
 implementation.  In this particular place, globfree() is called on the
 glob_t regardless of the flags passed.  Since glob() is implemented
 recursively with GLOB_APPEND added to the flags, this can affect the
 results returned even from a call where GLOB_APPEND is not set.
 
 The following patch fixes the one instance of this behavior I found.

Thanks for the patch.  Do you have a testcase that demonstrates the
effect of the bug?

p.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#214898: Bug#133578: gdm: default locale setting

2005-12-29 Thread Phil Blundell
On Fri, Apr 16, 2004 at 09:13:42PM -0700, Ryan Murray wrote:
  Just to make it clear to everyone involved -- #133578 is waiting for #214898
  to be fixed in glibc.  I'm not going to parse/use a tool to read the PAM
  configuration file /etc/environment.  That config file is for setting up
  the _login_ environment, not the system boot environment.

I see that #133578 has been closed now.  Does this mean that the
requirement for #214898 has gone away, and this bug can also be closed?

p.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#344563: sort of solved the same problem

2005-12-29 Thread Arjan Oosting
Hi,

I noticed nscd was not running on my machine either (after upgrade from
sarge to etch), and when I started it manually I got the same error. 
After I deleted the deleted the databases in /var/db/nscd/ and started
nscd the problem was gone.

Greetings Arjan Oosting


signature.asc
Description: This is a digitally signed message part


Processing of glibc_2.3.5-10_sparc.changes

2005-12-29 Thread Archive Administrator
glibc_2.3.5-10_sparc.changes uploaded successfully to localhost
along with the files:
  glibc_2.3.5-10.dsc
  glibc_2.3.5-10.diff.gz
  libc6_2.3.5-10_sparc.deb
  libc6-dev_2.3.5-10_sparc.deb
  libc6-prof_2.3.5-10_sparc.deb
  libc6-pic_2.3.5-10_sparc.deb
  libc6-sparc64_2.3.5-10_sparc.deb
  libc6-sparcv9_2.3.5-10_sparc.deb
  libc6-sparcv9b_2.3.5-10_sparc.deb
  libc6-dev-sparc64_2.3.5-10_sparc.deb
  nscd_2.3.5-10_sparc.deb
  libc6-dbg_2.3.5-10_sparc.deb
  libc6-udeb_2.3.5-10_sparc.udeb
  libnss-dns-udeb_2.3.5-10_sparc.udeb
  libnss-files-udeb_2.3.5-10_sparc.udeb
  glibc-doc_2.3.5-10_all.deb
  locales_2.3.5-10_all.deb

Greetings,

Your Debian queue daemon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



glibc override disparity

2005-12-29 Thread Debian Installer
There are disparities between your recently accepted upload and the
override file for the following file(s):

libc6-sparc64_2.3.5-10_sparc.deb: package says priority is required, override 
says standard.

Either the package or the override file is incorrect.  If you think
the override is correct and the package wrong please fix the package
so that this disparity is fixed in the next upload.  If you feel the
override is incorrect then please reply to this mail and explain why.

[NB: this is an automatically generated mail; if you replied to one
like it before and have not received a response yet, please ignore
this mail.  Your reply needs to be processed by a human and will be in
due course, but until then the installer will send these automated
mails; sorry.]

--
Debian distribution maintenance software

(This message was generated automatically; if you believe that there
is a problem with it please contact the archive administrators by
mailing [EMAIL PROTECTED])


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]