ibm-s390-linux / s390-tools

Tools for use with the s390 Linux kernel and device drivers
MIT License
63 stars 59 forks source link

systemd/cpi.service: Add sysinit.target dependency to make sure /var is created #82

Closed Prashanth684 closed 3 years ago

Prashanth684 commented 4 years ago

Noticed on RHEL CoreOS that the CPI service failed to start with :

"Cannot access lock file: /var/lock/cpictl.lock"

This was a timing issue where /var was not created yet and the symlink to /run/lock was not present. Adding this as a suggestion from @cgwalters to fix this. This fix has been tested with RHEL CoreOS.

Signed-off-by: Prashanth Sundararaman psundara@redhat.com

Prashanth684 commented 4 years ago

/cc @sharkcz

Prashanth684 commented 4 years ago

/cc @stefan-haberland