From 2b5e6fa856a0490b6bc8a48b3e281918f140024d Mon Sep 17 00:00:00 2001 From: ficus Date: Thu, 22 Nov 2012 17:18:13 +0100 Subject: resolution to serial login woes --- TODO | 2 -- config/includes.chroot/etc/default/openntpd | 6 ------ doc/debian-live-problems.txt | 5 ----- doc/init-woes.sh | 5 +++++ doc/serial-console.txt | 2 +- 5 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 config/includes.chroot/etc/default/openntpd create mode 100644 doc/init-woes.sh diff --git a/TODO b/TODO index 1d64367..1412b8e 100644 --- a/TODO +++ b/TODO @@ -4,7 +4,6 @@ - chgrp debian-tor /etc/tor/ /etc/tor/* - chmod g+rw /etc/tor/ /etc/tor/* - test persistance -- dreamplug: uap hack, libertas firmware - uap hacks as a debian package - create m-a source package - build on dreamplug, save binary result; automate this? @@ -14,7 +13,6 @@ - include ttdnsd package manually - eth0 hotplug - remove torouter /etc/hosts listing -- document @!#(*$&#@! openntpd problem TBD: - persistant setuid issue diff --git a/config/includes.chroot/etc/default/openntpd b/config/includes.chroot/etc/default/openntpd deleted file mode 100644 index 318e7bd..0000000 --- a/config/includes.chroot/etc/default/openntpd +++ /dev/null @@ -1,6 +0,0 @@ -# /etc/default/openntpd - -# Append '-s' to set the system time when starting in case the offset -# between the local clock and the servers is more than 180 seconds. -# For other options, see man ntpd(8). -DAEMON_OPTS="-f /etc/openntpd/ntpd.conf -s" diff --git a/doc/debian-live-problems.txt b/doc/debian-live-problems.txt index e8db2aa..d3e3859 100644 --- a/doc/debian-live-problems.txt +++ b/doc/debian-live-problems.txt @@ -80,8 +80,3 @@ necessary): DU_DIM="$(echo 50 + $DU_DIM | bc)" -### Missing Serial Console on Boot - -It appears to break live-boot configuration if the user-setup debian package is -installed? - diff --git a/doc/init-woes.sh b/doc/init-woes.sh new file mode 100644 index 0000000..43488e2 --- /dev/null +++ b/doc/init-woes.sh @@ -0,0 +1,5 @@ + +DO NOT add the "-s" flag to /etc/default/openntpd, or init will not complete +boot level 2, any init.d scripts requiring $all will not be run, and the serial +console will not get enabled. + diff --git a/doc/serial-console.txt b/doc/serial-console.txt index d369ce0..66afee2 100644 --- a/doc/serial-console.txt +++ b/doc/serial-console.txt @@ -20,7 +20,7 @@ See also: config/includes.chroot/lib/live/config/9999-serial_console -### New fix +### Alternative Fix echo "T0:2345:respawn:/sbin/getty -L ttyS0 115200 vt100" >> /etc/inittab -- cgit v1.2.3