Created attachment 332419 [details] fix groupadd and make it build Description of problem: The %pre script contains a typo which causes a failure to create the tss group: getent group tss >/dev/null || groupadd -g 59 r tss A dash is missing, it should be: getent group tss >/dev/null || groupadd -g 59 -r tss Version-Release number of selected component (if applicable): trousers-0.3.1-13.fc11.x86_64 How reproducible: always Steps to Reproduce: 1. yum install trousers Actual results: While the %pre script is running, you can see groupadd printing its usage instructions. The group and the user are not created. Expected results: Should create tss user and group. Additional info: I'm attaching a patch fixing this problem. A scratch build in Koji failed because of strict aliasing violations in the tools/ directory. I worked-around it by disabling strict aliasing for the tools. They are not part of the resulting package anyway.
Created attachment 332421 [details] fix groupadd and make it build I sent a wrong file by mistake previously.
Any comments, please? RPM scriptlets have to work. Thanks.
*** Bug 494424 has been marked as a duplicate of this bug. ***
Milos, I see you're a provenpackager and you recently fixed the FTBFS. Could you also add the missing dash in the %pre script so that adding the tss group works? Thanks, Michal
Fixed in F-10, F-11 and devel branches (F-9 not affected), I have also requested a freeze break for F-11: https://fedorahosted.org/rel-eng/ticket/1750