[Pkg-ltsp-devel] requesting freeze exception for ltsp
Vagrant Cascadian
vagrant at freegeek.org
Sat Dec 23 00:08:11 UTC 2006
greetings. i am preparing an upload of ltsp to fix several important
bugs, and wanted to ensure that all the planned changes would be
acceptable for etch.
from the changelog:
* fix ldm's boolean handling. thanks to Miro Zhorelicky for the patch.
(Closes: #403471)
this corrects a simple typo that prevented ldm from properly parsing
boolean configuration variables.
* also mount /etc/network/run writeable for proper lo device configuration.
(Closes: #403187)
this is a one-line patch adds /etc/network/run to the list of
directories to make writeable on boot, which is necessary for proper
loopback/lo device creation. ltsp is normally mounted with a read-only
root filesystem.
* fix execution of screen scripts in /etc/ltsp/screen.d (Closes: #403188)
fixes a small typo that caused custom ltsp screen scripts to not be run.
these are used by sysadmins to create customized ltsp sessions.
* install xorg instead of x-window-system-core transitional package in new
LTSP chroot environments. (Closes: #403234)
instead of installing the transitional package "x-window-system-core",
this patch installs "xorg". since ltsp was not part of sarge, i don't
see any need to install "x-window-system-core" in newly built etch ltsp
environments.
* updated local devices support. (Closes: #404154)
this patch updates the existing hooks in ltsp (ldm and
ltsp-client-setup.init) necessary to work with more recent versions of
ltspfs (used for accessing thin-client usb sticks, floppy, cdrom, etc.).
all of the modified code is disabled by default, and requires adding an
option to a configuration file to enable, so should not break anything
else.
i have tested that all of the above changes actually work as intended.
also included will be several new and updated translations, and a small
documentation update. (#403568, #403597, #403604, #403815, #404064)
attached is a diff between the current ltsp version(0.99debian8) and the
proposed changes (minus the translation/documentation updates. i can
send those too, if that's needed).
live well,
vagrant
-------------- next part --------------
diff -ur ltsp-0.99debian8/client/ldm ltsp-0.99debian9/client/ldm
--- ltsp-0.99debian8/client/ldm 2006-11-15 15:11:33.000000000 -0700
+++ ltsp-0.99debian9/client/ldm 2006-12-22 14:55:47.000000000 -0700
@@ -17,7 +17,7 @@
def get_config_bool(name):
val = os.environ.get(name)
if val:
- val == val.lower()
+ val = val.lower()
else:
return False
if val == 'y' or val == 'yes' or val == 'true':
@@ -160,6 +160,14 @@
# make sure we clean up after logout if localdev is used
if self.use_localdev:
session_manager = session_manager+' && ltspfsmounter all cleanup'
+ print "info: Enabling localdev support."
+ if os.access("/var/run/.static-device", os.F_OK):
+ print "info: Enabling static localdev support."
+ static_dev = open("/var/run/.static-device", "r")
+ delayed_mnt = open("/var/run/.delayed-mount", "a")
+ delayed_mnt.writelines(static_dev.readlines())
+ delayed_mnt.close()
+ static_dev.close()
# set language
if lang != 'None':
diff -ur ltsp-0.99debian8/client/screen_session ltsp-0.99debian9/client/screen_session
--- ltsp-0.99debian8/client/screen_session 2006-11-15 15:11:33.000000000 -0700
+++ ltsp-0.99debian9/client/screen_session 2006-12-14 16:36:38.000000000 -0700
@@ -87,7 +87,7 @@
#
# Go ahead and run the screen script
#
- exec //ltsp/screen.d/${SCREEN_SCRIPT} ${SCREEN_ARGS}
+ exec /etc/ltsp/screen.d/${SCREEN_SCRIPT} ${SCREEN_ARGS}
elif [ -x /usr/lib/ltsp/screen.d/${SCREEN_SCRIPT} ]; then
#
# Go ahead and run the screen script
diff -ur ltsp-0.99debian8/debian/ltsp-client.ltsp-client-setup.default ltsp-0.99debian9/debian/ltsp-client.ltsp-client-setup.default
--- ltsp-0.99debian8/debian/ltsp-client.ltsp-client-setup.default 2006-11-15 15:11:36.000000000 -0700
+++ ltsp-0.99debian9/debian/ltsp-client.ltsp-client-setup.default 2006-12-14 21:13:28.000000000 -0700
@@ -13,7 +13,7 @@
# tmpfs/bind directions that get mounted with only directory structure
# preserved
-rw_dirs="/var/cache/man /var/lib/xkb /var/lock /var/run /var/log /var/spool /var/tmp /tmp /var/lib/discover /etc/hotplug/.run /var/lib/nfs"
+rw_dirs="/var/cache/man /var/lib/xkb /var/lock /var/run /var/log /var/spool /var/tmp /tmp /var/lib/discover /etc/hotplug/.run /var/lib/nfs /etc/network/run"
# tmpfs/bind directions that get mounted with directory structure and data
# copied
diff -ur ltsp-0.99debian8/debian/ltsp-client.ltsp-client-setup.init ltsp-0.99debian9/debian/ltsp-client.ltsp-client-setup.init
--- ltsp-0.99debian8/debian/ltsp-client.ltsp-client-setup.init 2006-11-15 15:11:53.000000000 -0700
+++ ltsp-0.99debian9/debian/ltsp-client.ltsp-client-setup.init 2006-12-22 14:55:47.000000000 -0700
@@ -37,21 +37,21 @@
configure_localdev() {
if [ -n "$LOCALDEV" ]; then
- if [ ! -d /tmp/drives ];then
- mkdir /tmp/drives
+ if [ ! -d /var/run/drives ];then
+ mkdir /var/run/drives
fi
/usr/bin/ltspfsd -a
# cdrom devices are handled by the cdpingerponger
- /usr/bin/cdpinger cdrom # default for usb cdroms
+ /usr/sbin/cdpinger cdrom # default for usb cdroms
# and start one for every additional cdrom device
if [ -L /dev/cdrom?* ];then
for CDDEV in $(ls /dev/cdrom?*); do
- /usr/bin/cdpinger $(basename ${CDDEV})
+ /usr/sbin/cdpinger $(basename ${CDDEV})
done
fi
# handle already plugged devices on login
- /usr/bin/delayed_mounter
+ /usr/sbin/delayed_mounter
fi
}
diff -ur ltsp-0.99debian8/server/plugins/ltsp-build-client/Debian/000-basic-configuration ltsp-0.99debian9/server/plugins/ltsp-build-client/Debian/000-basic-configuration
--- ltsp-0.99debian8/server/plugins/ltsp-build-client/Debian/000-basic-configuration 2006-11-15 15:11:39.000000000 -0700
+++ ltsp-0.99debian9/server/plugins/ltsp-build-client/Debian/000-basic-configuration 2006-12-18 21:07:34.000000000 -0700
@@ -5,7 +5,7 @@
DIST=${DIST:-"$(lsb_release -s -c)"}
MIRROR=${MIRROR:-"http://http.us.debian.org/debian"}
COMPONENTS=${COMPONENTS:-"main"}
- EARLY_PACKAGES=${EARLY_PACKAGES:-"x-window-system-core ltsp-client discover1 mdetect xresprobe udev xdebconfigurator esound debian-archive-keyring"}
+ EARLY_PACKAGES=${EARLY_PACKAGES:-"xorg ltsp-client discover1 mdetect xresprobe udev xdebconfigurator esound debian-archive-keyring"}
EXCLUDE=${EXCLUDE:-"libpcap0.7,libgnutls11,liblockfile1,libpcre3,libtasn1-2,libopencdk8,liblzo1,info,manpages,man-db,libgcrypt11,libgdbm3,libgpg-error0,groff-base,at,cron,logrotate,exim4-config,exim4,exim4-base,exim4-daemon-light,ipchains,mailx,pppconfig,pppoe,pppoeconf,tasksel,base-config,apt-utils,dhcp-client,fdutils,iptables,ppp,whiptail"}
RCS_WHITELIST=${RCS_WHITELIST:-"mountkernfs.sh mountvirtfs hostname.sh keymap.sh loopback udev mountdevsubfs.sh mountdevsubfs module-init-tools procps.sh etc-setserial ltsp-client-setup setserial console-screen.sh xorg-common x11-common xfree86-common ifupdown networking"}
RC2_WHITELIST=${RC2_WHITELIST:-"ltsp-client nbd-client usplash rmnologin"}
More information about the Pkg-ltsp-devel
mailing list