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

Bug#520523: Extra singles quotes on s-s-d's chdir("<caller cwd>")



reassign 520523 dpkg
thanks

On Fri, Mar 20, 2009 at 05:36:20PM +0100, Guillaume wrote:
> 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...
> 

Clearly not a glibc bug, reassigning the bug.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: