diff options
author | ficus <ficus@robocracy.org> | 2012-11-18 22:44:30 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-18 23:34:27 +0100 |
commit | 2dd3e29cb96c3802e371a25e1656c15a2363e8df (patch) | |
tree | 8866fdf46195bde816ebd7fed4c071c50cd68f04 /TODO | |
parent | 69e54d836e18cbfe516372d9ad31d43046b7f716 (diff) | |
download | torouter-live-2dd3e29cb96c3802e371a25e1656c15a2363e8df.tar.gz torouter-live-2dd3e29cb96c3802e371a25e1656c15a2363e8df.zip |
add serial console debugging notes
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 31 |
1 files changed, 30 insertions, 1 deletions
@@ -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 |