aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-11-19 23:45:08 +0100
committerficus <ficus@robocracy.org>2012-11-19 23:45:08 +0100
commit17f9f580da13c020818d14024b40d4d07fa91f83 (patch)
tree2c6feef3895375ab287cb47d0cbaa1b0c06ebeed
parent1d045f9f84c7e6e0091451ea79b8f0e4cb8a9b5e (diff)
downloadtorouter-live-17f9f580da13c020818d14024b40d4d07fa91f83.tar.gz
torouter-live-17f9f580da13c020818d14024b40d4d07fa91f83.zip
clean up notes after resolving frustrating user-setup gotcha
-rw-r--r--TODO51
-rw-r--r--doc/debian-live-problems.txt16
2 files changed, 23 insertions, 44 deletions
diff --git a/TODO b/TODO
index 4274701..b120f61 100644
--- a/TODO
+++ b/TODO
@@ -1,11 +1,9 @@
-- add vim-nox and lsof back into package lists
-- keyring stuff: config/archives/any-repo.key.{binary,chroot}
-- copy in torouterui package, add dependancies
+- commit torouterui package, add dependancies
- custom kernel
http://live.debian.net/manual/html/live-manual.en.html#411
- determine which configurations can be settled using debconf preseeds
http://live.debian.net/manual/html/live-manual.en.html#495
-- set user password
+- reset the user password properly
http://live.debian.net/manual/html/live-manual.en.html#505
- dreamplug: uap hack, libertas firmware
- ntp.conf?
@@ -18,42 +16,9 @@
sudo: unknown user: torouter
sudo: unable to initialize policy plugin
-- /var/lib/tor permissions:
- Nov 17 21:20:25.064 [warn] /var/lib/tor is not owned by this user (debian-tor, 105) but by root (0). Perhaps you are running Tor as the wrong user?
- Nov 17 21:20:25.065 [warn] Failed to parse/validate config: Couldn't access/create private data directory "/var/lib/tor"
- Nov 17 21:20:25.065 [err] Reading config failed--see warnings above.
-
-serial login debugging:
-- perhaps related to symlink issue?
-- user not being created correctly?
-- init seems to be the problem: doesn't respect inittab
- - maybe due to earlier init not completing? known problem w/ rc.local
- - 'init s' then canceling brings up login correctly
- - ordering of script might be the problem? tried moving to 010-*
-- add "dhclient eth0" to 9999-* and "echo root:crud | chpasswd" script to
- enable remote login and set root password (for debugging with a router+ssh)
-- tried removing modprobe.d and sysctl.conf files
-- mildly shifted u-boot parameters around...
-- perhaps a new or changed set of packages? or a package dependancy?
-- also, haven't been building regularly due to missing symlink problem
-- tried using pinned sid version of live-* packages, also update build
- machine's live-*
-- WORKED BEFORE ARG
-
-- suspicious packages:
- - tcpd
- - u-boot
- - resolveconf
- - xauth
- - module-init-tools
- - krb5-locales
- - keyboard-configuration
- - flash-kernel
- - devio
- - dbus
- - bind9-host
- - user-setup
- - sudo
-- removed sid pinning crap
-- moved serial console fixer back to default
-- still have missing symlink problem! due to kernel mangle hook? ownership?
+- remove unnecessary tty2+ lines completely from /etc/inittab
+- tor:
+ - chown debian-tor:debian-tor /var/log/tor /var/lib/tor
+ - chgrp debian-tor /etc/tor/ /etc/tor/*
+ - chmod g+rw /etc/tor/ /etc/tor/*
+ - debug issue with /var/log/tor/notices.log
diff --git a/doc/debian-live-problems.txt b/doc/debian-live-problems.txt
index 13fe99b..e8db2aa 100644
--- a/doc/debian-live-problems.txt
+++ b/doc/debian-live-problems.txt
@@ -25,12 +25,21 @@ If you don't run the second line as well, you will get the error:
### Missing symlinked files
+When building hdd images, often targetting the FAT32 filesystem, all symlinks
+get removed from the binary image. If you are trying to create a "plainroot"
+image using ext3 or any unix-style filesystem, this is a big problem. To
+disable this step, edit /usr/lib/live/build/binary_includes on the host build
+system, and around line 57 comment out the line:
+
+ find binary -type l | xargs rm -f
+
If you get a boot error like:
Kernel panic - not syncing: Attempted to kill init!
Then init may be unable to link to necessary library (like lib/ld-linux.so.3),
-because of some badness in the binary build system. Try overcoming with:
+because of some badness in the binary build system. If you can't do the above
+hack editing the symlink deletion out, you could do:
lb clean --binary
lb config
@@ -71,3 +80,8 @@ 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?
+