Re: Use vcsh when provisioning virtual environments
On 15 February 2012 21:30, Richard Hartmann wrote: > ... you shouldn't assume everyone knows all the tools you use ... I thought this might have been the issue, not that I helped matters. For the record, schroot is a much improved version of dchroot. Everything knows what dchroot is, right :-) More seriously, the description in the Debian package is far better then what I could come up with myself: === cut === Description-en: Execute commands in a chroot environment schroot allows users to execute commands or interactive shells in different chroots. Any number of named chroots may be created, and access permissions given to each, including root access for normal users, on a per-user or per-group basis. Additionally, schroot can switch to a different user in the chroot, using PAM for authentication and authorisation. All operations are logged for security. . Several different types of chroot are supported, including normal directories in the filesystem, and also block devices. Sessions, persistent chroots created on the fly from files (tar with optional compression and zip) and LVM snapshots are also supported. . schroot supports kernel personalities, allowing the programs run inside the chroot to have a different personality. For example, running 32-bit chroots on 64-bit systems, or even running binaries from alternative operating systems such as SVR4 or Xenix. . schroot also integrates with sbuild, to allow building packages with all supported chroot types, including session-managed chroot types such as LVM snapshots. . schroot shares most of its options with dchroot, but offers vastly more functionality. === cut === Not mentioned here is the support for union filesystems, which is also pretty cool. -- Brian May ___ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home
Re: Use vcsh when provisioning virtual environments
On Wed, Feb 15, 2012 at 08:57, Thomas Koch wrote: > In the case of schroot this means to add a vcsh script in /etc/schroot/setup.d > (see man schroot-setup) that checks whether a given set of vcsh repos is > cloned into the home dir of the user entering the chroot. After googling schroot (you shouldn't assume everyone knows all the tools you use ;) I think I know what you mean and thus want. What about: [ -e .config/vcsh ] && exit 0 vcsh clone my_mr_repo cd .config/mr/config.d ln -s ../{foo,bar,baz} . cd mr up That should do what you want. Richard ___ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home
Re: Use vcsh when provisioning virtual environments
On 15 February 2012 18:57, Thomas Koch wrote: > Richard Hartmann: > In the case of schroot this means to add a vcsh script in /etc/schroot/setup.d > (see man schroot-setup) that checks whether a given set of vcsh repos is > cloned into the home dir of the user entering the chroot. It seems like an interesting idea. Could be useful for trying out new/old versions software where you don't want it to stuffing up or falling over on any part of your existing setup, including $HOME, however you don't want to completely give up on your environment. I would look into this myself, but unfortunately am lacking the key "time" ingredient required to make it work. -- Brian May ___ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home
Re: Use vcsh when provisioning virtual environments
Richard Hartmann: > I am afraid that I don't really know what you are referring to. In the case of schroot this means to add a vcsh script in /etc/schroot/setup.d (see man schroot-setup) that checks whether a given set of vcsh repos is cloned into the home dir of the user entering the chroot. But it's totally possible that I'm talking bullshit here. Regards, Thomas Koch, http://www.koch.ro ___ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home
Re: Use vcsh when provisioning virtual environments
I am afraid that I don't really know what you are referring to. Richard ___ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home
Use vcsh when provisioning virtual environments
Hi, just as a self reminder and maybe somebody will implement this before me: It would be fine, if I could specify a couple of vcsh repos when setting up an schroot or a virtual maschine (libvirt?) and there would be appropriate hooks in those systems that clone those repos in the home dir of the default user. The default "Desktop" setup for schroot just mounts the user's home dir into the chroot to make configuration available in the schroot. Cloning vcsh repos would be a much safer approach. Maybe somebody with more time likes this idea as much as I do... :-) Best regards, Thomas Koch, http://www.koch.ro ___ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home