Comment 2 for bug 1004503

Revision history for this message
Brian Murray (brian-murray) wrote :

In /usr/share/apport/package_hook, which is called by DistUpgradeApport.py, we see that we can individual log files.

optparser.add_option('-l', '--log',*
    help='Append given log file, or, if it is a directory, all files in it (can be specified multiple times)',
    action='append', type='string', dest='logs')

So having a white list of files seems like the best idea to me.