FS#32333 - [dhcpcd] systemd unit should allow enabling instances

Attached to Project: Arch Linux
Opened by Mantas Mikulėnas (grawity) - Wednesday, 31 October 2012, 16:40 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 01 November 2012, 02:58 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

dhcpcd 5.6.2-1 still has the following in its dhcpcd@.service unit:

[Install]
Alias=multi-user.target.wants/dhcpcd@eth0.service

IIRC, this was added when systemd didn't support enabling instance units yet; but now it does, and the Alias line actually breaks `systemctl enable`, forcing it to enable dhcpcd@eth0.service regardless of user input.

It should be replaced with a WantedBy=multi-user.target line.
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 01 November 2012, 02:58 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#31093 
Comment by Daniel Wallace (gtmanfred) - Wednesday, 31 October 2012, 16:54 GMT
Works for me here! yay instances!

Edit: i should clarify, after changing the file it works for me

Loading...