-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Le 09/02/2013 00:41, Serge Hallyn a écrit : > Quoting Papp Tamas (tom...@martos.bme.hu): >> On 02/08/2013 02:46 PM, Serge Hallyn wrote: >>> >>> Quoting John (l...@jelmail.com): >>>> I raised this issue back on 6th/7th December. It was a >>>> side-issue in a discussion entitled "unable to run systemd in >>>> an LXC container". I have always performed a destroy/create >>>> cycle to apply changes written to /etc/lxc/mycontainer.conf. >>>> I was asked why I didn't edit in /var directly and I replied >>>> that I treated the files created by LXC in /var to be >>>> internal and have always used the destroy/create cycle for >>>> config updates. There was talk of adding a -k (keep) option >>>> to lxc-destroy. >>>> >>>> I have been working on other commitments and need to come >>>> back and revisit this but it's good to see others have >>>> experienced the same difficulty when this change in >>>> behaviour. >>>> >>>> I would be interested in current thoughts. >>> >>> First, note that if you're doing lxc-destroy thinking it is >>> 'virsh destroy', then that means the container is running >>> right? And lxc-destroy will then print a warning and do >>> nothing. >>> >>> I'm happy to ack a patch to add [-k|--keep] to lxc-destroy. >> >> Please do it in reverse way (aka [-r|--remove]). It would be >> much-much more 'polite' (IMHO:D). > > Not to users who are already scripting around lxc-destroy and > would now have to change all the callers. > > Seriously, 'lxc-destroy' is a vicious enough sounding name, and I > don't like they idea of saying "well other suites use their terms > differently so we have to follow suit." > >> Or just suggest a way to modify containers configuration. > > Sorry, can you elaborate? You can modify configuration using the > API (in C, python, or, iiuc, lua). You can edit the configuration > file by hand... If there is more you'd like, please do propose > it, sounds interesting. > > -serge > > ------------------------------------------------------------------------------ > > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 and get > the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ Lxc-users mailing > list Lxc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxc-users > IMHO since lxc-create creates rootfs lxc-destroy should remove it -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBCgAGBQJRFjckAAoJEErsvXVG0x58unMQAISIxnRbTjQOHkpotFl+k6nu mpm9fVn50Z5aSok73NpGepbHOodzNqIBQL5K10Hj3ZvUgCbdJlxFj7z+hCWaYRkI uCEkwCXoxPwpXlCJoXm/1hg6BQtuV742KzHJs0Jbo2fr8ralJFOhGh3Yq/GemHhr FyOMtKuO91jy6Pw2qvG+RDBcxHWH/dNrjadXXxeqk7LEhNttRM7Gv4skSj/rUTQ3 wY92UqxdXUS3RFNreE7AXIQgKApbc2ERm9EqxnRUZLCLvRnPsxLUC66RVw7Kx+nB topmWqoGDug32MeA8/mJnPLb7Qx8+C3NNyPMCHY2rIpY7H3odGfpqNMKSPUv1+JV bStM+JuNZXFBTo1cSX9mENBJc3tk+G1slyGBG38Ayua2NuBNo+gHFhjZ7hcxngaY ucGekubuw6mh2NShslOs1P1iyoXHtliSfdLrijmRQx+mLmp6mgq5VcGkIioX5E0B s4m8amDiweqsopzDlrywjbrioa0wTadK5B6ZRmBiQdxhMhbp+WMcU5P8FSHUDUCA Az2btZIfGIdnorMPt63UEwbaG0/w9gtd8uxFMB7CuoheqgbBIc7evSIDtV0d2BAS 14PiVKVdPoWB5b9/hCVhc1w87OynEokecjMotu/uINgCUVNEXhppq6rBR9X0Ydmn dEyI8YN3kkOOKpxsmfNW =iM1H -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users