Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57850 - {netctl} "After=" is wrongly quoted

Attached to Project: Arch Linux
Opened by Erich Eckner (deepthought) - Thursday, 15 March 2018, 09:25 GMT
Last edited by Jouke Witteveen (jouke) - Friday, 16 March 2018, 11:26 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I noticed lines similar to this in my log:
systemd[1]: /etc/systemd/system/netctl@laser_control\x2dvlan\x2dstatic\x2dlag0.service:7: Failed to add dependency on "netctl@lag0profile.service", ignoring: Invalid argument

I have the following line in /etc/netctl/laser_control-vlan-static-lag0:
After=('lag0profile')
The file /etc/systemd/system/netctl@lag0profile.service exists.

I think, the quotes in the created systemd unit file should not be there - see the attached patch for a proposed fix.

Additional info:
* package version(s)
netctl 1.15-1

Steps to reproduce:
Put an "After=..." line into /etc/netctl/some-profile.
> netctl start some-profile
look for "Failed to add dependency" in journalctl

for a temp. fix.:
remove the quotes from /etc/systemd/system/netctl@some-profile.service
> netctl start some-profile
look again for "Failed to add dependency" in journalctl
This task depends upon

Closed by  Jouke Witteveen (jouke)
Friday, 16 March 2018, 11:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  cef231d7
Comment by Jouke Witteveen (jouke) - Friday, 16 March 2018, 11:15 GMT
This bug report makes me a little sad. Apparently nobody has used this for at least five years.

Thanks for the patch, I will release a new version shortly!

Loading...