" also sprach wuebben:
" > " > There is an alternative to building an RPM with precompiled UID/GID.
" > " > Pick a infrequently used uid/gid and compile those in. Then have 
" > " > the RPM check for the uid/gid before installing and print an error
" > " > if it finds them. Best of both worlds
" > " 
" > " Except that it's a fairly significant *hack*, more than an elegant solution.
" > " I think compiling in the uid/gid is acceptable.
" > 
" > Yup, but as I said in my last mail, I really need automated installation
" > via RPM. 
" 
" RPMs and compiling in the uid/gid are not mutually exclusive. Write a short
" shell function that gets an available uid/gid from /etc/passwd. Include that
" function in your RPM spec file and call it when appropriate.

Well. That doesnt solve my problem. I still have one static uid/gid 
in my RPM package.
One possible solution is that I compile on rpm-installation via the 
pre/postinstall section. ugly..but it should work.

Later,

Markus



" 
" /pg
" -- 
" Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
" ---
" "Absolutely nothing should be concluded from these figures except that
" no conclusion can be drawn from them."
" (By Joseph L. Brothers, Linux/PowerPC Project)
" 

-- 
Markus Wuebben
 
* ID-PRO Deutschland GmbH (Products & Development) 
* Tel.: +49 (0) 2932 - 916 - 135 * Fax - 236 
* mailto:[EMAIL PROTECTED]
* http://open-for-the-better.com

Reply via email to