Skip to content

"import random" blocks on entropy collection on Linux with low entropy #69606

@matejcik

Description

@matejcik
mannequin
BPO 25420
Nosy @malemburg, @rhettinger, @vstinner, @matejcik, @socketpair, @tpetazzoni
Superseder
  • bpo-26839: Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()
  • Files
  • urandom.patch
  • random.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2016-04-26.12:11:44.887>
    created_at = <Date 2015-10-16.13:49:56.307>
    labels = ['type-bug', 'library']
    title = '"import random" blocks on entropy collection on Linux with low entropy'
    updated_at = <Date 2016-04-26.12:11:44.886>
    user = 'https://github.com/matejcik'

    bugs.python.org fields:

    activity = <Date 2016-04-26.12:11:44.886>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-04-26.12:11:44.887>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2015-10-16.13:49:56.307>
    creator = 'matejcik'
    dependencies = []
    files = ['40816', '40820']
    hgrepos = []
    issue_num = 25420
    keywords = ['patch']
    message_count = 20.0
    messages = ['253073', '253163', '253178', '253180', '253205', '253206', '253209', '253212', '253214', '253222', '253230', '253232', '256913', '256916', '256935', '264227', '264257', '264260', '264262', '264264']
    nosy_count = 6.0
    nosy_names = ['lemburg', 'rhettinger', 'vstinner', 'matejcik', 'socketpair', 'thomas-petazzoni']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '26839'
    type = 'behavior'
    url = 'https://bugs.python.org/issue25420'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions