[Pkg-shadow-devel] Bug#317264: login: Current su breaks pbuilder

Junichi Uekawa Junichi Uekawa <dancer@netfort.gr.jp>, 317264@bugs.debian.org
Fri, 08 Jul 2005 06:54:32 +0900


Hi,

> Actually 'su <user> -- arg1 arg2' used to run '<shell> -c "arg1 arg2"'
> (ie arg1 and arg2 are grouped as one argument) and now it runs '<shell>
> arg1 arg2' and '<shell> -c arg1 arg2' with your patch.
> 
> That's why your patch doesn't work as arg2 is ignored.
> 
> Please find attached a new patch that works with both the old and new
> version of su (it is not possible to have a versioned dependency as it
> is the su from inside the chroot which is called).

Why is su changing behavior?

I have concerns wrt shell quoting, and I'd rather not require this 
patch.


regards,
	junichi
-- 
Junichi Uekawa, Debian Developer   http://www.netfort.gr.jp/~dancer/
183A 70FC 4732 1B87 57A5  CE82 D837 7D4E E81E 55C1