https://bugzilla.novell.com/show_bug.cgi?id=188068 suse-beta@cboltz.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.lasarsch@novell.com AssignedTo|martin.lasarsch@novell.com |suse-beta@cboltz.de Severity|Critical |Major Status|REOPENED |ASSIGNED ------- Comment #17 from suse-beta@cboltz.de 2007-04-05 12:51 MST ------- @Martin: the CVS commit notifications on pin-devel don't work - can you please check what is wrong? @Volker (and all tcsh users ;-) Sorry that my fix breaks pin with tcsh (I only tested bash ;-) - but unfortunately your fix will break it with bash :-( I tested the following: - echo "$0 * $1 * $2 * $3 * $4 * $5 * $6 * $7" at the start to show the parameters - your fix as proposed: - su - root -- "$0" "$@" + su - root -- -c "$0" "$@" Unfortunately, su did not carry over the parameters (SHELL=/bin/bash): # pin -v 100 test /usr/bin/pin * -v * 100 * test * * * * <--- from the above "echo" line *** pin found no ARCHIVES_10.2.gz file in /var/lib/pin/ pin will copy the files, please enter rootpassword : Password: /usr/bin/pin * * * * * * * <-- from the above "echo" line It seems we have to find a better solution :-/ BTW: My su syntax is valid IMHO. From info su su [OPTION]... [USER [ARG]...] [...] Any additional ARGs are passed as additional arguments to the shell. So su should pass something like "pin -all -the params" to the shell, resulting in the commandline /bin/bash pin -all -the params or in your case /bin/tcsh pin -all -the params Hmm, maybe I should simply force /bin/bash to be used ;-) Can you please test with the following patch? --- pin 21 Dec 2006 23:35:54 -0000 +++ pin 5 Apr 2007 18:20:52 -0000 @@ -173,7 +174,7 @@ if [ ! -r "$ARC_DIR""ARCHIVES_""$USED_VE if test "$UID" != "0" -a "$USER" != root -a -z "$ROOT" ; then echo -e "\n *** pin found no ARCHIVES_"$USED_VERSION".gz file in $ARC_DIR\n pin will copy the files, please enter rootpassword :\n\n" - su - root -- "$0" "$@" + su - root -s /bin/bash -- "$0" "$@" exit fi # test for old ARC files -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.