FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-26-2008, 08:11 PM
Marko Randjelovic
 
Default dbus - configure error - i386

I setup i386 etch chroot on amd64 etch using debootstrap and installed
build-essential with no problem. I need dbus to satisfy buld-dep for pidgin. But
threre is problem in configure step.


main:/# apt-get install dbus
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libdbus-1-3 libexpat1 libice6 libsm6 libx11-6 libx11-data libxau6 libxdmcp6
x11-common
The following NEW packages will be installed:
dbus libdbus-1-3 libexpat1 libice6 libsm6 libx11-6 libx11-data libxau6
libxdmcp6 x11-common
0 upgraded, 10 newly installed, 0 to remove and 3 not upgraded.
Need to get 1823kB of archives.
After unpacking 5636kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ftp.de.debian.org etch/main x11-common 1:7.1.0-19 [338kB]
Get:2 http://security.debian.org etch/updates/main libdbus-1-3 1.0.2-1+etch1 [269kB]
Get:3 http://security.debian.org etch/updates/main dbus 1.0.2-1+etch1 [351kB]
Get:4 http://ftp.de.debian.org etch/main libxau6 1:1.0.1-2 [6986B]
Get:5 http://ftp.de.debian.org etch/main libxdmcp6 1:1.0.1-2 [10.7kB]
Get:6 http://ftp.de.debian.org etch/main libx11-data 2:1.0.3-7 [157kB]
Get:7 http://ftp.de.debian.org etch/main libx11-6 2:1.0.3-7 [567kB]
Get:8 http://ftp.de.debian.org etch/main libexpat1 1.95.8-3.4 [62.9kB]
Get:9 http://ftp.de.debian.org etch/main libice6 1:1.0.1-2 [42.6kB]
Get:10 http://ftp.de.debian.org etch/main libsm6 1:1.0.1-3 [18.0kB]
Fetched 1823kB in 1m4s (28.4kB/s)
Preconfiguring packages ...
Selecting previously deselected package x11-common.
(Reading database ... 13010 files and directories currently installed.)
Unpacking x11-common (from .../x11-common_1%3a7.1.0-19_i386.deb) ...
Selecting previously deselected package libxau6.
Unpacking libxau6 (from .../libxau6_1%3a1.0.1-2_i386.deb) ...
Selecting previously deselected package libxdmcp6.
Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.0.1-2_i386.deb) ...
Setting up x11-common (7.1.0-19) ...

Selecting previously deselected package libx11-data.
(Reading database ... 13055 files and directories currently installed.)
Unpacking libx11-data (from .../libx11-data_2%3a1.0.3-7_all.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_2%3a1.0.3-7_i386.deb) ...
Selecting previously deselected package libdbus-1-3.
Unpacking libdbus-1-3 (from .../libdbus-1-3_1.0.2-1+etch1_i386.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_1.95.8-3.4_i386.deb) ...
Selecting previously deselected package libice6.
Unpacking libice6 (from .../libice6_1%3a1.0.1-2_i386.deb) ...
Selecting previously deselected package libsm6.
Unpacking libsm6 (from .../libsm6_1%3a1.0.1-3_i386.deb) ...
Selecting previously deselected package dbus.
Unpacking dbus (from .../dbus_1.0.2-1+etch1_i386.deb) ...
Setting up libxau6 (1.0.1-2) ...

Setting up libxdmcp6 (1.0.1-2) ...

Setting up libx11-data (1.0.3-7) ...
Setting up libx11-6 (1.0.3-7) ...

Setting up libdbus-1-3 (1.0.2-1+etch1) ...

Setting up libexpat1 (1.95.8-3.4) ...

Setting up libice6 (1.0.1-2) ...

Setting up libsm6 (1.0.1-3) ...

Setting up dbus (1.0.2-1+etch1) ...
Adding group `messagebus' (GID 102) ...
Done.
Adding system user `messagebus' (UID 100) ...
Adding new user `messagebus' (UID 100) with group `messagebus' ...
Not creating home directory `/var/run/dbus'.
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)


I setup amd64 chroot and all goes well. In fact, it shows all messages as on
i386, but not error messages at the end.

Setting up dbus (1.0.2-1+etch1) ...
Adding group `messagebus' (GID 102) ...
Done.
Adding system user `messagebus' (UID 100) ...
Adding new user `messagebus' (UID 100) with group `messagebus' ...
Not creating home directory `/var/run/dbus'.


This is `dpkg -l dbus` on amd64 chroot:


ii dbus 1.0.2-1+etch1 simple
interprocess messaging system


On i386:


iF dbus 1.0.2-1+etch1 simple
interprocess messaging system


There is more extra packages on i386:


libdbus-1-3 libexpat1 libice6 libsm6 libx11-6 libx11-data libxau6 libxdmcp6
x11-common


then on amd64


libdbus-1-3 libexpat1 libx11-6 libx11-data libxau6 libxdmcp6 x11-common


So, why is this happening and how to resolve it?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-27-2008, 07:00 PM
Florian Kulzer
 
Default dbus - configure error - i386

On Sat, Jul 26, 2008 at 22:11:34 +0200, Marko Randjelovic wrote:
> I setup i386 etch chroot on amd64 etch using debootstrap and installed
> build-essential with no problem. I need dbus to satisfy buld-dep for pidgin. But
> threre is problem in configure step.

[...]

> Setting up dbus (1.0.2-1+etch1) ...
> Adding group `messagebus' (GID 102) ...
> Done.
> Adding system user `messagebus' (UID 100) ...
> Adding new user `messagebus' (UID 100) with group `messagebus' ...
> Not creating home directory `/var/run/dbus'.
> 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)

When I start dbus it accesses /selinux (which is an empty directory on
my system) and /etc/selinux/config (which was generated by the package
policycoreutils AFAIK). You could check for differences related to those
files between the working and the broken chroot.

The best approach is probably to forbid restarting system services
entirely within the chroot. You can do this by generating the file
/usr/sbin/policy-rc.d (in the chroot) with these three lines:

#!/bin/sh
echo "===== rc.d operations blocked by /usr/sbin/policy-rc.d =====" >&2
exit 101

You have to make this script executable, i.e.

ls -l /usr/sbin/policy-rc.d
-rwxr-xr-x 1 root root 209 2008-05-09 09:36 /usr/sbin/policy-rc.d

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 09:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org