History Of Ticket e3c34af10dd28
Not logged in
Ticket change [2454c2fa81] (rid 4863) by drh on 2009-08-01 14:35:38:
  1. Appended to comment:

    drh added on 2009-08-01 14:35:38:
    Fossil really does need to locate the user's home directory. But the error message has been improved. We'll consider this issue closed.

    Check-in e00a5de0f143bb7dad565e11f646f87bb1ae66b9

  2. Change resolution to "Fixed"
  3. Change status to "Fixed"
Ticket change [37c772e8bd] (rid 4789) by bharder on 2009-06-15 03:20:49:
  1. Appended to comment:

    bharder added on 2009-06-15 03:20:49:
    re: cryptic message: yes. Fixed in checkin 16eae22891.

Ticket change [e3aed99cd3] (rid 4788) by anonymous on 2009-06-15 03:08:21:
  1. Appended to comment:

    anonymous added on 2009-06-15 03:08:21:
    Setting the HOME variable worked, thanks bharder.

    I'm reclassing this as a doc bug, because at minimum there should be some mention that the clone command requires that the HOME var be set. But I would suggest eliminating the requirement in the code. I don't see any reason why it would be a necessity.

    Also, I'll guess that the cryptic error message quoted above was intended to read: "cannot locate home directory."

  2. Change severity to "Minor"
  3. Change type to "Documentation"
Ticket change [355010c36a] (rid 4773) by bharder on 2009-06-14 15:08:30:
  1. Appended to comment:

    bharder added on 2009-06-14 15:08:30:
    Try manually setting the HOME environment variable to an appropriate value for the user your want to be.

  2. Change resolution to "Open"
Ticket change [8c6613edf9] (rid 4772) by anonymous on 2009-06-14 09:04:59:
  1. Change comment to "I try to run a clone command to create a local repository in a startup script which runs at boot. The command fails, and when standard error is redirected to a file, the cryptic message "fossil: cannot local home directory" is found. The same command succeeds when run from the command line while logged in at a terminal. The command looks like: fossil clone http://<user>:<pass>@localhost:7071 /home/<user>/fossil/repository.fsl The script is run as root, the directory /home/<user>/fossil exists, a local tunnel is created to a remote repository via ssh. For debugging purposes, I edited the startup script so that the clone command is in a while loop as long as repository.fsl doesn't exist. While the startup script was stuck in the loop, I logged in and executed the clone command on the command line as root, and it worked fine. This suggests there is no problem with the tunnel or environment."
  2. Change foundin to "fossil-linux-x86-767ae79c3d"
  3. Change private_contact to "22e3b7a55e291d179313f4c2e34877f09743ee31"
  4. Change severity to "Severe"
  5. Change status to "Open"
  6. Change title to "can't run fossil clone command when not at tty"
  7. Change type to "Code_Defect"