Comment 5 for bug 755025

Revision history for this message
Martin Pitt (pitti) wrote :

Hello Jean-Paul, thanks for your report! I agree we should special-case twistd here and do the command line -> package mapping differently. From the bugs you pointed out I see for example:

/usr/bin/python /usr/bin/twistd -r gtk2 --pidfile /tmp/vmc.pid -noy /usr/share/vodafone-mobile-connect/gtk-tap.py -l /dev/null
/usr/bin/python /usr/bin/twistd --uid root --gid root --pidfile /var/run/nanny.pid -r glib2 --logfile /var/log/nanny.log -y /usr/share/nanny/daemon/nanny.tap
ProcCmdline: /usr/bin/python /usr/bin/twistd --pidfile=/var/run/poker-network-server.pid --logfile=/var/log/poker-network-server.log --no_save --reactor=poll pokerserver

So from the manpage I see that if we find a -f or -y option, it's value should be considered as the actual program that it runs, and thus crash reports should go to that program. That would work for the first two examples.

The third one (which has tons of dupes apparently) looks more tricky, though: There is no -y or -f, just a standalone command line argument "pokerserver". I assume that's the command that should be run? but this syntax isn't documented in the twistd manpage.

Thanks for any insight!