Your message dated Mon, 13 Feb 2012 18:32:38 +0000
with message-id <[email protected]>
and subject line Re: Bug#634475: adduser --system in maintainer scripts
has caused the Debian Bug report #634475,
regarding dbus: Fails to install if messagebus user already present.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
634475: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634475
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dbus
Version: 1.4.12-4
Severity: normal
I did a routine apt-get upgrade, and found that dbus failed to install.
Setting up dbus (1.4.12-4) ...
adduser: The user `messagebus' already exists. Exiting.
dpkg: error processing dbus (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of udisks:
udisks depends on dbus; however:
Package dbus is not configured yet.
dpkg: error processing udisks (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dbus-x11:
dbus-x11 depends on dbus; however:
Package dbus is not configured yet.
dpkg: error processing dbus-x11 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of avahi-daemon:
avahi-daemon depends on dbus (>= 0.60); however:
Package dbus is not configured yet.
dpkg: error processing avahi-daemon (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
dbus
udisks
dbus-x11
I `fixed' it by killing the dbus daemon, deleting the messagebus user
and group, and running dpkg --configure -a
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages dbus depends on:
ii adduser 3.113 add and remove users and groups
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii libdbus-1-3 1.4.12-4 simple interprocess messaging syst
ii libexpat1 2.0.1-7 XML parsing C library - runtime li
ii libselinux1 2.0.98-1.1 SELinux runtime shared libraries
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
dbus recommends no packages.
Versions of packages dbus suggests:
iu dbus-x11 1.4.12-4 simple interprocess messaging syst
-- no debconf information
--- End Message ---
--- Begin Message ---
On Sun, 24 Jul 2011 at 14:31:03 +0100, Stephen Gran wrote:
> This one time, at band camp, Simon McVittie said:
> > We use adduser --system --quiet in the dbus package without checking for
> > existence of the user first, as recommended here. However, bug #634475
> > reveals that if the messagebus user is present, but is not in the system UID
> > range, this will make the upgrade fail.
>
> I think it's best to fail in such a way
> that it forces the admin to deal with it.
[...]
> I think for this specific one, a change in local policy made the account
> no longer correct, so again, I think adduser is behaving correctly here.
Based on this, I'm considering this to be "not a bug" in dbus either;
please renumber the messagebus user locally, to get it into the range
you've configured for system users (or alternatively reconfigure adduser
so messagebus is in a valid range for system users again).
messagebus owns /var/run/dbus and is the group-ID of
/usr/lib/dbus-1.0/dbus-daemon-launch-helper, but shouldn't own any other files.
Regards,
S
--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-utopia-maintainers