Activity log for bug #1778547

Date Who What changed Old value New value Message
2018-06-25 15:16:26 Julian Andres Klode bug added bug
2018-06-25 15:16:31 Julian Andres Klode apt (Ubuntu): status New Fix Committed
2018-06-25 15:16:42 Julian Andres Klode nominated for series Ubuntu Bionic
2018-06-25 15:16:42 Julian Andres Klode bug task added apt (Ubuntu Bionic)
2018-06-25 15:16:42 Julian Andres Klode nominated for series Ubuntu Artful
2018-06-25 15:16:42 Julian Andres Klode bug task added apt (Ubuntu Artful)
2018-06-25 15:16:42 Julian Andres Klode nominated for series Ubuntu Xenial
2018-06-25 15:16:42 Julian Andres Klode bug task added apt (Ubuntu Xenial)
2018-06-25 15:20:28 Julian Andres Klode apt (Ubuntu Bionic): status New Triaged
2018-06-25 15:20:43 Julian Andres Klode apt (Ubuntu Artful): status New Confirmed
2018-06-25 15:20:46 Julian Andres Klode apt (Ubuntu Xenial): status New Confirmed
2018-06-25 15:22:31 Julian Andres Klode description System lock unrefing is broken, off-by-one error. [Impact] System lock unrefing is broken, off-by-one error. Locking twice opens a second fd for the lock file, and the old fd gets lost and remains open for the remaining duration of the program [Test case] TODO [Regression potential] TODO
2018-06-25 17:40:12 Balint Reczey bug added subscriber Balint Reczey
2018-06-26 07:35:33 Julian Andres Klode description [Impact] System lock unrefing is broken, off-by-one error. Locking twice opens a second fd for the lock file, and the old fd gets lost and remains open for the remaining duration of the program [Test case] TODO [Regression potential] TODO [Impact] System lock unrefing is broken, off-by-one error. Locking twice opens a second fd for the lock file, and the old fd gets lost and remains open for the remaining duration of the program [Test case] Executing the following script should show one lock file in the first line, and none in the last line. def maybe_readlink(path): try: return os.readlink("/proc/self/fd/" + p) except: return "<deleted>" import os, apt_pkg apt_pkg.init() apt_pkg.pkgsystem_lock() apt_pkg.pkgsystem_lock() apt_pkg.pkgsystem_unlock() apt_pkg.pkgsystem_unlock() print([(p, maybe_readlink("/proc/self/fd/" + p)) for p in os.listdir("/proc/self/fd")]) [Test output] good, cosmic: [('0', '/dev/pts/2'), ('1', '/dev/pts/2'), ('2', '/dev/pts/2'), ('3', '/var/lib/dpkg/lock'), ('4', '<deleted>')] [('0', '/dev/pts/2'), ('1', '/dev/pts/2'), ('2', '/dev/pts/2'), ('3', '<deleted>')] bad, bionic: [('0', '/dev/pts/0'), ('1', '/dev/pts/0'), ('2', '/dev/pts/0'), ('3', 'pipe:[40889331]'), ('4', '/var/lib/dpkg/lock'), ('5', '/var/lib/dpkg/lock'), ('6', '<deleted>'), ('17', 'socket:[53931]')] [('0', '/dev/pts/0'), ('1', '/dev/pts/0'), ('2', '/dev/pts/0'), ('3', 'pipe:[40889331]'), ('4', '/var/lib/dpkg/lock'), ('5', '<deleted>'), ('17', 'socket:[53931]')] [Regression potential] A locking change can potentially break locking, but this one seems like an obvious off-by-one error.
2018-06-26 07:43:35 Julian Andres Klode apt (Ubuntu Bionic): status Triaged In Progress
2018-06-26 11:08:54 Julian Andres Klode apt (Ubuntu Artful): status Confirmed In Progress
2018-06-26 11:08:56 Julian Andres Klode apt (Ubuntu Xenial): status Confirmed In Progress
2018-06-27 15:38:50 Chris J Arges apt (Ubuntu Xenial): status In Progress Fix Committed
2018-06-27 15:38:53 Chris J Arges bug added subscriber Ubuntu Stable Release Updates Team
2018-06-27 15:38:56 Chris J Arges bug added subscriber SRU Verification
2018-06-27 15:39:00 Chris J Arges tags verification-needed verification-needed-xenial
2018-06-27 15:41:38 Chris J Arges apt (Ubuntu Artful): status In Progress Fix Committed
2018-06-27 15:41:43 Chris J Arges tags verification-needed verification-needed-xenial verification-needed verification-needed-artful verification-needed-xenial
2018-06-27 15:44:56 Chris J Arges apt (Ubuntu Bionic): status In Progress Fix Committed
2018-06-27 15:45:00 Chris J Arges tags verification-needed verification-needed-artful verification-needed-xenial verification-needed verification-needed-artful verification-needed-bionic verification-needed-xenial
2018-06-28 09:03:18 Julian Andres Klode description [Impact] System lock unrefing is broken, off-by-one error. Locking twice opens a second fd for the lock file, and the old fd gets lost and remains open for the remaining duration of the program [Test case] Executing the following script should show one lock file in the first line, and none in the last line. def maybe_readlink(path): try: return os.readlink("/proc/self/fd/" + p) except: return "<deleted>" import os, apt_pkg apt_pkg.init() apt_pkg.pkgsystem_lock() apt_pkg.pkgsystem_lock() apt_pkg.pkgsystem_unlock() apt_pkg.pkgsystem_unlock() print([(p, maybe_readlink("/proc/self/fd/" + p)) for p in os.listdir("/proc/self/fd")]) [Test output] good, cosmic: [('0', '/dev/pts/2'), ('1', '/dev/pts/2'), ('2', '/dev/pts/2'), ('3', '/var/lib/dpkg/lock'), ('4', '<deleted>')] [('0', '/dev/pts/2'), ('1', '/dev/pts/2'), ('2', '/dev/pts/2'), ('3', '<deleted>')] bad, bionic: [('0', '/dev/pts/0'), ('1', '/dev/pts/0'), ('2', '/dev/pts/0'), ('3', 'pipe:[40889331]'), ('4', '/var/lib/dpkg/lock'), ('5', '/var/lib/dpkg/lock'), ('6', '<deleted>'), ('17', 'socket:[53931]')] [('0', '/dev/pts/0'), ('1', '/dev/pts/0'), ('2', '/dev/pts/0'), ('3', 'pipe:[40889331]'), ('4', '/var/lib/dpkg/lock'), ('5', '<deleted>'), ('17', 'socket:[53931]')] [Regression potential] A locking change can potentially break locking, but this one seems like an obvious off-by-one error. [Impact] System lock unrefing is broken, off-by-one error. Locking twice opens a second fd for the lock file, and the old fd gets lost and remains open for the remaining duration of the program [Test case] Executing the following script should show one lock file in the first line, and none in the last line. def maybe_readlink(path):   try:     return os.readlink(path)   except:     return "<deleted>" import os, apt_pkg apt_pkg.init() apt_pkg.pkgsystem_lock() apt_pkg.pkgsystem_lock() apt_pkg.pkgsystem_unlock() apt_pkg.pkgsystem_unlock() print([(p, maybe_readlink("/proc/self/fd/" + p)) for p in os.listdir("/proc/self/fd")]) [Test output] good, cosmic: [('0', '/dev/pts/2'), ('1', '/dev/pts/2'), ('2', '/dev/pts/2'), ('3', '/var/lib/dpkg/lock'), ('4', '<deleted>')] [('0', '/dev/pts/2'), ('1', '/dev/pts/2'), ('2', '/dev/pts/2'), ('3', '<deleted>')] bad, bionic: [('0', '/dev/pts/0'), ('1', '/dev/pts/0'), ('2', '/dev/pts/0'), ('3', 'pipe:[40889331]'), ('4', '/var/lib/dpkg/lock'), ('5', '/var/lib/dpkg/lock'), ('6', '<deleted>'), ('17', 'socket:[53931]')] [('0', '/dev/pts/0'), ('1', '/dev/pts/0'), ('2', '/dev/pts/0'), ('3', 'pipe:[40889331]'), ('4', '/var/lib/dpkg/lock'), ('5', '<deleted>'), ('17', 'socket:[53931]')] [Regression potential] A locking change can potentially break locking, but this one seems like an obvious off-by-one error.
2018-06-28 09:04:43 Julian Andres Klode description [Impact] System lock unrefing is broken, off-by-one error. Locking twice opens a second fd for the lock file, and the old fd gets lost and remains open for the remaining duration of the program [Test case] Executing the following script should show one lock file in the first line, and none in the last line. def maybe_readlink(path):   try:     return os.readlink(path)   except:     return "<deleted>" import os, apt_pkg apt_pkg.init() apt_pkg.pkgsystem_lock() apt_pkg.pkgsystem_lock() apt_pkg.pkgsystem_unlock() apt_pkg.pkgsystem_unlock() print([(p, maybe_readlink("/proc/self/fd/" + p)) for p in os.listdir("/proc/self/fd")]) [Test output] good, cosmic: [('0', '/dev/pts/2'), ('1', '/dev/pts/2'), ('2', '/dev/pts/2'), ('3', '/var/lib/dpkg/lock'), ('4', '<deleted>')] [('0', '/dev/pts/2'), ('1', '/dev/pts/2'), ('2', '/dev/pts/2'), ('3', '<deleted>')] bad, bionic: [('0', '/dev/pts/0'), ('1', '/dev/pts/0'), ('2', '/dev/pts/0'), ('3', 'pipe:[40889331]'), ('4', '/var/lib/dpkg/lock'), ('5', '/var/lib/dpkg/lock'), ('6', '<deleted>'), ('17', 'socket:[53931]')] [('0', '/dev/pts/0'), ('1', '/dev/pts/0'), ('2', '/dev/pts/0'), ('3', 'pipe:[40889331]'), ('4', '/var/lib/dpkg/lock'), ('5', '<deleted>'), ('17', 'socket:[53931]')] [Regression potential] A locking change can potentially break locking, but this one seems like an obvious off-by-one error. [Impact] System lock unrefing is broken, off-by-one error. Locking twice opens a second fd for the lock file, and the old fd gets lost and remains open for the remaining duration of the program [Test case] Executing the following script should show one lock file in the first line, and none in the last line. def maybe_readlink(path):   try:     return os.readlink(path)   except:     return "<deleted>" import os, apt_pkg apt_pkg.init() apt_pkg.pkgsystem_lock() apt_pkg.pkgsystem_lock() print([(p, maybe_readlink("/proc/self/fd/" + p)) for p in os.listdir("/proc/self/fd")]) apt_pkg.pkgsystem_unlock() apt_pkg.pkgsystem_unlock() print([(p, maybe_readlink("/proc/self/fd/" + p)) for p in os.listdir("/proc/self/fd")]) [Test output] good, cosmic: [('0', '/dev/pts/2'), ('1', '/dev/pts/2'), ('2', '/dev/pts/2'), ('3', '/var/lib/dpkg/lock'), ('4', '<deleted>')] [('0', '/dev/pts/2'), ('1', '/dev/pts/2'), ('2', '/dev/pts/2'), ('3', '<deleted>')] bad, bionic: [('0', '/dev/pts/0'), ('1', '/dev/pts/0'), ('2', '/dev/pts/0'), ('3', 'pipe:[40889331]'), ('4', '/var/lib/dpkg/lock'), ('5', '/var/lib/dpkg/lock'), ('6', '<deleted>'), ('17', 'socket:[53931]')] [('0', '/dev/pts/0'), ('1', '/dev/pts/0'), ('2', '/dev/pts/0'), ('3', 'pipe:[40889331]'), ('4', '/var/lib/dpkg/lock'), ('5', '<deleted>'), ('17', 'socket:[53931]')] [Regression potential] A locking change can potentially break locking, but this one seems like an obvious off-by-one error.
2018-06-28 09:12:47 Julian Andres Klode tags verification-needed verification-needed-artful verification-needed-bionic verification-needed-xenial verification-done verification-done-artful verification-done-bionic verification-done-xenial
2018-07-05 07:35:03 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2018-07-05 07:44:59 Launchpad Janitor apt (Ubuntu Bionic): status Fix Committed Fix Released
2018-07-05 07:47:42 Launchpad Janitor apt (Ubuntu Artful): status Fix Committed Fix Released
2018-07-05 07:55:22 Launchpad Janitor apt (Ubuntu Xenial): status Fix Committed Fix Released
2018-08-22 09:54:30 Julian Andres Klode apt (Ubuntu): status Fix Committed Fix Released