Closed joatmor closed 4 years ago
Did you happen to mount the home dataset? I imagine that would be the problem.
mount -t zfs "zroot/data/home" "${installdir}/home"
I ran a "zfs list" and saw zroot/data/home listed so I though that the dataset was in fact mounted. Maybe that was the wrong approach. What would you suggest?
On Aug 6 2020, at 10:06 pm, John notifications@github.com wrote:
Did you happen to mount the home dataset? I imagine that would be the problem. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/9AD290D1-D56F-459F-9AD4-AFE4ACFE4AEF@getmailspring.com/0?redirect=https%3A%2F%2Fgithub.com%2Fdanboid%2FALEZ%2Fissues%2F62%23issuecomment-670280662&recipient=cmVwbHkrQUNCTUFBM0FFWVM0SEVWRFBGUUROSVY1SENNQjVFVkJOSEhDUU5ZTENRQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/9AD290D1-D56F-459F-9AD4-AFE4ACFE4AEF@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACBMAA3AE4KLMB3WX522JOTR7NOR5ANCNFSM4PXEVDBA&recipient=cmVwbHkrQUNCTUFBM0FFWVM0SEVWRFBGUUROSVY1SENNQjVFVkJOSEhDUU5ZTENRQHJlcGx5LmdpdGh1Yi5jb20%3D).
To see mounted:
zfs mount
I did a "mount -t zfs zroot/data/home /mnt/home" before chrooting and that fixed it.
I tried adding my user account while chrooted with "useradd -m -g users -G wheel -s /bin/bash lenny" as I have dome for some time. I could see my home directory at /home/lenny and the permissions looked good. However when I rebooted and tried to log in I got an error stating that I had no home directory. When I looked /home/lenny was no longer visible. I tried adding my user account by running "useradd -d /home/lenny -g users -G wheel -s /bin/bash lenny" instead but that did not work either. I was able to confirm this by doing a couple of passes on my test system. For what its worth I launched ALEZ with "alez 2> ~/error.log" to see if it would capture anything. What I got was: