On Tue, 12 Jul 2016 13:24:44 -0400 Roberto =?iso-8859-1?Q?C=2E_S=E1nchez?= <robe...@connexer.com> wrote:
> On Tue, Jul 12, 2016 at 12:12:16PM -0500, Dale Schroeder wrote:
> > Shorewall configuration verified
> > Failed to retrieve unit: No such method 'GetUnit'
> > Failed to restart shorewall.service: No such method 'RestartUnit'
> > See system logs and 'systemctl status shorewall.service' for details.
> > shorewall.service couldn't restart.
> > dpkg: error processing package shorewall (--configure):
> > subprocess installed post-installation script returned error exit status 1
> > Errors were encountered while processing:
> > shorewall
> >
> Dale,
>
> Could you open up /var/lib/dpkg/info/shorewall.postinst in an editor,
> add "set -x" just below the #! line and then execute it as root?
>
> /var/lib/dpkg/info/shorewall.postinst configure 5.0.10-1
>
> If you could please send back the resulting output, that would be very
> helpful.
>
> Regards,
>
> -Roberto
>
> --
> Roberto C. Sánchez
> http://people.connexer.com/~roberto
> http://www.connexer.com


Here's the output:

+ . /usr/share/debconf/confmodule
+ [ !  ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [  ]
+ exec /usr/share/debconf/frontend ./shorewall.postinst configure 5.0.10-1
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z  ]
+ exec
+ [  ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ db_reset shorewall/dont_restart
+ _db_cmd RESET shorewall/dont_restart
+ _db_internal_IFS=     

+ IFS=
+ printf %s\n RESET shorewall/dont_restart
+ IFS=  

+ IFS=
 read -r _db_internal_line
+ RET=0
+ return 0
+ db_reset shorewall/major_release
+ _db_cmd RESET shorewall/major_release
+ _db_internal_IFS=     

+ IFS=
+ printf %s\n RESET shorewall/major_release
+ IFS=  

+ IFS=
 read -r _db_internal_line
+ RET=0
+ return 0
+ db_go
+ _db_cmd GO
+ _db_internal_IFS=     

+ IFS=
+ printf %s\n GO
+ IFS=  

+ IFS=
 read -r _db_internal_line
+ RET=ok
+ return 0
+ [ ! -d /var/lib/shorewall ]
+ [ -f /var/lib/dpkg/info/shorewall-common.postrm ]
+ restart=true
+ [ -f /etc/default/shorewall ]
+ . /etc/default/shorewall
+ startup=1
+ OPTIONS=
+ STARTOPTIONS=
+ RELOADOPTIONS=
+ RESTARTOPTIONS=
+ INITLOG=/dev/null
+ SAFESTOP=0
+ [ true = true ]
+ [ 1 = 1 ]
+ /sbin/shorewall check
Checking using Shorewall 5.0.10...
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Loading Modules...
Checking /etc/shorewall/zones...
Checking /etc/shorewall/interfaces...
Determining Hosts in Zones...
Locating Action Files...
Checking /etc/shorewall/policy...
Running /etc/shorewall/initdone...
Adding Anti-smurf Rules
Adding rules for DHCP
Checking TCP Flags filtering...
Checking Kernel Route Filtering...
Checking Martian Logging...
Checking /etc/shorewall/masq...
Checking MAC Filtration -- Phase 1...
Checking /etc/shorewall/blrules...
Checking /etc/shorewall/rules...
Checking /etc/shorewall/conntrack...
Checking MAC Filtration -- Phase 2...
Applying Policies...
Checking /usr/share/shorewall/action.Drop for chain Drop...
Checking /usr/share/shorewall/action.Broadcast for chain Broadcast...
Checking /etc/shorewall/stoppedrules...
Shorewall configuration verified
+ [ -x /usr/bin/deb-systemd-invoke ]
+ [ -f /lib/systemd/system/shorewall.service ]
+ deb-systemd-helper enable shorewall.service
/usr/bin/deb-systemd-helper was not called from dpkg. Exiting.

Dale

Reply via email to