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

flatpak breaks the assumption that no two processes can have the same pid while running #1859

Closed
cmollekopf opened this issue Jul 6, 2018 · 2 comments

Comments

@cmollekopf
Copy link

Linux distribution and version

All

Flatpak version

All

Description of the problem

flatpak breaks the assumption that no two processes can have the same pid while running,
Point in case: https://phabricator.kde.org/T8063
The problem is that the files are shared but the pid-space is not.

This is perhaps rather a documentation issue than something that can be solved.
Another approach would be to allow a flatpak to specify that only a single instance can ever run.
Or of course, don't break the assumption, but I doubt that's feasible.

Don't know if this is an issue that affects other applications, but it's something to be aware of.

Steps to reproduce

@matthiasclasen
Copy link
Collaborator

ever since the appearance of pid namespaces in the kernel, that is not a valid assumption anymore

@cmollekopf
Copy link
Author

Right, thanks for the clarification.

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