systemd (Was Re: tmpfs for strategic directories)

Lennart Poettering mzerqung at 0pointer.de
Tue Jun 1 02:55:30 UTC 2010


On Sat, 29.05.10 21:00, Roberto Ragusa (mail at robertoragusa.it) wrote:

> 
> Kevin Kofler wrote:
> 
> > Roberto Ragusa wrote:
> >> I need to change firewalls rules and routing rules in the middle of the
> >> init scripts, because I have a multihomed internet connection and remote
> >> filesystems and I need the firewall closed and then opened in a way which
> >> is dependent on the IP I got from the ISP
> > Ugh! Are you sure there's no better solution?!
> 
> Kevin, this is not an exactly real scenario, but I wanted to say that
> sometimes it is useful to *hack* something in the middle of the init
> script for some reason.

And this is why systemd allows you to do that. You can patch the
.service files the way you want, and can hook shell scripts into various
places, if you want to. And on top of this it adds a couple of debug
helpers such as interactive, serialized boot-up and proper tracing of
what is being executed.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the devel mailing list