Skip to content

[chefctl] Move default lockfile location#103

Open
jaymzh wants to merge 1 commit intofacebook:mainfrom
jaymzh:fix-lock
Open

[chefctl] Move default lockfile location#103
jaymzh wants to merge 1 commit intofacebook:mainfrom
jaymzh:fix-lock

Conversation

@jaymzh
Copy link
Collaborator

@jaymzh jaymzh commented Mar 12, 2026

/var/lock/subsys was meant for SysV startup serialization, and was
never the right locationf or our lockfile.

Moreover, recent systemd releases no longer keep the legacy.conf
configuration that creates /var/lock/subsys, so this means chefctl
no longer works out of the box.

Move the default to something more modern and sane.

NOTE: If Meta doesn't explicitly set a lock_file setting in their
chefctl-config.rb, they should before merging this.

Signed-off-by: Phil Dibowitz phil@ipom.com

`/var/lock/subsys` was meant for SysV startup serialization, and was
never the right locationf or our lockfile.

Moreover, recent systemd releases no longer keep the `legacy.conf`
configuration that creates `/var/lock/subsys`, so this means chefctl
no longer works out of the box.

Move the default to something more modern and sane.

*NOTE*: If Meta doesn't explicitly set a `lock_file` setting in their
`chefctl-config.rb`, they should before merging this.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
@meta-cla meta-cla bot added the CLA Signed label Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant