Activity log for bug #1752365

Date Who What changed Old value New value Message
2018-02-28 16:22:48 Gold Star bug added bug
2018-02-28 16:24:23 Gold Star description After installing apparmor, apparmor-utils, and libapache2-mod-apparmor and enabling a virtual host that uses the changehat feature, it is impossible to "(A)dd Requested Hat" or "(U)se Default Hat" because there isinconsistent use of q.promptUser() call in the " elif type == 'unknown_hat' block on line 1097 in aa.py Changing ans = q.promptUser() to ans = q.promptUser()[0].strip() OR ans, selected = q.promptUser() OR ans, arg = q.promptUser() resolves this problem because ans is no longer assigned a tuple data type and can be evaluated against CMD_* variables Further execution of code inside the 'unknown_hat' elif block is buggy but not within the scope of this bug report. --- Debugging info: uname -a: Linux hostname 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux cat /etc/issue Ubuntu 16.04.3 LTS \n \l apt-cache policy apparmor-utils apparmor-utils: Installed: 2.10.95-0ubuntu2.8 Candidate: 2.10.95-0ubuntu2.8 *** 2.10.95-0ubuntu2.8 500 500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 100 /var/lib/dpkg/status apt-cache policy apparmor apparmor: Installed: 2.10.95-0ubuntu2.6 Candidate: 2.10.95-0ubuntu2.8 Version table: 2.10.95-0ubuntu2.8 500 500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages apt-cache policy libapache2-mod-apparmor libapache2-mod-apparmor: Installed: 2.10.95-0ubuntu2.8 Candidate: 2.10.95-0ubuntu2.8 Version table: *** 2.10.95-0ubuntu2.8 500 500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 100 /var/lib/dpkg/status After installing apparmor, apparmor-utils, and libapache2-mod-apparmor and enabling a virtual host that uses the changehat feature, it is impossible to "(A)dd Requested Hat" or "(U)se Default Hat" because there isinconsistent use of q.promptUser() call in the " elif type == 'unknown_hat' block on line 1097 in aa.py Changing   ans = q.promptUser() to   ans = q.promptUser()[0].strip() OR   ans, selected = q.promptUser() OR   ans, arg = q.promptUser() resolves this problem because ans is no longer assigned a tuple data type and can be evaluated against CMD_* variables Further execution of code inside the 'unknown_hat' elif block is buggy but not within the scope of this bug report. --- Debugging info: uname -a: Linux hostname 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux cat /etc/issue Ubuntu 16.04.3 LTS \n \l apt-cache policy apparmor-utils apparmor-utils:   Installed: 2.10.95-0ubuntu2.8   Candidate: 2.10.95-0ubuntu2.8  *** 2.10.95-0ubuntu2.8 500         500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages         100 /var/lib/dpkg/status apt-cache policy apparmor apparmor:   Installed: 2.10.95-0ubuntu2.6   Candidate: 2.10.95-0ubuntu2.8   Version table:      2.10.95-0ubuntu2.8 500         500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages apt-cache policy libapache2-mod-apparmor libapache2-mod-apparmor:   Installed: 2.10.95-0ubuntu2.8   Candidate: 2.10.95-0ubuntu2.8   Version table:  *** 2.10.95-0ubuntu2.8 500         500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages         100 /var/lib/dpkg/status
2018-02-28 16:43:31 Gold Star description After installing apparmor, apparmor-utils, and libapache2-mod-apparmor and enabling a virtual host that uses the changehat feature, it is impossible to "(A)dd Requested Hat" or "(U)se Default Hat" because there isinconsistent use of q.promptUser() call in the " elif type == 'unknown_hat' block on line 1097 in aa.py Changing   ans = q.promptUser() to   ans = q.promptUser()[0].strip() OR   ans, selected = q.promptUser() OR   ans, arg = q.promptUser() resolves this problem because ans is no longer assigned a tuple data type and can be evaluated against CMD_* variables Further execution of code inside the 'unknown_hat' elif block is buggy but not within the scope of this bug report. --- Debugging info: uname -a: Linux hostname 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux cat /etc/issue Ubuntu 16.04.3 LTS \n \l apt-cache policy apparmor-utils apparmor-utils:   Installed: 2.10.95-0ubuntu2.8   Candidate: 2.10.95-0ubuntu2.8  *** 2.10.95-0ubuntu2.8 500         500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages         100 /var/lib/dpkg/status apt-cache policy apparmor apparmor:   Installed: 2.10.95-0ubuntu2.6   Candidate: 2.10.95-0ubuntu2.8   Version table:      2.10.95-0ubuntu2.8 500         500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages apt-cache policy libapache2-mod-apparmor libapache2-mod-apparmor:   Installed: 2.10.95-0ubuntu2.8   Candidate: 2.10.95-0ubuntu2.8   Version table:  *** 2.10.95-0ubuntu2.8 500         500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages         100 /var/lib/dpkg/status After installing apparmor, apparmor-utils, and libapache2-mod-apparmor and enabling a virtual host that uses the changehat feature, it is impossible to "(A)dd Requested Hat" or "(U)se Default Hat" because there isinconsistent use of q.promptUser() call in the " elif type == 'unknown_hat' block on line 1097 in aa.py Changing   ans = q.promptUser() to   ans = q.promptUser()[0].strip() OR   ans, selected = q.promptUser() OR   ans, arg = q.promptUser() resolves this problem because ans is no longer assigned a tuple data type and can be evaluated against CMD_* variables Further execution of code is buggy due to collection.defaultdict(hasher(), {}) not having certain methods but that is not within the scope of this bug report. --- Debugging info: uname -a: Linux hostname 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux cat /etc/issue Ubuntu 16.04.3 LTS \n \l apt-cache policy apparmor-utils apparmor-utils:   Installed: 2.10.95-0ubuntu2.8   Candidate: 2.10.95-0ubuntu2.8  *** 2.10.95-0ubuntu2.8 500         500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages         100 /var/lib/dpkg/status apt-cache policy apparmor apparmor:   Installed: 2.10.95-0ubuntu2.6   Candidate: 2.10.95-0ubuntu2.8   Version table:      2.10.95-0ubuntu2.8 500         500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages apt-cache policy libapache2-mod-apparmor libapache2-mod-apparmor:   Installed: 2.10.95-0ubuntu2.8   Candidate: 2.10.95-0ubuntu2.8   Version table:  *** 2.10.95-0ubuntu2.8 500         500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages         100 /var/lib/dpkg/status
2018-03-20 20:29:24 Launchpad Janitor apparmor (Ubuntu): status New Fix Released