I let /var/log/syslog grow massively with
$ yes 'Apr 20 11:30:00 donald kernel: bogus message' | sudo tee -a /var/log/syslog >/dev/null
and ^Ced after it readed a Gigabyte. Running "apport-bug linux" then reproduces the bug.
The faulty function is attach_wifi() in /usr/share/apport/package-hooks/source_linux.py, which calls
report['WifiSyslog'] = recent_syslog(re.compile(r'(NetworkManager|modem-manager|dhclient|kernel|wpa_supplicant)(\[\d+\])?:'))
and recent_syslog() has no rate limit.
I let /var/log/syslog grow massively with
$ yes 'Apr 20 11:30:00 donald kernel: bogus message' | sudo tee -a /var/log/syslog >/dev/null
and ^Ced after it readed a Gigabyte. Running "apport-bug linux" then reproduces the bug.
The faulty function is attach_wifi() in /usr/share/ apport/ package- hooks/source_ linux.py, which calls
report[ 'WifiSyslog' ] = recent_ syslog( re.compile( r'(NetworkManag er|modem- manager| dhclient| kernel| wpa_supplicant) (\[\d+\ ])?:'))
and recent_syslog() has no rate limit.