Your message dated Thu, 30 Apr 2015 14:50:58 +0100
with message-id <eb2df496538606fcb2ddeedddd0da...@hogwarts.powdarrmonkey.net>
and subject line Re: Bug#783730:
has caused the Debian Bug report #783730,
regarding init script exits with 1 when trying to save rules using systemd or 
sysvinit
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 ow...@bugs.debian.org
immediately.)


-- 
783730: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783730
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: iptables-persistent
Version: 1.0.3
Severity: grave

Hi, how are you?
I'm facing a problem iwth iptables-persistent on the Jessie release when trying 
to persist existing iptablesi rules, but the init script fails with exit code 1.

On Wheezy just works™

Here is the output of init script when trying to save the ruleset: 

root@debian:/etc/init.d# service iptables-persistent save
iptables-persistent: unrecognized service

root@debian:/etc/init.d# service netfilter-persistent save
[....] Saving netfilter rules...run-parts: executing 
/usr/share/netfilter-persistent/plugins.d/15-ip4tables save
run-parts: /usr/share/netfilter-persistent/plugins.d/15-ip4tables exited with 
return code 1
run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables save
run-parts: /usr/share/netfilter-persistent/plugins.d/25-ip6tables exited with 
return code 1
failed.

root@debian:/etc/init.d# /etc/init.d/netfilter-persistent save
[....] Saving netfilter rules...run-parts: executing 
/usr/share/netfilter-persistent/plugins.d/15-ip4tables save
run-parts: /usr/share/netfilter-persistent/plugins.d/15-ip4tables exited with 
return code 1
run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables save
run-parts: /usr/share/netfilter-persistent/plugins.d/25-ip6tables exited with 
return code 1
failed.

root@debian:/etc/init.d# systemctl save netfilter-persistent.service
Unknown operation 'save'.


Regards.
Gabriel Francisco



-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.1-x86_64-linode53 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages iptables-persistent depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  iptables               1.4.21-2+b1
ii  netfilter-persistent   1.0.3

iptables-persistent recommends no packages.

iptables-persistent suggests no packages.

-- debconf information:
* iptables-persistent/autosave_v4: true
* iptables-persistent/autosave_v6: true

--- End Message ---
--- Begin Message ---
On 2015-04-30 13:38, Gabriel Francisco wrote:
Maybe I found the cause, the lsmod are returning nothing, checked with
set -x inside the init script.



root@debian:/var/log# kmod list
+ kmod list
Module                  Size  Used by


root@debian:/var/log# lsmod
+ lsmod
Module                  Size  Used by


Maybe can be a problem with the modified version of kernel who was
provided by Linode.

That's certainly possible.

--
Jonathan Wiltshire                                      j...@debian.org
Debian Developer                         http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51

<directhex> i have six years of solaris sysadmin experience, from
            8->10. i am well qualified to say it is made from bonghits
                        layered on top of bonghits

--- End Message ---

Reply via email to