Skip to content

Add support for systemd-homed setup for user backup / restore #5

Description

@fcrozat

When reinstalling a system where user account was handled by systemd-homed, we can leverage homectl feature to do 99% of the migration on its own:

  • no need to backup /etc/passwd,/etc/shadow, /etc/group. Instead, we can use homectl inspect -EE on the old system and use the output to homectl create -i . -E or -EE will strip part of the cryptographic keys (we need to decide if the original system keys should be migrated or not).
  • homectl can also give the location of the homedir data, allowing the migration script or either do the btrfs send-receive copy or detect if luks container is used and give its path so it can be copied on the install key.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions