Bug#1065035: mkosi: Fails with `flock: failed to execute newuidmap: No such file or directory`
Paul Menzel
pmenzel at molgen.mpg.de
Thu Feb 29 06:11:19 GMT 2024
Package: mkosi
Version: 20.2-1
Severity: normal
Dear Debian folks,
I tried to use mkosi, but it fails with the error below.
$ mkosi --output-dir=/scratch/local2/pmenzel/mkosi
flock: failed to execute newuidmap: No such file or directory
flock: failed to execute newgidmap: No such file or directory
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mkosi/run.py", line 162, in
uncaught_exception_handler
yield
File "/usr/lib/python3/dist-packages/mkosi/run.py", line 203, in
fork_and_wait
target()
File "/usr/lib/python3/dist-packages/mkosi/__init__.py", line
3555, in <lambda>
fork_and_wait(lambda: run_clean(args, config))
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkosi/__init__.py", line
3422, in run_clean
become_root()
File "/usr/lib/python3/dist-packages/mkosi/run.py", line 124, in
become_root
os.setresuid(0, 0, 0)
OSError: [Errno 22] Invalid argument
Kind regards,
Paul
More information about the Pkg-systemd-maintainers
mailing list