Bug#520523: Extra singles quotes on s-s-d's chdir("<caller cwd>")
Package: libc6
Version: 2.9-6
Severity: normal
Since this morning's libc6 upgrade to 2.9.6, s-s-d tries to chroot to "'<path>'" (instead of "<path>", adding extra simple quotes to <path>.
/sbin/start-stop-daemon: Unable to chdir() to '<caller process's cwd>' (No such file or directory)
The above occurs when calling initscripts (invoke-rc.d or /etc/init.d/xxx)
Not too sure this is a glibc bug...
Here's strace excerpt :
7685 chdir("'/home/people/gougou'") = -1 ENOENT (No such file or directory)
7685 write(2, "/sbin/start-stop-daemon: ", 25) = 25
7685 write(2, "Unable to chdir() to '/home/peop"..., 42) = 42
7685 write(2, " (No such file or directory)\n", 29) = 29
Took me time to figure about the extra simple quotes.
Tried to force locale to freshly generated en_GB, no luck...
Thanks
G
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.28-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6 depends on:
ii libgcc1 1:4.3.3-5 GCC support library
libc6 recommends no packages.
Versions of packages libc6 suggests:
pn glibc-doc <none> (no description available)
ii libc6-i686 2.9-6 GNU C Library: Shared libraries [i
ii locales 2.9-6 GNU C Library: National Language (
-- debconf information:
* glibc/upgrade: true
glibc/disable-screensaver:
glibc/restart-failed:
* glibc/restart-services: rsync openbsd-inetd lpd exim4 cups cron atd
Reply to: