[New-bugs-announce] [issue45960] bullseye arm/v7 time.time() Operation not permitted

Sascha Hesse report at bugs.python.org
Thu Dec 2 03:42:21 EST 2021


New submission from Sascha Hesse <py at mnm-solutions.de>:

Given a docker container on raspbian 10.11
based on bullseye:

docker run --rm -it --entrypoint sh python:3.10-slim

time.time() fails with error

# python
Python 3.10.0 (default, Nov 18 2021, 00:56:34) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.time()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
PermissionError: [Errno 1] Operation not permitted

based on buster:

docker run --rm -it --entrypoint sh python:3.10-slim-buster

# python
Python 3.10.0 (default, Nov 18 2021, 02:00:41) [GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.time()
1638433441.9555993
>>> exit()
#

works as expected

----------
components: Interpreter Core
messages: 407515
nosy: SaschaJohn
priority: normal
severity: normal
status: open
title: bullseye arm/v7 time.time() Operation not permitted
type: behavior
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45960>
_______________________________________


More information about the New-bugs-announce mailing list