[Pkg-utopia-maintainers] Bug#431101: dbus: init script fails with	confusing message when /proc is not mounted
    Frédéric Brière 
    fbriere at fbriere.net
       
    Fri Jun 29 18:34:26 UTC 2007
    
    
  
Package: dbus
Version: 1.1.1-3
Severity: normal
In trying to build, within a chrooted lenny, a C# package that
indirectly build-deps on dbus, I stumbled upon this:
  Setting up dbus (1.1.1-1) ...
  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
Turns out that dbus is looking into /proc as a last resort (which was
not mounted within the chroot), and this error message is merely the
ENOENT of the last attempt:
  13396 open("/etc/selinux/config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
  13396 statfs64("/selinux", 84, 0xbfc498a0) = -1 ENOENT (No such file or directory)
  13396 open("/proc/mounts", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
  13396 open("/proc/filesystems", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
  13396 write(2, "Could not tell if SELinux is ena"..., 64) = 64
It would be nice if dbus could either survive when /proc is not mounted
(as it did in etch), or failing that, if it could issue an error message
to that effect.
-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-1-k7 (SMP w/1 CPU core)
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages dbus depends on:
ii  adduser                       3.103      Add and remove users and groups
ii  dbus-x11                      1.1.1-3    simple interprocess messaging syst
ii  debianutils                   2.21.3     Miscellaneous utilities specific t
ii  libc6                         2.5-11     GNU C Library: Shared libraries
ii  libdbus-1-3                   1.1.1-3    simple interprocess messaging syst
ii  libexpat1                     1.95.8-3.4 XML parsing C library - runtime li
ii  libselinux1                   2.0.15-2   SELinux shared libraries
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip
dbus recommends no packages.
-- no debconf information
    
    
More information about the Pkg-utopia-maintainers
mailing list