[Pkg-utopia-maintainers] Bug#447363: Fails to install when /proc is not mounted (SELinux check fails)

Martin Michlmayr tbm at cyrius.com
Sat Oct 20 14:00:48 UTC 2007


Package: dbus
Version: 1.1.1-3
Severity: important

dbus fails to install when /proc is not mounted because the SELinux
check fails.  See transcript below.


14439:tbm at em64t: ~/build] sudo chroot test /bin/sh
sh-3.1# apt-get install dbus
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  adduser dbus-x11
The following NEW packages will be installed:
  adduser dbus dbus-x11
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 443kB of archives.
After unpacking 1671kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.osuosl.org unstable/main adduser 3.105 [174kB]
Get:2 http://ftp.osuosl.org unstable/main dbus-x11 1.1.1-3 [48.1kB]
Get:3 http://ftp.osuosl.org unstable/main dbus 1.1.1-3 [221kB]
Fetched 443kB in 0s (483kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en_GB:en",
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package adduser.
(Reading database ... 18856 files and directories currently installed.)
Unpacking adduser (from .../archives/adduser_3.105_all.deb) ...
Selecting previously deselected package dbus-x11.
Unpacking dbus-x11 (from .../dbus-x11_1.1.1-3_amd64.deb) ...
Selecting previously deselected package dbus.
Unpacking dbus (from .../dbus_1.1.1-3_amd64.deb) ...
Setting up adduser (3.105) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en_GB:en",
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up dbus-x11 (1.1.1-3) ...
Setting up dbus (1.1.1-3) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en_GB:en",
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Adding group `messagebus' (GID 101) ...
Done.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en_GB:en",
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Adding system user `messagebus' (UID 100) ...
Adding new user `messagebus' (UID 100) with group `messagebus' ...
Not creating home directory `/var/run/dbus'.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en_GB:en",
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Starting system message bus: dbusCould not tell if SELinux is enabled: No such file or directory
SELinux pre-initialization failed
invoke-rc.d: initscript dbus, action "start" failed.
dpkg: error processing dbus (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 dbus
E: Sub-process /usr/bin/dpkg returned an error code (1)
sh-3.1# apt-get install dbus
Reading package lists... Done
Building dependency tree
Reading state information... Done
dbus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en_GB:en",
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up dbus (1.1.1-3) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en_GB:en",
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Starting system message bus: dbusCould not tell if SELinux is enabled: No such file or directory
SELinux pre-initialization failed
invoke-rc.d: initscript dbus, action "start" failed.
dpkg: error processing dbus (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 dbus
E: Sub-process /usr/bin/dpkg returned an error code (1)
sh-3.1# sudo mount -t proc none /proc
sh-3.1# apt-get install dbus
Reading package lists... Done
Building dependency tree
Reading state information... Done
dbus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en_GB:en",
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up dbus (1.1.1-3) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en_GB:en",
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Starting system message bus: dbus.
sh-3.1#

-- 
Martin Michlmayr
http://www.cyrius.com/





More information about the Pkg-utopia-maintainers mailing list