Ping?? On Tue, Nov 13, Olaf Hering wrote:
On Tue, Nov 13, Olaf Hering wrote:
Having 'su-wrapper = true true' in ~/.oscrc causes osc chroot to fail, it tries to execute "sudo 'true true' chroot ...". osc build does not have such bug.
Doing it like this fixes it for me:
--- commandline.py +++ /usr/lib64/python2.6/site-packages/osc/commandline.py @@ -5235,7 +5235,7 @@ Please submit there instead, or use --no else: cmd = [sucmd, 'chroot', buildroot, 'su', '-', user] if suargs: - cmd.insert(1, suargs) + cmd[1:1] = suargs.split() print 'running: %s' % ' '.join(cmd) os.execvp(sucmd, cmd)
Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org