[Pkg-sysvinit-devel] Bug#549279: initscripts: mountall.sh uses locale before mounting /usr

Piotr Engelking inkerman42 at gmail.com
Fri Oct 2 01:26:17 UTC 2009


Package: initscripts
Version: 2.87dsf-6
Severity: normal

/etc/init.d/mountall.sh (why the useless .sh suffix?) sets locale before
mounting local filesystems for the supposed benefit of the mount command.
This, however, doesn't work correctly since locale definitions are located
in /usr, which is mounted by the very same command that is supposed to use
it.

Please call mount twice, instead:

1. mount /usr
2. set locale
3. mount the filesystems that need working locale

Also, please export LC_CTYPE and LC_ALL in addition to LANG.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (300, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.30 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  coreutils                     7.4-2      The GNU core utilities
ii  debianutils                   3.2.1      Miscellaneous utilities specific t
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  mount                         2.16.1-3   Tools for mounting and manipulatin
ii  sysv-rc                       2.87dsf-6  System-V-like runlevel change mech
ii  sysvinit-utils                2.87dsf-6  System-V-like utilities

Versions of packages initscripts recommends:
ii  e2fsprogs                     1.41.9-1   ext2/ext3/ext4 file system utiliti
ii  psmisc                        22.8-1     utilities that use the proc file s

initscripts suggests no packages.

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list