From 2dd3e29cb96c3802e371a25e1656c15a2363e8df Mon Sep 17 00:00:00 2001 From: ficus Date: Sun, 18 Nov 2012 22:44:30 +0100 Subject: add serial console debugging notes --- TODO | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 22c610f..c82bea3 100644 --- a/TODO +++ b/TODO @@ -8,4 +8,33 @@ - set user password http://live.debian.net/manual/html/live-manual.en.html#505 - dreamplug: uap hack, libertas firmware -- ntp.conf +- ntp.conf? +- sudo setuid problem? + + Configure_sudo + + grep -qs ^torouter /etc/sudoers.d/live + + echo torouter ALL=(ALL) NOPASSWD: ALL + + chmod 0440 /etc/sudoers.d/live + + sudo -u torouter sh -c echo 'SU_TO_ROOT_SU=sudo' >> /home/torouter/.su-to-rootrc + 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: +- 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 +- maybe need to update host's live-boot, live-config? +- or should add snapshots repos to the package list? +- WORKED BEFORE ARG -- cgit v1.2.3