Bug ID | 1228784 |
---|---|
Summary | 389-ds installation fails |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | screening-team-bugs@suse.de |
Reporter | dmueller@suse.com |
QA Contact | qa-bugs@suse.de |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
/usr/sbin/groupadd -r dirsrv [ 20s] /usr/sbin/useradd -r -c User for 389 directory server -d /var/lib/dirsrv -g dirsrv -U dirsrv -s /sbin/nologin [ 20s] useradd: options -U and -g conflict [ 20s] Usage: useradd [options] LOGIN [ 20s] useradd -D [ 20s] useradd -D [options] [ 20s] Options: [ 20s] --badname do not check for bad names [ 20s] -b, --base-dir BASE_DIR base directory for the home directory of the [ 20s] new account [ 20s] --btrfs-subvolume-home use BTRFS subvolume for home directory [ 20s] -c, --comment COMMENT GECOS field of the new account [ 20s] -d, --home-dir HOME_DIR home directory of the new account [ 20s] -D, --defaults print or change default useradd configuration [ 20s] -e, --expiredate EXPIRE_DATE expiration date of the new account [ 20s] -f, --inactive INACTIVE password inactivity period of the new account [ 20s] -F, --add-subids-for-system add entries to sub[ud]id even when adding a system user [ 20s] -g, --gid GROUP name or ID of the primary group of the new [ 20s] account [ 20s] -G, --groups GROUPS list of supplementary groups of the new [ 20s] account [ 20s] -h, --help display this help message and exit [ 20s] -k, --skel SKEL_DIR use this alternative skeleton directory [ 20s] -K, --key KEY=VALUE override /etc/login.defs defaults [ 20s] -m, --create-home create the user's home directory [ 20s] -M, --no-create-home do not create the user's home directory [ 20s] -N, --no-user-group do not create a group with the same name as [ 20s] the user [ 20s] -o, --non-unique allow to create users with duplicate [ 20s] (non-unique) UID [ 20s] -p, --password PASSWORD encrypted password of the new account [ 20s] -r, --system create a system account [ 20s] -R, --root CHROOT_DIR directory to chroot into [ 20s] -P, --prefix PREFIX_DIR prefix directory where are located the /etc/* files [ 20s] -s, --shell SHELL login shell of the new account [ 20s] -u, --uid UID user ID of the new account [ 20s] -U, --user-group create a group with the same name as the user [ 20s] -Z, --selinux-user SEUSER use a specific SEUSER for the SELinux user mapping [ 20s] --selinux-range SERANGE use a specific MLS range for the SELinux user mapping [ 20s] error: %prein(389-ds-3.1.1~git0.aef1668-1.1.x86_64) scriptlet failed, exit status 1 [ 20s] error: 389-ds-3.1.1~git0.aef1668-1.1.x86_64: install failed [ 20s] error] [ 20s] Installation of 389-ds-3.1.1~git0.aef1668-1.1.x86_64 failed: [ 20s] Error: Subprocess failed. Error: RPM failed: Command exited with status 1. [ 20s] Abort, retry, ignore? [a/r/i] (a): a it shouldn't run "groupadd dirsrv" and then "useradd -U". useradd -U does the groupadd and the user creation in one go.