reassign 572743 ifupdown
tag 572473 - sid
tag 572473 - squeeze
severity 572473 important
found 572473 0.6.9
merge 572743 556402
quit

> This is the fatal error causing the failed installation:
> 
>   insserv: Service ifupdown has to be enabled to start service gpe-shield
> 
> The gpe-shield package have a init.d script with a hard dependency on
> the ifupdown init.d script, but do not declare a package dependency on
> any package providing the ifupdown init.d script.

There is no such dependency - only on iptables.

gpe-shield does not even need ifupdown installed.
 
> To reproduce, remove the ifupdown package, and try to install
> gpe-shield.

Tried to reproduce it that way and I got no error with 0.31-4

installed gpe-shield, removed (and purged) ifupdown,
uninstalled and reinstalled gpe-shield, no problems.

The log is a bit long but here goes:

r...@holly:/# apt-get --purge remove ifupdown
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  ifupdown*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 233kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 14449 files and directories currently installed.)
Removing ifupdown ...
Purging configuration files for ifupdown ...
insserv: warning: script 'S16libdevmapper1.02' missing LSB tags and overrides
insserv: warning: script 'libdevmapper1.02' missing LSB tags and overrides
insserv: warning: script 'S16libdevmapper1.02' missing LSB tags and overrides
insserv: warning: script 'libdevmapper1.02' missing LSB tags and overrides
Processing triggers for man-db ...
r...@holly:/# apt-get --purge remove gpe-shield
Reading package lists... Done
Building dependency tree       
Reading state information... Done
... snipped apt autoremove advice ...
The following packages will be REMOVED:
  gpe-shield*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 176kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 14419 files and directories currently installed.)
Removing gpe-shield ...
Purging configuration files for gpe-shield ...
insserv: warning: script 'S16libdevmapper1.02' missing LSB tags and overrides
insserv: warning: script 'libdevmapper1.02' missing LSB tags and overrides
Processing triggers for man-db ...
r...@holly:/# apt-get install gpe-shield
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  gpe-shield
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/32.6kB of archives.
After this operation, 176kB of additional disk space will be used.
Selecting previously deselected package gpe-shield.
(Reading database ... 14405 files and directories currently installed.)
Unpacking gpe-shield (from .../gpe-shield_0.31-4_amd64.deb) ...
Processing triggers for man-db ...
Setting up gpe-shield (0.31-4) ...
insserv: warning: script 'S16libdevmapper1.02' missing LSB tags and overrides
insserv: warning: script 'libdevmapper1.02' missing LSB tags and overrides
 
> The correct fix is probably to reduce the hard init.d script
> dependency to a soft dependency (as in changing required-(start|stop)
> to should-(start|stop)), but I do not know the package enough to say
> for sure. :)

I get whinges from insserv about devmapper but this is not a bug in
gpe-shield.

I really think this is a recurrence of #556402
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556402
ifupdown: needs to depend on initscripts

There is no need for ifupdown when using gpe-shield, it's perfectly
happy with interfaces setup by ifconfig directly. (It doesn't care
about interfaces at all, just calls iptables.)

I've done all the tests without ifupdown even installed - gpe-shield
just continues as normal (including installing and uninstalling,
starting and stopping the firewall directly and via /etc/init.d/

Re-assigning to ifupdown.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpdL5gXOiPoH.pgp
Description: PGP signature

Reply via email to