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

Confinement workaround patches for the KDiskMark snap #90

Closed
brlin-tw opened this issue Sep 1, 2022 · 3 comments
Closed

Confinement workaround patches for the KDiskMark snap #90

brlin-tw opened this issue Sep 1, 2022 · 3 comments

Comments

@brlin-tw
Copy link

brlin-tw commented Sep 1, 2022

Hello, recently I found your snap packaging implementation, try building it, and made some patches that will make it run and (with some limitations) run some tests on my storage device. You may check out the patches at my fork's branch.

Known issues:

  • Settings > Flush pagecache option can't be enabled due to unavailable confinement interfaces that would properly enable so
  • File > Save option will cause the application to hang
  • Theme > Stylesheet Dark option doesn't have expected result

It may be possible to temporarily apply for classic confinement if the application can't be made into strict confinement due to snapd's own confinement interface limitations according to the Process for reviewing classic confinement snaps:

Criteria

This lists some criteria that might require classic (non-exhaustive):

  • access to resources not yet supported by snapd and where the requirement is clearly understood to be supportable by snapd. This may result in temporarily granting classic until snapd supports the use case in strict mode

Cheers!

@brlin-tw
Copy link
Author

brlin-tw commented Sep 1, 2022

Closing as this is merely an informative notice that is not essentially related to this project.

@brlin-tw brlin-tw closed this as completed Sep 1, 2022
@JonMagon
Copy link
Owner

JonMagon commented Sep 1, 2022

Hello. Thanks for the investigation. I'll try your commits

@JonMagon
Copy link
Owner

JonMagon commented Sep 7, 2022

Even as sudo, the application cannot write to protected directories. The snap restrictions are very strong, but I intend to bring the package back.

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

No branches or pull requests

2 participants