* [gentoo-user] conf.d/net and systemd
@ 2013-07-30 4:53 covici
2013-07-30 6:49 ` Pavel Volkov
2013-07-30 6:54 ` Canek Peláez Valdés
0 siblings, 2 replies; 5+ messages in thread
From: covici @ 2013-07-30 4:53 UTC (permalink / raw
To: gentoo-user
Hi there. I would like to know how I can use my existing conf.d/net if
I were to use systemd, or is there some better way to do this? I have
two static networks an internal and external one and use the postup for
things which must go online once the external network is up. I had to
use modules="!iproute2" to get the route to add properly, but it is
working now using openrc.
Thanks in advance for any suggestions.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] conf.d/net and systemd
2013-07-30 4:53 [gentoo-user] conf.d/net and systemd covici
@ 2013-07-30 6:49 ` Pavel Volkov
2013-07-30 8:18 ` covici
2013-07-30 6:54 ` Canek Peláez Valdés
1 sibling, 1 reply; 5+ messages in thread
From: Pavel Volkov @ 2013-07-30 6:49 UTC (permalink / raw
To: gentoo-user
On Tuesday 30 July 2013 00:53:08 covici@ccs.covici.com wrote:
> Hi there. I would like to know how I can use my existing conf.d/net if
> I were to use systemd, or is there some better way to do this? I have
> two static networks an internal and external one and use the postup for
> things which must go online once the external network is up. I had to
> use modules="!iproute2" to get the route to add properly, but it is
> working now using openrc.
>
> Thanks in advance for any suggestions.
There's no way currently to use config from /etc/conf.d/net if you don't make
your own systemd unit.
I suggest installing net-misc/netctl. Postup will be possible.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] conf.d/net and systemd
2013-07-30 4:53 [gentoo-user] conf.d/net and systemd covici
2013-07-30 6:49 ` Pavel Volkov
@ 2013-07-30 6:54 ` Canek Peláez Valdés
2013-07-30 8:20 ` covici
1 sibling, 1 reply; 5+ messages in thread
From: Canek Peláez Valdés @ 2013-07-30 6:54 UTC (permalink / raw
To: gentoo-user
On Mon, Jul 29, 2013 at 11:53 PM, <covici@ccs.covici.com> wrote:
> Hi there. I would like to know how I can use my existing conf.d/net if
> I were to use systemd, or is there some better way to do this? I have
> two static networks an internal and external one and use the postup for
> things which must go online once the external network is up. I had to
> use modules="!iproute2" to get the route to add properly, but it is
> working now using openrc.
If both networks are static I would use two service files for each,
and the things that must go online can go in another service file
(which calls a script for all of them), or with several (a service
file for each thing), and which depends on the external network.
You then not need to install anything else.
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] conf.d/net and systemd
2013-07-30 6:49 ` Pavel Volkov
@ 2013-07-30 8:18 ` covici
0 siblings, 0 replies; 5+ messages in thread
From: covici @ 2013-07-30 8:18 UTC (permalink / raw
To: gentoo-user
Pavel Volkov <negaipub@gmail.com> wrote:
> On Tuesday 30 July 2013 00:53:08 covici@ccs.covici.com wrote:
> > Hi there. I would like to know how I can use my existing conf.d/net if
> > I were to use systemd, or is there some better way to do this? I have
> > two static networks an internal and external one and use the postup for
> > things which must go online once the external network is up. I had to
> > use modules="!iproute2" to get the route to add properly, but it is
> > working now using openrc.
> >
> > Thanks in advance for any suggestions.
>
> There's no way currently to use config from /etc/conf.d/net if you don't make
> your own systemd unit.
> I suggest installing net-misc/netctl. Postup will be possible.
OK, thanks -- I will look at that.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] conf.d/net and systemd
2013-07-30 6:54 ` Canek Peláez Valdés
@ 2013-07-30 8:20 ` covici
0 siblings, 0 replies; 5+ messages in thread
From: covici @ 2013-07-30 8:20 UTC (permalink / raw
To: gentoo-user
Canek Peláez Valdés <caneko@gmail.com> wrote:
> On Mon, Jul 29, 2013 at 11:53 PM, <covici@ccs.covici.com> wrote:
> > Hi there. I would like to know how I can use my existing conf.d/net if
> > I were to use systemd, or is there some better way to do this? I have
> > two static networks an internal and external one and use the postup for
> > things which must go online once the external network is up. I had to
> > use modules="!iproute2" to get the route to add properly, but it is
> > working now using openrc.
>
> If both networks are static I would use two service files for each,
> and the things that must go online can go in another service file
> (which calls a script for all of them), or with several (a service
> file for each thing), and which depends on the external network.
>
> You then not need to install anything else.
I like that, and I can do what was in the postup in there as well -- if
I don't mess up writing it all!
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-07-30 8:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-30 4:53 [gentoo-user] conf.d/net and systemd covici
2013-07-30 6:49 ` Pavel Volkov
2013-07-30 8:18 ` covici
2013-07-30 6:54 ` Canek Peláez Valdés
2013-07-30 8:20 ` covici
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox