Your message dated Fri, 8 Jun 2018 12:35:21 +0000
with message-id <[email protected]>
and subject line fixed in 0.85
has caused the Debian Bug report #895380,
regarding [piuparts] Create ${ENV}/dev/ptmx path if it doesn't exist
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
895380: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895380
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: piuparts
Version: 0.84
Severity: normal
Tags: patch
Hi holger, piuparts just check if it is a link but when you export a chroot
from a docker container, this path doesn't exists.
Cheers,
--
TiN
From ebb471f5ab6a34a3558c9e8e0c2598179909ff59 Mon Sep 17 00:00:00 2001
From: Agustin Henze <[email protected]>
Date: Tue, 10 Apr 2018 16:58:55 -0300
Subject: [PATCH 2/2] Create ${ENV}/dev/ptmx path if it doesn't exist
Signed-off-by: Agustin Henze <[email protected]>
---
piuparts.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/piuparts.py b/piuparts.py
index 16df93d7..d9a3428a 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -1751,7 +1751,11 @@ class Chroot:
if not os.path.lexists(etcmtab):
os.symlink("../proc/mounts", etcmtab)
self.mount("devpts", "/dev/pts", fstype="devpts", opts="newinstance,noexec,nosuid,gid=5,mode=0620,ptmxmode=0666")
- if not os.path.islink(self.relative("dev/ptmx")):
+ dev_ptmx_rel_path = self.relative("dev/ptmx")
+ if not os.path.islink(dev_ptmx_rel_path):
+ if not os.path.exists(dev_ptmx_rel_path):
+ with open(dev_ptmx_rel_path, 'w'):
+ pass
self.mount(self.relative("dev/pts/ptmx"), "/dev/ptmx", opts="bind", no_mkdir=True)
p = subprocess.Popen(["tty"], stdout=subprocess.PIPE)
stdout, _ = p.communicate()
--
2.17.0
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
version: 0.85
piuparts (0.85) unstable; urgency=medium
[ Agustin Henze ]
* piuparts.py:
- Add docker support, new param is introduced `--docker-image`.
(Closes: #893731)
- Deprecate --keep-tmpdir in favor of --keep-env (Closes: #894232)
- Create ${ENV}/dev/ptmx path if it doesn't exist (Closes: 895380)
- Create ${ENV}/dev/null if it doesn't exist ASAP (Closes: 895379)
* Add `docker.io` as suggested package.
* Reworded documentation for `--keep-env` and `--schroot` parameters.
[ Holger Levsen ]
* dwke.py: change logging to make relevant information more visible.
* detect_*_issues.in: improve output.
* report_untestable_packages.in: improve output.
* piuparts.1.txt: improve wording for docker related changes and add
explaination about the limitations of docker support.
* Bump standards version to 4.1.4, no changes needed.
-- Holger Levsen <[email protected]> Sat, 14 Apr 2018 17:39:13 -0300
--
cheers,
Holger
signature.asc
Description: PGP signature
--- End Message ---