Actually on the live session the hook reads /var/log/syslog which has read access for the group adm and after installation it reads /var/log/installer/syslog which does not and the code path is different. In the former case decoding of utf8 bytes object is already done (the file is read with the function read()) but not in the latter (the file is the output of the command 'cat')
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582950 Title: broken apport hook: TypeError: a bytes-like object is required, not 'str' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1582950/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs