[systemd-bugs] [Bug 57773] systemd needs a sockets-pre.target

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 20 07:14:55 PST 2013


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

--- Comment #3 from John <da_audiophile at yahoo.com> ---
(In reply to comment #2)
> Actually thinking about, "sysinit.target" which is run before all sockets
> already does the job of a "sockets-pre.target" just fine, so don't really
> need the latter.
> 
> hence: please make your fw services an early-boot service, and order it
> before sysinit.target, and you can be sure that it will be up before any
> system sockets or bound or any normal services are run.

Thanks for the suggestion.  Just to be sure I have it correct, is this the
correct syntax for /usr/lib/systemd/system/ufw.service?

[Unit]
Description=CLI Netfilter Manager

[Service]
Type=oneshot
ExecStart=/usr/lib/ufw/ufw-init start
ExecStop=/usr/lib/ufw/ufw-init stop
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
Before=sysinit.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/20130120/78df2865/attachment.html>


More information about the systemd-bugs mailing list