There seems to be an issue where openpkg build does some automagickal
identification of a users' shell, which makes sense because it then
outputs the proper shell script to use to actually do the rebuilds
and/or updates to software.  We have come across a problem however where
the identification fails to see the real shell the user is using.  For
instance, if a user logs into the build server as themselves and their
default shell us tcsh, but they sudo exec bash, then the openpkg build
tool seems to identify the user shell as tcsh.  However, the actual
shell in use by root is in fact bash so the output scripts are all
improperly done in csh when they should be in sh.  There is a work
around, which of course is to do something like sudo exec tcsh, in which
case the shell openpkg build detects is correct.  However, I think this
qualifies as a potential bug.  Perhaps another way to detect the user
shell is in order?  Anyway, I just wanted to let you all know about this
one.  Not a huge issue but still a bit of a nuisance at times.  Anyway,
thanks for your help.

-- 
David M. Fetter - UNIX Systems Administrator
Portland State University - www.oit.pdx.edu

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to