Package: ebtables
Version: 2.0.10.4-1
Severity: important

Hi,

the ebtables init script contains
[ -x /sbin/ebtables ] || exit 1

However, Debian Policy 9.3.2 [1] says:

These scripts should not fail obscurely when the configuration files
remain but the package has been removed, as configuration files remain
on the system after the package has been removed. Only when dpkg is
executed with the --purge option will configuration files be removed.
In particular, as the /etc/init.d/package script itself is usually a
conffile, it will remain on the system if the package is removed but
not purged. Therefore, you should include a test statement at the top
of the script, like this:

     test -f program-executed-later-in-script || exit 0

It would be great if you could follow the "should" here - or are there
any reasons not to? I see none from the changelog.

TIA
Evgeni

[1] http://www.debian.org/doc/debian-policy/ch-opersys.html

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.4-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


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

Reply via email to