* [gentoo-soc] netifrc on systemd: Weekly Report #5
@ 2014-06-22 5:50 Rabi Shanker Guha
2014-06-22 5:59 ` heroxbd
0 siblings, 1 reply; 3+ messages in thread
From: Rabi Shanker Guha @ 2014-06-22 5:50 UTC (permalink / raw
To: gentoo-soc
[-- Attachment #1: Type: text/plain, Size: 998 bytes --]
Hello,
This week I tested the codebase on gentoo+systemd machines.
Upon testing it on a actual systemd machine, I figured out the missing
functions and fixed a few bugs. I could successfully test eth0 and lo
interfaces. I also tested it on a gentoo+openrc system to make sure that I
did not introduce any breaking changes
Added the prototype for is_net_fs function and defined functions primarily
used in the depend block (program, after, need, etc.)
I'm attaching the VirtualBox Image I'm using and the build instructions
here:
VirtualBox image:
Gentoo -
https://drive.google.com/folderview?id=0B8yZctFMulwlT2hwanNpTVdJWkE&usp=sharing
Build Instructions:
1. After getting the VM running, I generally mount /usr/portage and
/usr/local/portage from my local machine
/usr/local/portage is my local overlay:
https://github.com/rabisg/gentoo-overlay
But now netifrc-9999 is installed anyways
2. You can directly run
sudo systemctl restart net@eth0
sudo systemctl status net@eth0
--
Regards,
Rabi
[-- Attachment #2: Type: text/html, Size: 2324 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-soc] netifrc on systemd: Weekly Report #5
2014-06-22 5:50 [gentoo-soc] netifrc on systemd: Weekly Report #5 Rabi Shanker Guha
@ 2014-06-22 5:59 ` heroxbd
2014-06-22 14:28 ` Rabi Shanker Guha
0 siblings, 1 reply; 3+ messages in thread
From: heroxbd @ 2014-06-22 5:59 UTC (permalink / raw
To: gentoo-soc
Hey Rabi,
Rabi Shanker Guha <guha.rabishankar@gmail.com> writes:
> sudo systemctl restart net@eth0
> sudo systemctl status net@eth0
Just curious how this naming scheme were formed. Intuitively, eth0 is a
subset of net, making "eth0@net" and "net.eth0" more natural.
Benda
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-soc] netifrc on systemd: Weekly Report #5
2014-06-22 5:59 ` heroxbd
@ 2014-06-22 14:28 ` Rabi Shanker Guha
0 siblings, 0 replies; 3+ messages in thread
From: Rabi Shanker Guha @ 2014-06-22 14:28 UTC (permalink / raw
To: gentoo-soc
[-- Attachment #1: Type: text/plain, Size: 945 bytes --]
Hello Benda,
Actually this is not my convention. This is piggybacking on the systemd
convention
In the current system (openrc) net.eth0 is a symlink to net.lo and the
interface is deduced at run-time and appropriate action is taken.
In systemd instantiated services work in the same way. Symlink to the
original service and the @ part is passed as a parameter and I guess it is
supposed to be used the same way too i.e. the @ part is to be seen as an
variable. So I thought this would be the best way to represent it in
systemd setting.
Hope this makes sense.
On Sun, Jun 22, 2014 at 11:29 AM, <heroxbd@gmail.com> wrote:
> Hey Rabi,
>
> Rabi Shanker Guha <guha.rabishankar@gmail.com> writes:
>
> > sudo systemctl restart net@eth0
> > sudo systemctl status net@eth0
>
> Just curious how this naming scheme were formed. Intuitively, eth0 is a
> subset of net, making "eth0@net" and "net.eth0" more natural.
>
> Benda
>
>
--
Regards,
Rabi
[-- Attachment #2: Type: text/html, Size: 1525 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-22 14:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-22 5:50 [gentoo-soc] netifrc on systemd: Weekly Report #5 Rabi Shanker Guha
2014-06-22 5:59 ` heroxbd
2014-06-22 14:28 ` Rabi Shanker Guha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox