Your message dated Tue, 27 Nov 2018 07:22:13 +0000 with message-id <[email protected]> and subject line Bug#914497: Removed package(s) from unstable has caused the Debian Bug report #856602, regarding postinst sed delimiter causes failure to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 856602: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856602 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: tomcat7 Version: 7.0.75-1 Similiar to Debian bug #597814, the sed statement in the postinst assumes there is no '%' in a user's JAVA_OPTS. However, this is a valid possiblity, for example: -XX:ErrorFile=/var/log/tomcat7/java_error%p.log This will cause the sed command to fail as it finds a % too early. The delimiter was previous a '/' however, that can obviously be found in a path. I would propose that this be changed to use the '|' symbol as it should be even less common then the % symbol. Another alternative to remove this situation entirely would be to escape the strings matching the delimeter. debian/tomcat7.postinst debian/tomcat7.postinst index a8919dd..083c6a3 100644 --- debian/tomcat7.postinst +++ debian/tomcat7.postinst @@ -20,9 +20,9 @@ case "$1" in tmpfile=`mktemp /tmp/tomcat7.XXXXXXXXXX` chmod 644 $tmpfile cat $TEMPLATE \ - | sed "s%^TOMCAT7_USER=.*$%TOMCAT7_USER=$TOMCAT7_USER%" \ - | sed "s%^TOMCAT7_GROUP=.*$%TOMCAT7_GROUP=$TOMCAT7_GROUP%" \ - | sed "s%^JAVA_OPTS=.*$%JAVA_OPTS=\"$JAVA_OPTS\"%" \ + | sed "s|^TOMCAT7_USER=.*$|TOMCAT7_USER=$TOMCAT7_USER|" \ + | sed "s|^TOMCAT7_GROUP=.*$|TOMCAT7_GROUP=$TOMCAT7_GROUP|" \ + | sed "s|^JAVA_OPTS=.*$|JAVA_OPTS=\"$JAVA_OPTS\"|" \ >> $tmpfile ucf --debconf-ok --sum-file /usr/share/tomcat7/defaults.md5sum $tmpfile $CONFFILE rm -f $tmpfile -- Joshua Powers Ubuntu Server Canonical Ltd
--- End Message ---
--- Begin Message ---Version: 7.0.78-1+rm Dear submitter, as the package tomcat7 has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/914497 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---

