Skip to content

portal: --env-fd is leaked #4285

Closed

Description

@smcv

Linux distribution and version

any up-to-date, reproduced on Debian unstable

Flatpak version

1.10.0+ (regression in aeb6a7a), 1.8.5+, and distro versions with aeb6a7a backported

Description of the problem

The --env-fd created for flatpak run by flatpak-portal is leaked, so flatpak-portal will eventually run out of fds.

Steps to reproduce

Run flatpak-portal with -vr. Repeatedly run flatpak-spawn --env=FOO=bar true from a Flatpak app. Observe the --env-fd becoming numerically larger.

Fixed in #4283.

Activity

  1. added a commit that references this issue on May 21, 2021
    5eb1137
  2. added a commit that references this issue on May 25, 2021
    f2fbc75
  3. added a commit that references this issue on May 31, 2021
    4df482e
  4. added 4 commits that reference this issue on Jun 16, 2021
    55d22ba
    2723163
    66777ab
    b4c6aa1
  5. added a commit that references this issue on Oct 11, 2021
    9a0fa38
  6. added 3 commits that reference this issue on Oct 26, 2021
    2c847f6
    3e0ee2e
    0f0c54b
  7. added a commit that references this issue on Jan 21, 2022
    b649c79
  8. added a commit that references this issue on Jan 27, 2022
    8bbb89d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions