Comment 24 for bug 901498

Revision history for this message
Robert Collins (lifeless) wrote :

Running with them and a tweak to the basicConfig gets this:
2011-12-09 06:21:41+0000 [-] Log opened.
2011-12-09 06:21:41+0000 [-] twistd 11.1.0 (/usr/bin/python2.6 2.6.5) starting up.
2011-12-09 06:21:41+0000 [-] reactor class: twisted.internet.pollreactor.PollReactor.
2011-12-09 06:21:41+0000 [-] FTPFactory starting on 2121
2011-12-09 06:21:41+0000 [-] Starting factory <twisted.protocols.ftp.FTPFactory instance at 0xb70ce4c>
2011-12-09 06:21:41+0000 [-] INFO:/tmp/poppy-access.log:---- Server started ----
2011-12-09 06:21:41+0000 [-] Factory (TimeoutFactory) starting on 5023
2011-12-09 06:21:41+0000 [-] Starting factory <lp.services.sshserver.service.Factory instance at 0xb715b0c>
2011-12-09 06:21:41+0000 [-] Starting factory <twisted.protocols.policies.TimeoutFactory instance at 0xb7157ec>
2011-12-09 06:21:41+0000 [-] daemon ready!

2011-12-09 06:22:02+0000 [FTP (ProtocolWrapper),0,192.168.1.102] DTPFactory.setTimeout set to 10 seconds
2011-12-09 06:22:02+0000 [FTP (ProtocolWrapper),0,192.168.1.102] DTPFactory starting on 47420
2011-12-09 06:22:02+0000 [FTP (ProtocolWrapper),0,192.168.1.102] Starting factory <twisted.protocols.ftp.DTPFactory instance at 0xb82550c>
2011-12-09 06:22:02+0000 [twisted.protocols.ftp.DTPFactory] DTPFactory.buildProtocol
2011-12-09 06:22:02+0000 [twisted.protocols.ftp.DTPFactory] cancelling DTP timeout
2011-12-09 06:22:02+0000 [DTP,0,192.168.1.102] Unexpected error receiving file from client:
2011-12-09 06:22:02+0000 [DTP,0,192.168.1.102] Logged OOPS id OOPS-3e5b1d25f4c7841b94f777b7a252dc3e: PermissionDeniedError: Changes file must be signed with a valid GPG signature: Verification failed 3 times: ['No data', 'No data', 'No data']
2011-12-09 06:22:05+0000 [FTP (ProtocolWrapper),0,192.168.1.102] cleanupDTP
2011-12-09 06:22:05+0000 [FTP (ProtocolWrapper),0,192.168.1.102] <<class 'twisted.internet.tcp.Port'> of twisted.protocols.ftp.DTPFactory on 47420>
2011-12-09 06:22:05+0000 [FTP (ProtocolWrapper),0,192.168.1.102] dtpFactory.stopFactory
2011-12-09 06:22:05+0000 [FTP (ProtocolWrapper),0,192.168.1.102] DTPFactory.setTimeout set to 10 seconds
2011-12-09 06:22:05+0000 [FTP (ProtocolWrapper),0,192.168.1.102] DTPFactory starting on 48188
2011-12-09 06:22:05+0000 [FTP (ProtocolWrapper),0,192.168.1.102] Starting factory <twisted.protocols.ftp.DTPFactory instance at 0xb86322c>
2011-12-09 06:22:05+0000 [-] (TCP Port 47420 Closed)
2011-12-09 06:22:05+0000 [-] Stopping factory <twisted.protocols.ftp.DTPFactory instance at 0xb82550c>
2011-12-09 06:22:05+0000 [-] dtpFactory.stopFactory
2011-12-09 06:22:05+0000 [twisted.protocols.ftp.DTPFactory] DTPFactory.buildProtocol
2011-12-09 06:22:05+0000 [twisted.protocols.ftp.DTPFactory] cancelling DTP timeout
2011-12-09 06:22:05+0000 [DTP,0,192.168.1.102] Unexpected error receiving file from client:
2011-12-09 06:22:05+0000 [DTP,0,192.168.1.102] Logged OOPS id OOPS-656bd30762dedb123cfea23fe4223b4d: PermissionDeniedError: Changes file must be signed with a valid GPG signature: Verification failed 3 times: ['No data', 'No data', 'No data']

in the log. I claim success. (the INFO: line is regular python logging).