[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with dchroot_start

Jack Malmostoso wrote:
Hi list,

I have just upgraded dchroot and schroot to 0.99.2-2 and my dchroot_start
script does not work anymore.
If I start an application with it I get:

jack@nostromo:~$ opera
E: Only one command may be specified
I: Run "dchroot --help" to list usage example and all available options

If I start opera with the dchroot command, it works:

jack@nostromo:~$ dchroot -c ia32 -d opera
I: [ia32 chroot] Running command: "opera"

The script is the standard that came with the AMD64 howto:

jack@nostromo:~$ cat /usr/local/bin/dchroot_start
for i in "$@" ; do
    ARGS="$ARGS '$i'"

exec dchroot -c ia32 -d -q "`basename $0`" "$ARGS"

Any idea on what has changed and how to fix it?
Thanks for any pointers!

Try this script instead:

exec schroot -p -c ia32 -q "`basename $0`" -- "$@"

Can someone update the AMD64 HOW-TO?

Nelson Menezes

Reply to: