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

Bug#626066: Private locale was broken



A bit of stracing reveals that the shell issuing the message is being executed like this:

26581 execve("/bin/sh", ["sh", "-c", "lexgrog \\/tmp\\/OwbtgWC2Nv\\/pool\\/r\\/rsbackup\\/rsbackup_0\\.3\\.DEV_amd64_binary\\/unpacked\\/usr\\/share\\/man\\/man1\\/rsbackup\\-mount\\.1\\.gz 2>&1"], ["LOCPATH=/var/lib/lintian/locale", "PATH=/usr/lib/ccache:/usr/local/sbin:/usr/sbin:/sbin:/home/richard/bin:/usr/local/bin:/usr/bin:/bin:/usr/games", "LC_ALL=en_US.UTF-8"]) = 0

LOCPATH seems to be the key thing:

richard@araminta:~/src/3rd/lintian$ LC_ALL=en_US.UTF-8 /bin/sh -c true
richard@araminta:~/src/3rd/lintian$ LOCPATH=/var/lib/lintian/locale LC_ALL=en_US.UTF-8 /bin/sh -c true
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

I purged and reinstalled lintian, which regenerated the private locale, and it now seems to be behaving. So the bug was presumably in the generation of the private locale.

ttfn/rjk



Reply to: