Skip to content
Commits on Source (4)
piuparts (0.93) UNRELEASED; urgency=medium
piuparts (0.94) UNRELEASED; urgency=medium
[ Mathieu Parent ]
* Create /dev/ptmx like debootstrap does (Closes: #911334): When the chroot is
created from the Docker image debian:unstable, /dev/ptmx is missing.
Piuparts was creating it with a bindmount to ptx/ptmx which leads
scripts/pre_remove_50_find_bad_permissions to complain about
"BAD PERMISSIONS" on /dev/ptmx. Now created with mknod, failing back to a
symlink
-- Holger Levsen <holger@debian.org> Sun, 21 Oct 2018 14:03:22 +0200
piuparts (0.93) unstable; urgency=medium
[ Andreas Beckmann ]
* piuparts.py:
......@@ -39,14 +51,14 @@ piuparts (0.93) UNRELEASED; urgency=medium
- Drop references to "PTS" and use "tracker.d.o" instead.
- Add link to piuparts source package pages from known problem pages.
- Minor cleanups.
* htdocs/bug_howto.tpl: some improvements, it's been some years.
* htdocs/news.tpl: confirm #582630 has been fixed.
* Use the new debhelper-compat(=11) notation and drop d/compat.
* CONTRIBUTING: explain never to directly push to the develop nor master
branch. Explain to always include a debian/changelog entry with patches.
Explain to always test patches and to explain that testing has happened.
* htdocs/bug_howto.tpl: some improvements, it's been some years.
* htdocs/news.tpl: confirm #582630 has been fixed.
-- Holger Levsen <holger@debian.org> Sat, 22 Sep 2018 15:32:55 +0200
-- Holger Levsen <holger@debian.org> Sun, 21 Oct 2018 13:24:09 +0200
piuparts (0.92) unstable; urgency=medium
......
......@@ -7,6 +7,6 @@ ISSUE=0
HEADER='Packages with failed logs because a logrotate script has output and/or exits with error after the package has been removed'
HELPTEXT='
<p>
The logrotate configuration cause output and/or exit with error when the package has been removed but not purged.
The logrotate configuration causes output and/or exits with error when the package has been removed but not purged.
</p>
'
......@@ -1757,8 +1757,7 @@ class Chroot:
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
os.mknod(dev_ptmx_rel_path, 0666 | stat.S_IFCHR, os.makedev(5, 2))
self.mount(self.relative("dev/pts/ptmx"), "/dev/ptmx", opts="bind", no_mkdir=True)
p = subprocess.Popen(["tty"], stdout=subprocess.PIPE)
stdout, _ = p.communicate()
......