FS#32088 - Wrong work dhcpcd @.servise, with two network cards

Attached to Project: Arch Linux
Opened by Aeternus (Atterratio) - Friday, 19 October 2012, 14:58 GMT
Last edited by Dave Reisner (falconindy) - Friday, 19 October 2012, 22:54 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
If I'm activated the eth1 interface with the command "$ sudo systemctl start dhcpcd@eth1.service" interface working. But when trying to add auto-interface eth1 with the command "$ sudo systemctl enable dhcpcd@eth1.service" the interface that was added are eth0.

Additional info:
core/systemd 194-4
core/dhcpcd 5.6.2-1

$ sudo systemctl enable dhcpcd@eth0.service
ln -s '/usr/lib/systemd/system/dhcpcd@.service' '/etc/systemd/system/multi-user.target.wants/dhcpcd@eth0.service'

Steps to reproduce:
Put two (or more?) Network card. Attempt to activate the interface auto eth1 (other than eth0?) Command "$ sudo systemctl enable dhcpcd@eth1.service".
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 19 October 2012, 22:54 GMT
Reason for closing:  Upstream
Additional comments about closing:  https://bugs.freedesktop.org/show_bug.cg i?id=53954
Comment by Daniel Wallace (gtmanfred) - Friday, 19 October 2012, 15:01 GMT
you need to make a seperate dhcpcd@.service, and put it in /etc/systemd/system/dhcpcd@.service ... and have eth1 in the alias section
Comment by Aeternus (Atterratio) - Friday, 19 October 2012, 15:14 GMT
How I understand you're describing how to use both network cards with dhcpcd. It this time I don't have this necessary.
Only eth1. And manually "$ sudo ln -s '/usr/lib/systemd/system/dhcpcd@.service' '/etc/systemd/system/multi-user.target.wants/dhcpcd@eth1.service'" work well. But it's wrong way.
Comment by Daniel Wallace (gtmanfred) - Friday, 19 October 2012, 20:12 GMT
No you actually need to copy the file over and make a new service unit and change eth0 to eth1

Loading...