build rpm packages on centOS

Michael Messner michael.messner_edv at inode.at
Wed Nov 15 12:36:12 CET 2006


Patric sagte:
> Michael Messner wrote:
>>
>> jep from source it compiles,
>>
>> 16:05:16 Xradius ~/rpmbuild/SPECS [root]rpmbuild -ba freeradius.spec
>>
>> ca mIke
>
> Sorry man, in that case Im not sure what the problem is...
> You might get more help from the guys on GLUG Tech if you post there -
> www.glug.org.za
>
> Let me know if you resolve it, Id be interested to know what the problem
>  was!

I've found out that the problem is in the line with %pre

freeradius.spec:
...
cd ..
echo "test1"
%pre
echo "test2"
/usr/sbin/useradd -c "radiusd user" -r -s /bin/false -u 95 -d / radiusd
2>/dev/null || :
...

before the test2 it breaks!

ideas?

ca mIke







More information about the Freeradius-Users mailing list