Bug 3915 - rpm-helper fails to create users during installation because /usr/sbin/useradd missing
Summary: rpm-helper fails to create users during installation because /usr/sbin/userad...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Olivier Thauvin
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-29 19:11 CET by Frederik Himpe
Modified: 2011-12-29 21:51 CET (History)
1 user (show)

See Also:
Source RPM: rpm-helper
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.