
 xchroot v2.4
 (c) copyright by Elmar Stellnberger, the original author: 2009, Jan 2010, Jan 2013, Aug 2013, Oct 2013, Dec 2019

  further information: www.elstel.org/com; look here for an actual contact address
  current email: estellnb@elstel.org; additional email estellnb@gmail.com

 v2.4: pulseaudio support
  * openroot /dst/buster/usr/bin/xine myfile    i.e. no need to separate root directory from executable to execute inside root
  * parameters to xchroot may contain escaped spaces
  * current working directory is preserved
  * makro for desktop file creation
  * showmount may be executed as non root

 v2.3.4: improved the --quiet option (April 2018)
  * use of --userspec from chroot: no su or sudo required inside chroot any more
  * use --genuine-retval allows to retrieve the return value directly from the chroot rather than the xchroot wrapper
  * fixed recognition of short options -s and -v

 v2.3.3: enhanced user management, license (09.11.2013)
  * chrooting from one user to an other is now possible
   * resolved security issue when users of chroot environment and outside of it have different privileges 
   - idea for using getent rather than grep-ing /etc/passwd was contributed by Nick Bannon on 2013-11-08 <nick@rcpt.to> 
  * cd to home directory on startup

 v2.3.2: security + docs, license (27.10.2013)
  * addressed several security issues for using xchroot with /etc/sudoers, doc-update, more clear license
  * job control fix for newer systems (does no more get disabled when chrooting from new to old system)

 v2.3.1: aufs and unionfs support (23.10.2013)
 * updated, more distributor friendly license (now allows you to distributed modified versions of xchroot)
 * warn correctly if no X connection can be established; including the XCONNECT=noX environment variable to disable these warning
 * export XAUTHORITY also for remote hosts

 v2.3: aufs and unionfs support (28.8.2013)
 * aufs and unionfs support
  * saving, restoring and augmenting .squashfs images for use with aufs and unionfs
 * noask-option for automatic xchroot invocation; does not ask on kill (if signal causes xchroot to exit)
 * recursive xchroot; XAUTHORITY envvar inheritance error resolved ( now just using last directory name as identifier; also possible: use ':' instead of '\\')
 * various minor issues: improved cleanup, socat check; check if it will chroot to a valid root-fs, precise return values (0-255)
 * better, prospectively oss-compliant license

 v2.25 bugfixes over v.2.2 (18.8.2013)
 * su -c did loose XAUTHORITY environment variable on elder Linux distros (necessary X access)
 * open same root several times: only ask to terminate running programs on last exit
 * use SHELL from /etc/passwd or as given by --shell: different shells than bash
 * trivial error fix: $root was hardcoded in v2.2 when asking to terminate programs still running in root
 * some minor corrections when using "cleanup" after having left everything mounted


