Bug#348242: shorewall: leaves file behind after purged

2006-01-29 Thread Lorenzo Martignoni
* Lars Wirzenius [EMAIL PROTECTED]: 
 Package: shorewall
 Version: 3.0.4-1
 
 When testing shorewall with piuparts, I get the following error:
 
 0m7.6s ERROR: Package purging left files on system:
   /etc/shorewall
 owned by: shorewall
   /etc/shorewall/tcstart
 
 This is due to postinst created the tcstart file, but it not being
 removed by postrm (which needs to happen when the package is removed,
 not just when it is purged, or else tcstart needs to be marked as a
 conffile).


The tcstart is touched by postinst in order to avoid problems during
upgrade. If your configuration has TC_ENABLED=Yes but you don't have
tcstart shorewall refuses to start. Older versions worked without any
problems when the tcstart file was missing.

I'll add a test in order to check if that file is empty.

Thank you very much.

-- lorenzo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#348242: shorewall: leaves file behind after purged

2006-01-15 Thread Lars Wirzenius
Package: shorewall
Version: 3.0.4-1

When testing shorewall with piuparts, I get the following error:

0m7.6s ERROR: Package purging left files on system:
  /etc/shorewall
owned by: shorewall
  /etc/shorewall/tcstart

This is due to postinst created the tcstart file, but it not being
removed by postrm (which needs to happen when the package is removed,
not just when it is purged, or else tcstart needs to be marked as a
conffile).

-- 
Our technology is sadly insufficiently advanced.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]