Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888191 - acct-user/postfix fails ivs clean exist if user exists and service is running
Summary: acct-user/postfix fails ivs clean exist if user exists and service is running
Status: RESOLVED DUPLICATE of bug 888189
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-24 19:46 UTC by tdr
Modified: 2022-12-25 00:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2022-12-24 19:46:07 UTC
acct-user/postfix fails vs clean exist during emerge -e or similar if postfix user already exists and postfix is running

* Package:    acct-user/postfix-0-r1:0
 * Repository: gentoo
 * Maintainer: eras@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox

>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/acct-user/postfix-0-r1/work
>>> Preparing source in /var/tmp/portage/acct-user/postfix-0-r1/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/acct-user/postfix-0-r1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/acct-user/postfix-0-r1/work ...
>>> Source compiled.
>>> Test phase [not enabled]: acct-user/postfix-0-r1

>>> Install acct-user/postfix-0-r1 into /var/tmp/portage/acct-user/postfix-0-r1/image
>>> Completed installing acct-user/postfix-0-r1 into /var/tmp/portage/acct-user/postfix-0-r1/image

 * Final size of build directory: 0 KiB
 * Final size of installed tree:  4 KiB


 * User postfix already exists
 * Updating user postfix
usermod: user postfix is currently used by process 2555
 * ERROR: acct-user/postfix-0-r1::gentoo failed (postinst phase):
 *   usermod failed
 *
 * Call stack:
 *     ebuild.sh, line 136:  Called pkg_postinst
 *   environment, line 834:  Called acct-user_pkg_postinst
 *   environment, line 365:  Called die
 * The specific snippet of code:
 *           die "usermod failed";
 *
Comment 1 Mike Gilbert gentoo-dev 2022-12-25 00:16:10 UTC

*** This bug has been marked as a duplicate of bug 888189 ***