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#66412 - [systemd]<=245.5-2: mkinitcpio function add_systemd_unit fails with Exec*= prefixes
Attached to Project:
Arch Linux
Opened by Pascal Ernster (hardfalcon) - Saturday, 25 April 2020, 16:58 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 07 July 2020, 08:58 GMT
Opened by Pascal Ernster (hardfalcon) - Saturday, 25 April 2020, 16:58 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 07 July 2020, 08:58 GMT
|
DetailsIn systemd <= 245.5-2, the "add_systemd_unit" function in /usr/lib/initcpio/install/systemd fails if one of the Exec*= lines in the parsed systemd *.service unit contains a special executable prefixes specified in [1].
For example, this lets mkinitcpio fail [2] if the netconf hook from the mkinitcpio-netconf package is used in systemd mode [3]. (Forum thread [2] is *not* from me, but I'm having exactly the same problem). The attached patch should fix the issue. [1] https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStart= [2] https://bbs.archlinux.org/viewtopic.php?id=245928 [2] https://github.com/grazzolini/mkinitcpio-netconf/blob/v0.0.5/netconf_install#L13 |
This task depends upon
Closed by Christian Hesse (eworm)
Tuesday, 07 July 2020, 08:58 GMT
Reason for closing: Fixed
Additional comments about closing: in SVN
Tuesday, 07 July 2020, 08:58 GMT
Reason for closing: Fixed
Additional comments about closing: in SVN
mkinitcpio-systemd.patch
So are you ok dropping the dash from you character class?