[arch-releng] [archiso] disable 80-net-name-slot.rules for next releng?

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Fri May 24 17:33:06 EDT 2013


On 05/24/2013 02:15 PM, Tom Gundersen wrote:
> On 24 May 2013 22:27, "Dave Reisner" <d at falconindy.com> wrote:
>>
>> On Fri, May 24, 2013 at 11:04:24AM -0300, Gerardo Exequiel Pozzi wrote:
>>> Hello
>>>
>>> I am planing to do a new release[#1] this weekend. Since we are using
>>> dhcpcd.service (dhcp for all net-if) and is racy, sometimes net-if
>>> rename work and others no. So I think can be a good idea to not rename
>>> at all.
>>>
>>> Opinions?
>>>
>>> Thanks.
>>>
>>>
>>> [#1] Includes the change to move mkarchiso to /usr/bin.
>>> --
>>> Gerardo Exequiel Pozzi
>>> \cos^2\alpha + \sin^2\alpha = 1
>>>
>>
>> I tend to think this will make for a lousy user experience given that
>> interface names will potentially change on the first boot of the newly
>> installed system. Not really in favor of this.
>>
>> Proposal: stop using dhcpcd.service, replace with a udev rule that
>> launches instances of dhcpcd at .service for network devices as they
>> appear:
>>
>>   # /etc/udev/rules.d/81-dhcpcd.rules
>>   ACTION=="add", SUBSYSTEM=="net", ENV{SYSTEMD_WANTS}="dhcpcd@
> $env{INTERFACE}.service"
>>
>> This potentially breaks ordering for units on network.target, but we've
>> never been able to guarantee that anyways using dhcpcd.service.
> 
> This seems like the correct approach to me.
> 
> Cheers,
> 
> Tom
> 

OK guys, thanks for the feedback and the workaround. I will do some
basic tests with it.


-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-releng/attachments/20130524/8fe66248/attachment.asc>


More information about the arch-releng mailing list