Hi Daniel, Am 26.06.2013 21:35, schrieb Daniel Kahn Gillmor: > > The fix is to avoid trying to back up such a config file as though it > were a database table: > > > diff --git a/debian/sks.postinst b/debian/sks.postinst > index ba93713..8c1da41 100755 > --- a/debian/sks.postinst > +++ b/debian/sks.postinst > @@ -120,8 +120,12 @@ else > cp -a ${SKS_DIR}/${DBHOME}/$log_file ${BACKUP_DIR}/${DBHOME}/ > done > > + if [ -e "${SKS_DIR}/${DBHOME}/DB_CONFIG" ]; then > + cp -a ${SKS_DIR}/${DBHOME}/DB_CONFIG ${BACKUP_DIR}/${DBHOME}/ > + fi > + > # Backup & upgrade database files > - for db in $(cd ${SKS_DIR}/${DBHOME}; ls -1 | grep -Ev > "^(__|log\.)"); do > + for db in $(cd ${SKS_DIR}/${DBHOME}; ls -1 | grep -Ev > "^(__|log\.|DB_CONFIG$)"); do > # Backup database file > su debian-sks -c "cp ${SKS_DIR}/${DBHOME}/${db} > ${BACKUP_DIR}/${DBHOME}/" > # Upgrade database file > > I've just pushed a "wheezy" branch with this change to > git://anonscm.debian.org/pkg-sks/pkg-sks.git -- i can upload a full > change as 1.1.3-3 to unstable shortly if that would be useful. it would > be nice to get this fix into debian 7.2. >
thanks for the patch. I looks ok for me. Do you want to make the upload? Christoph -- ============================================================================ Christoph Martin, Zentrum für Datenverarbeitung, Uni-Mainz, Germany Anselm Franz von Bentzel-Weg 12, 55128 Mainz Telefon: +49(6131)3926337 Instant-Messaging: Jabber: mar...@uni-mainz.de (Siehe http://www.zdv.uni-mainz.de/4010.php)
<<attachment: martin.vcf>>
signature.asc
Description: OpenPGP digital signature