FS#31128 - [initscripts] typo in rc-local.service

Attached to Project: Arch Linux
Opened by Thomas Weißschuh (t-8ch) - Tuesday, 14 August 2012, 20:40 GMT
Last edited by Tom Gundersen (tomegun) - Thursday, 16 August 2012, 19:40 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

in "/usr/lib/systemd/system/rc-local{,-shutdown}.service"
the config statement "ConditionPathIsExecutable" is used.
this should probably be "ConditionFileIsExecutable" ( see systemd.unit(5) )

versions:
initscripts 2012.08.2-1

steps to reproduce:

running systemd and having initscripts installed do "systemctl daemon-reload"

journal shows:
Aug 14 20:21:09 laptop.t-8ch.de systemd[1]: [/usr/lib/systemd/system/rc-local.service:3] Unknown lvalue 'ConditionPathIsExecutable' in section 'Unit'. Ignoring.
Aug 14 20:21:09 laptop.t-8ch.de systemd[1]: [/usr/lib/systemd/system/rc-local-shutdown.service:3] Unknown lvalue 'ConditionPathIsExecutable' in section 'Unit'. Ignoring.
This task depends upon

Closed by  Tom Gundersen (tomegun)
Thursday, 16 August 2012, 19:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  Thanks! Fixed in git.

Loading...