Bug 3915

Summary: rpm-helper fails to create users during installation because /usr/sbin/useradd missing
Product: Mageia Reporter: Frederik Himpe <fhimpe>
Component: RPM PackagesAssignee: Olivier Thauvin <nanardon>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Normal CC: tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: rpm-helper CVE:
Status comment:

Description Frederik Himpe 2011-12-29 19:11:58 CET
I did a fresh installation of Cauldron, and noticed that the system would hang while booting after the installation.

It appears that no messagebus user was created, and this caused the dbus message service or systemd to hang.

install.log contains this:

lib64dbus-1_3-1.4.16-1.mga2.x86_64
rpm-helper-0.24.5-1.mga2.noarch
/usr/share/rpm-helper/add-user: line 25: /usr/sbin/useradd: No such file or directory
group messagebus does not exist - using root
dbus-1.4.16-1.mga2.x86_64

so dbus correctly requires rpm-helper, which is installed before dbus is installed, but then the command /usr/sbin/useradd is not there. rpm-helper should require this.
Comment 1 Frederik Himpe 2011-12-29 20:16:19 CET
Full install.log is in attachment #1302 [details]: https://bugs.mageia.org/attachment.cgi?id=1302

shadow-utils is installed in the same transaction, but after rpm-helper.
Comment 2 Thomas Backlund 2011-12-29 21:51:14 CET
Fixed in rpm-helper-0.24.5-2.mga2

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED