Am 18.03.2015 um 16:29 schrieb Robert Pumphrey: > #!/bin/bash > ### BEGIN INIT INFO > # Provides: iptables > # Required-Start: $network $remote_fs $syslog > # Required-Stop: $network $remote_fs $syslog > # Should-Start: iptables > # Default-Start: 2 3 4 5 > # Default-Stop: 0 1 6 > ### END INIT INFO
> Also note that the problem is not reproducible if the Provides: and > Should-Start: name match the init script name, so I guess mismatch in > the script name and header is at the root of the problem. The mismatch between init script name and Provides shouldn't be a problem. You can certainly name your init script foo and have Provides: bar (the systemd-sysv-generator will then create a bar symlink pointing at foo). I think the problem is that you depend on yourself: Provides: iptables and Should-Start: iptables This is of course bogus and a bug in the init script, but shouldn't cause a segfault. If you remove the # Should-Start: iptables line, the problem should be gone. Now will need to dig into the code, to find the problem. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature