Re: Bug#9582: suidmanager 0.6 uploaded to master.debian.org
>>>>> "Christoph" == Christoph Lameter <clameter@waterf.org> writes:
Christoph> Could you please give me a simple script that produces
Christoph> the error that you have been talking about so long? I
Christoph> have not been able to produce a single instance of the
Christoph> problem you are mentioning. Get emacs and all other
Christoph> complicating circumstances out of it.
Christoph> Just tell me how to produce the problem and I will
Christoph> figure out why and how to fix it. Right now I am
Christoph> tending to think that this is something due to a
Christoph> special configuration on your system.
script1
8<----------------------------------------------------------------->8
#!/bin/sh
echo This is $0
echo The value of \$- is \'$-\'
set -e
./script2
8<----------------------------------------------------------------->8
script2
8<----------------------------------------------------------------->8
#!/bin/sh
echo This is $0
echo The value of \$- is \'$-\'
grep 'non-existing-text' /usr/man/man1/bash*
echo If the grep fails, this will never echo.
8<----------------------------------------------------------------->8
typescript (with control chars deleted)
8<----------------------------------------------------------------->8
Script started on Fri May 16 20:46:25 1997
1001$ set -x # turn on xtrace
1002$ ./script1
+ ./script1
+ echo This is ./script1
This is ./script1
+ echo The value of '$-' is ''hmxB''
The value of $- is 'hmxB'
+ set -e
+ ./script2
+ echo This is ./script2
This is ./script2
+ echo The value of '$-' is ''ehmxB''
The value of $- is 'ehmxB'
+ grep non-existing-text /usr/man/man1/bash.1.gz /usr/man/man1/bashbug.1.gz
1003$ echo $?
+ echo 1
1
1004$ set
+ set
BASH=/bin/sh
BASH_VERSINFO=([0]="2" [1]="00" [2]="0" [3]="1" [4]="release" [5]="i586-debian-linux")
BASH_VERSION='2.00.0(1)-release'
COLUMNS=80
CVSROOT=/usr/local/cvsroot
DIRSTACK=()
DISPLAY=:0.0
EUID=1000
HISTFILE=/home/karlheg/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/karlheg
HOSTNAME=bittersweet
HOSTTYPE=i586
IFS='
'
LINES=24
LOGNAME=karlheg
LS_COLORS=
LS_OPTIONS='--color=tty --classify'
MACHTYPE=i586-debian-linux
MAILCHECK=60
MANPATH=/usr/man:/usr/X11R6/man:/usr/lib/texmf/doc/man:/usr/local/man
OPTERR=1
OPTIND=1
OSTYPE=linux
PAGER=less
PATH=/bin:/usr/bin:/usr/X11R6/bin:/usr/lib/texmf/bin:/usr/local/bin:/usr/games
PIPESTATUS=([0]="1")
PPID=10679
PS1='\n\!\$ '
PS2='> '
PS4='+ '
PWD=/home/karlheg/programs/sh
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:histexpand:monitor:xtrace:history:interactive-comments:posix:emacs
SHLVL=4
TERM=xterm
TERMCAP=co#80:li#24:
UID=1000
USER=karlheg
VISUAL=gnuclient
WINDOWID=71303187
XAPPRESDIR=/usr/X11R6/lib/X11/app-defaults
XMCD_LIBDIR=/usr/X11R6/lib/xmcd
_=1
_10626_GNU_nonoption_argv_flags_=00
_10678_GNU_nonoption_argv_flags_=0
_3450_GNU_nonoption_argv_flags_=0000
my_dirname=()
{
if [ "${PWD#$HOME}" != "$PWD" ]; then
echo '~'${PWD#$HOME};
else
echo $PWD;
fi
}
set_titlebar=()
{
echo -n "]2;$*"
}
vi=()
{
gnuclient $@
}
1005$ exit
Script done on Fri May 16 20:46:53 1997
8<----------------------------------------------------------------->8
--
Karl M. Hegbloom <karlheg@inetarena.com>
http://www.inetarena.com/~karlheg
Portland, OR USA
Debian GNU 1.2 Linux 2.1.36 AMD K5 PR-133
Reply to: