Mailinglist Archive: opensuse-bugs (4295 mails)

< Previous Next >
[Bug 1039708] New: systemd-sysusers does not error out if creation fails
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 18 May 2017 11:06:02 +0000
  • Message-id: <bug-1039708-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1039708


Bug ID: 1039708
Summary: systemd-sysusers does not error out if creation fails
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: kukuk@xxxxxxxx
Reporter: fvogt@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

$SUBJECT causes issues as in cases where the user/group creation fails the
issue is simply ignored.

Example:

(344/591) Installing: system-user-mail-20161020-5.1.noarch [.....done]
Additional rpm output:
Creating group mail with gid 489.
Creating user mail (Mailer daemon) with uid 489 and gid 489.
Failed to write files: Operation not permitted
warning: user mail does not exist - using root
warning: group mail does not exist - using root

And the installation continues happily after that, resulting in:

(502/591) Installing: postfix-3.2.0-4.1.x86_64 [..error]
Abort, retry, ignore? [a/r/i] (a): a
[91mInstallation of postfix-3.2.0-4.1.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: usermod: group 'mail' does not
exist
error: %prein(postfix-3.2.0-4.1.x86_64) scriptlet failed, exit status 6
error: postfix-3.2.0-4.1.x86_64: install failed

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >