[systemd-bugs] [Bug 57773] New: systemd needs a firewall.target

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 1 05:54:44 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=57773

          Priority: medium
            Bug ID: 57773
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd needs a firewall.target
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: da_audiophile at yahoo.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

A firewall.target that generically defines the myriad firewalls one can run on
Linux is a needed addition to systemd.  Currently, there is no good way to have
a service start AFTER the firewall.

For example, pgl-cli (http://sourceforge.net/projects/peerguardian) needs to
start after the firewall is up.  A proper pgl-cli.service would look like this:

[Unit]
Description=PeerGuardian Linux - an IP Blocker
Requires=firewall.target
After=network.target firewall.target

[Service]
BusName=org.netfilter.pgl
ExecStart=/usr/bin/pglcmd start
ExecStop=/usr/bin/pglcmd stop
PIDFile=/run/pgld.pid

[Install]
WantedBy=multi-user.target

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20121201/05edb3bf/attachment.html>


More information about the systemd-bugs mailing list