Bug 144462

Summary: Dovecot user uid not expanded in preinstall scriplet
Product: [Fedora] Fedora Reporter: Matthias Saou <matthias>
Component: dovecotAssignee: John Dennis <jdennis>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: tss, wtogami
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-07 18:38:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias Saou 2005-01-07 12:42:23 UTC
Description of problem:

Looking at the %prein scriplet of the current i386 binary dovecot
package, it seems the spec file's %{dovecot-uid} hasn't been explanded
properly. My guess would be that it's because dashes aren't allowed in
rpm macro names, underscores should be used instead :

preinstall scriptlet (using /bin/sh):
/usr/sbin/useradd -c "dovecot" -u %{dovecot-uid} -s /sbin/nologin -r
-d /usr/libexec/dovecot dovecot 2>/dev/null || :


Version-Release number of selected component (if applicable):

dovecot-0.99.11-7.devel.i386.rpm

Comment 1 John Dennis 2005-01-07 18:38:35 UTC
Thank you for catching this! I wonder how I missed that, but I'm glad
you have better eyes than I do :-) Fixed in next.