-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
homectl create user fails (Transport endpoint is not conected) #151
Comments
Relevant info to review alis commands with the provided configuration. https://wiki.archlinux.org/title/Systemd-homed#LUKS_home_directory |
Good info. Now I'm in no way strong in this, but at what point in the code, is the Does it have to be initiated through luks |
I think the problem is that systemd-homed for the luks storage expects the user home directory to be stored in "inside an encrypted LUKS volume inside a loopback file or any removable media". For create the luks loopback file maybe the gist is usefull and maybe in --image-path/IMAGE_PATH must be specified that loopback file, but not sure also. |
Yeah, I think you're exactly right. |
I think now should work as expected. |
Wow, You're fast :) It seems to me, that |
Another try to solve Transport endpoint is not conected. Some magic "sleep 5" inserted. |
Just tested it, same output. I see the |
I will try again, I do my testing in VirtualBox. Are you trying in a virtual machine? When fails, What is the output of this command for you? Is that service in good state?
|
No, I'm testing on physical hardware. Yeah, |
Tested again, no problem in VirtualBox, using this config https://github.com/picodotdev/alis/blob/master/packer/alis-packer-efi-ext4-luks-lvm-systemd-systemdhomed.sh (only has defaults changes). But anyway I incremented the sleep time from 5 to 10. Can you attach your full configuration file and describe your computer specs? |
Same result - Conf file: Computer specs: |
Tested in VirtualBox with exact same configuration you provided. There was a error in alis in the shell change to zsh for root user when using systemd-homed that I fixed, but that is a step latter to your case. In any case the system after reboot worked fine. I have no clues, need anyone, that what is happening in your ThinkPad. Maybe you can attach a screenshot/photo or if you can do a test in VirtualBox or virtual machine. |
Hmm.. okay. Though, I don't think password length is the issue, the one I took a picture of was the first install with a short password. Previously I've been using long (+12 character) passwords - The What did you change to reproduce? |
I think use test3 instead archlinux as password for homectl and LUKS_PASSWORD, ROOT_PASSWORD, USER_PASSWORD was the only change that I did, the other case can be that I missed to type test3 or on repeat. |
I did one more test using test3 as password, you were right that was not the issue as my test finalized correctly. So, I really dont have clues what happened in the test that failed for me with the same error as you. Also, is strange that for me works and for you fails always in the same point with the same error. The only thing that I change in this last working test to you configuration was the SWAP_SIZE from 4096 to 1024. But also may be is a false clue. The only suggestion for you is that you use other configuration if you dont have any new clue. |
Yeah, I'm not sure I'll go with homed anyways. Thank you for all your work on this, and thank you for helping me! I'll let you know if I figure it out. |
I'm installing with the following relevant (imo) options:
Unfortunately it fails upon
homectl create user
withOperation on home <user> failed: Transport endpoint is not connected
andhomectl activate <user>
withOperation on home <user> failed: No home for user <user> known
and lastlycp -a /home/ginner.home/. /mnt/home/ginner.home
fails withNo such file or directory
.I think maybe you alludes to this in the code with:
I tried rebooting and running the commands manually, without luck.
Any help is very appreciated! Thank you for your excellent work on this 'script' :)
The text was updated successfully, but these errors were encountered: