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!
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!
FS#55973 - [netctl] Use %i instead of %I in unit file
Attached to Project:
Arch Linux
Opened by Artem Pogartsev (arteomp) - Thursday, 12 October 2017, 23:06 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 15 October 2017, 07:58 GMT
Opened by Artem Pogartsev (arteomp) - Thursday, 12 October 2017, 23:06 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 15 October 2017, 07:58 GMT
|
DetailsDescription:
Script wifi-menu by default generate profile config for netctl like "interface-ssid". Because of systemd escaping we need to escape "-" symbol and use "systemctl start/status/stop interface\\x2dssid" or systemd will convert it to the "interface/ssid" and netctl will not find profile config. Maybe will be good decision to change %I to %i (https://www.freedesktop.org/software/systemd/man/systemd.unit.html) in unit file netctl@.service? Then will be possible to use just systemctl start/status/stop interface-ssid. Additional info: Name : netctl Version : 1.13-2 Steps to reproduce: 1. Create profile config /etc/netctl/interface-ssid 2. run systemctl start/status/stop interface-ssid |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Sunday, 15 October 2017, 07:58 GMT
Reason for closing: Won't implement
Additional comments about closing: netctl explicitly moved away from using %I, it is expected that users use netctl [start|stop|status] instead
Sunday, 15 October 2017, 07:58 GMT
Reason for closing: Won't implement
Additional comments about closing: netctl explicitly moved away from using %I, it is expected that users use netctl [start|stop|status] instead
Steps to reproduce:
1. Create profile config /etc/netctl/interface-ssid
2. run systemctl start/status/stop netctl@interface-ssid
As you can see here: https://git.archlinux.org/netctl.git/commit/services/?id=1d49567af0acaca79fe9047703a0d94ebaf31064 netctl has deliberately switched from using %i to using %I in version 0.7.
Ah, ok. Then you can close the ticket.