[lxc-devel] [PATCH] Porcelain for lxc commands; easy management of system-level containers.

Nigel McNie nigel at mcnie.name
Mon May 9 23:17:50 UTC 2011


On 10 May 2011 04:10, Daniel Lezcano <daniel.lezcano at free.fr> wrote:

>
> Ok, I am ready to post the configure / Makefile patches.
> I set the default to disable porcelain commands with configure, so people
> using lxc on small systems won't have to install extra library dependencies
> and an update won't break their builds.
>
> To finish the patches, I need a few informations:
>
>  lxc.pl should be installed in bindir as 'lxc'
>>
>
> Does it mean you want to perlcc lxc.pl ?


Nah, there are plenty of perl programs that install into /usr/bin (or
equivalent) simply with +x and no .pl extension. lxc.pl should do that too.
If you're worried about the shebang line, maybe change it to #!/usr/bin/env
perl


>  lib/LXC/Commands.pm should be in whatever directory would correspond to
>> /usr/share/perl5 on a debian system.
>>
>
> In order to comply with the perl naming policy shouldn't we name LXC => Lxc
> ?


To be honest I know nothing about the perl naming policy :). If you think
that makes sense then by all means go for it (and change the 'use' line in
lxc.pl and 'package' line in Commands.pm as well of course).


>  The files in upstart/ should be installed in /etc/init on ubuntu type
>> systems.
>>
>
> Hum, IMO we need to think about that and look if it is not up to the
> package maintainer to handle that.


Maybe just put them in doc/examples.

Thanks Daniel!

-- 
Regards,
Nigel McNie
http://nigel.mcnie.name/ | +64 27 469 6038 | http://twitter.com/nigelmcnie |
http://about.me/nigel
My latest blog post:
http://nigel.mcnie.name/blog/fixing-website-performance-issues-server-resources
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20110510/8762d792/attachment.html>


More information about the lxc-devel mailing list