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

Re: Problems with dchroot_start



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/09/2006 11:02 AM, Jack Malmostoso wrote:
> 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
> #!/bin/bash
> ARGS=""
> for i in "$@" ; do
>     ARGS="$ARGS '$i'"
> done
>
> exec dchroot -c ia32 -d -q "`basename $0`" "$ARGS"
>
> Any idea on what has changed and how to fix it?
> Thanks for any pointers!

Same problem here.
The solution I found was deleting (or commenting) the "$ARGS" at the end
of the exec line. And it sounds like a little bit "dirty" solution!
But few minutes later I left dchroot for schroot, so the problem
disappered completely ;-)
See you.

mfv

- --
Matteo Vescovi
System Administrator
Studio Vescovi Progettazioni
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEsNd+wpmiLhhMAcoRAlpbAKCH/GBS3q8wv0xPrhvmF+kAEbw26QCgkXJl
SMz2nW0txOL9vXbksiq1A9E=
=tG38
-----END PGP SIGNATURE-----



Reply to: