Skip to content
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

- handle rootprefix when reading fstab, crypttab and mdadm.conf #884

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

aschnell
Copy link
Member

Needed for https://github.com/yast/yast-in-container. Further changes are needed.

@ancorgs
Copy link
Member

ancorgs commented Jun 23, 2022

I hacked YaST like this yast/yast-storage-ng#1305 to give this a try.

I also had to install some additional packages in the container image like lvm2, e2fsprogs, btrfsprogs, xfsprogs, cryptsetup, etc.

It almost worked. Probing looked fine but it failed during the commit phase very likely because all calls to udevadm settle resulted in:

Running in chroot, ignoring request.

I'm attaching the full logs in case they are useful:

y2logs-failed.txt

@aschnell
Copy link
Member Author

I also did some tests and LVM seems to have a problem with the setup: The device nodes for logical volumes does not appear (could be a problem of udev).

Another problem I noticed is that mounting a file system in the container works but of course it is not mounted in the host as the user would expect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants