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

Bash is missing the required /etc/skel data on new ISOs #3795

Open
HarveyDevel opened this issue Sep 11, 2024 · 1 comment
Open

Bash is missing the required /etc/skel data on new ISOs #3795

HarveyDevel opened this issue Sep 11, 2024 · 1 comment
Labels
Bug Something isn't working Priority: High High priority
Milestone

Comments

@HarveyDevel
Copy link
Member

Issue

On newly created ISOs /etc/skel/ does not contain the required files so ~/.profile is never copied to the users home directory upon account creation, resulting in /usr/share/defaults/etc/profile never being sourced.

Cause

It was not included in the ypkg conversion of baselayout

Considerations

We can not touch baselayout until epoch repo is in place given there are various install states in the wild.

Possible solution

Ship the files in bash. Existing installs will be on release 76 of baselayout or higher (I am on 81) which is post ypkg conversion so conflicts should not occur.

@HarveyDevel HarveyDevel added Bug Something isn't working Priority: High High priority labels Sep 11, 2024
@HarveyDevel HarveyDevel added this to the Solus 4.6 milestone Sep 11, 2024
@HarveyDevel
Copy link
Member Author

Ikey pointed out:

The solus bash patch is broken
I tried a new approach in the serpent pkg:
https://github.com/serpent-os/recipes/blob/main/b/bash/pkg/stateless.patch
Also see the bashrc and profile files
They'll conditionally load stuff if necessary
Just need to add the checks for ~/.bashrc in the vendor profile files basically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Priority: High High priority
Projects
Status: Triage
Development

No branches or pull requests

1 participant