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

Move OEM mount point out of /usr #766

Closed
pothos opened this issue Jun 8, 2022 · 2 comments
Closed

Move OEM mount point out of /usr #766

pothos opened this issue Jun 8, 2022 · 2 comments
Assignees
Labels
area/sysext sysext roadmap kind/feature A feature request

Comments

@pothos
Copy link
Member

pothos commented Jun 8, 2022

Current situation

The OEM partition is mounted under /usr/share/oem/ which requires a workaround for systemd-sysext because the management of the overlay mounts on /usr results in the OEM mount point to be lost without the workaround.

Impact

We had to add a special handling for the OEM mount point in the systemd-sysext service. Users manually invoking systemd-sysext will lose the partition mount - while we don't support manual usage of the CLI command for the reason that it doesn't reload and start new services, this is a lesser evil than a broken system because of the OEM partition being inaccessible.

Ideal future situation

We can drop the special handling because the OEM partition is mounted elsewhere, e.g., under /oem/ and a symlink from /usr/share/oem/ exists for backwards compatibility.

Implementation options

Additional information

/usr/lib/systemd/system/systemd-sysext.service.d/10-mount-oem-partition.conf is the workaround

@pothos pothos added the kind/feature A feature request label Jun 8, 2022
@pothos pothos changed the title [RFE] Move OEM mount point out of /usr Move OEM mount point out of /usr Jun 8, 2022
@pothos pothos added the area/sysext sysext roadmap label Mar 24, 2023
@pothos
Copy link
Member Author

pothos commented Apr 4, 2023

Since we also mount the OEM partition from the initrd under /sysroot, something like /oem would be a good new mountpoint.

@krnowak krnowak self-assigned this Apr 4, 2023
@krnowak
Copy link
Member

krnowak commented Apr 4, 2023

Since we also mount the OEM partition from the initrd under /sysroot, something like /oem would be a good new mountpoint.

Yeah, that's what I'm using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sysext sysext roadmap kind/feature A feature request
Projects
None yet
Development

No branches or pull requests

2 participants