On 06/11/2012 11:38 AM, Serge Hallyn wrote: > Hi, > > lxc-unshare currently is broken if you don't provide a command to run. The > fix is trivial, but which default behavior do we prefer: always require > a command, or do we pick something ("/bin/sh"?) to run if no command is > provided? I prefer to require a command, but history suggests that I can > therefore assume most people will lean the other way :) > > The usage message currently says: > > if -s PID is specified, <command> is mandatory > > I propose removing that, and printing an error if (argv[optind]==NULL) > before > > args = &argv[optind]; > > Objections? > > -serge
Sounds good to me. +1 -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel