void-mklive icon indicating copy to clipboard operation
void-mklive copied to clipboard

Maybe installer could configure users from inside the chroot?

Open ElPresidentePoole opened this issue 4 years ago • 7 comments

When running void-installer, once you get to the Installation Source step (pictured below), if you choose Network the resulting install will not change the root's password and will not create the user specified in "UserAccount" (also pictured below).

Installation Source

UserAccount

Here's the bug in action:

Bug in action

I think it might be time to update the live image. I got bit reinstalling Void, and I don't think new users should have to chroot in to fix their freshly installed system.

ElPresidentePoole avatar Jan 16 '21 19:01 ElPresidentePoole

I think it might be time to update the live image.

Have you checked if this is working correctly for a freshly baked ISO?

ericonr avatar Jan 18 '21 20:01 ericonr

I think it might be time to update the live image.

Have you checked if this is working correctly for a freshly baked ISO?

Yes, with a brand new iso it works as expected.

ElPresidentePoole avatar Jan 19 '21 08:01 ElPresidentePoole

Which ISOs have you tested? They are in the testing phase for now.

ericonr avatar Jan 19 '21 20:01 ericonr

Which ISOs have you tested? They are in the testing phase for now.

What do you mean? I just made a new iso myself.

void-live-x86_64-5.10.8_1-20210119.iso

e: However, I DID have to manually install dialog.

ElPresidentePoole avatar Jan 20 '21 22:01 ElPresidentePoole

Yes, listed in https://alpha.de.repo.voidlinux.org/live/20201224/

They aren't all tested, though.

ericonr avatar Jan 21 '21 03:01 ericonr

The error message for this during installation https://www.reddit.com/r/voidlinux/comments/l2nwhk/error_during_installation_it_wont_create_an_user/

chpasswd: PAM: Module is unknown
configuration error - unknown item 'HOME_MODE' (notify administrator)

Likely caused by some mismatch with host PAM being older than the chroot PAM.

ericonr avatar Jan 23 '21 00:01 ericonr

I'm repurposing this issue to allow this to work in the long term, instead of requiring new images for weird breaking changes like these. If user configuration happens from inside the chroot, there won't be any version mismatch.

ericonr avatar Feb 17 '21 19:02 ericonr