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

Prevent sysctl use in any lxc container #26

Open
wants to merge 2 commits into
base: testing
Choose a base branch
from

Conversation

autra
Copy link

@autra autra commented Feb 10, 2022

I often use ./ynh-dev and lxc containers to experiment, test, bugfix yunohost and applications. For this reason I propose to exclude sysctl exclusion on all lxc containers, not only in package_check CI.

This will allow me to restore backups taken from my instance in test instances, for example.

Thanks!

@autra
Copy link
Author

autra commented Feb 10, 2022

!testme

@yunohost-bot
Copy link
Contributor

Alrighty!
Test Badge

@fflorent
Copy link
Contributor

fflorent commented Jan 5, 2023

Your patch looks good to me (FWIW, I am not the maintainer of this app).

I'd just suggest to also remove the IS_PACKAGE_CHECK definition in _common.sh.

@Salamandar Salamandar force-pushed the prevent_systctl_in_all_container branch from 260b6b1 to 4b8e905 Compare January 24, 2024 18:12
@Salamandar
Copy link
Member

Rebased on latest testing.

@Salamandar
Copy link
Member

!testme

@yunohost-bot
Copy link
Contributor

✌️
Test Badge

@autra
Copy link
Author

autra commented Feb 13, 2024

I'd just suggest to also remove the IS_PACKAGE_CHECK definition in _common.sh.

I missed this comment! Indeed...

I pushed a commit that removes _common.sh, as it is now empty.

@autra autra force-pushed the prevent_systctl_in_all_container branch from 283722a to 1602d10 Compare February 14, 2024 08:00
@autra
Copy link
Author

autra commented Feb 14, 2024

actually backtracking : I just removed the package check bypassing but I kept common.sh, until I hear from a reviewer, as it is in example_ynh.

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.

None yet

4 participants