107 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
24
views
lockf for shm_open fd
Using shm_open to communicate between client and server. How to guarantee client and server will not double initialize.
// server.c
int main() {
int shm_fd = shm_open("/my_shm", O_CREAT |...
0
votes
1
answer
111
views
What is the difference between CreateFile share mode and LockFileEx file locking?
Passing 0 as dwShareMode argument during CreateFile call will prevent other processes to obtain a file handle, until current process will call CloseHandle.
What is the purpose of locking with ...
0
votes
1
answer
249
views
Android Studio : Emulator is running but not showing up on screen due to lock files
I have lock files in my AVD and no matter if I delete the AVD or the lock files they come again when I try to run the emulator. Even if I make a new one.
Android Studio : emulator is already running
...
0
votes
1
answer
393
views
Fresh MongoDB Community Edition install will not start (Installed through a fresh Homebrew install)
I had Homebrew install for many years. A few weeks ago, I installed MongoDB Community through Homebrew. I was able to start MongoDB and connect to it by mongosh.
I restarted my computer and MongoDB ...
1
vote
0
answers
544
views
Waiting for flutter command to release the startup lock
I am unable to run "flutter pub get" or "flutter doctor" because it always tells me to wait for another flutter command to release the startup lock and then exits with code 69.
...
0
votes
1
answer
332
views
python-daemon pidfile is not created
I implement a Python daemon that uses python-daemon to daemonize.
A stripped down minimal example would be:
import daemon
import daemon.pidfile
import threading
import syslog
import signal
class ...
14
votes
2
answers
13k
views
Should bun.lockb file be versioned?
I'm migrating a Laravel+Sail project to use bun instead nodejs.
According the Bun docs, after run bun i, a binary lockfile named bun.lockb (similar to yarn.lock) is created to increase performance. ...
2
votes
3
answers
3k
views
Error: Inconsistent dependency lock file using Gitlab CICD file
I am using gitlab cicd to deploy aws services into AWS using terraform. I have tested out the deployments from local to machine to AWS and the deployment has been successful. When code is pushed to ...
1
vote
1
answer
2k
views
GitHub ci-test throwing "Your lockfile needs to be updated" even after I committed an updated Yarn lockfile
I was trying to merge my pull request to a repository. I got this error:
error Your lockfile needs to be updated, but yarn was run with --frozen-lockfile.
I figured this was due to my changes ...
0
votes
1
answer
667
views
Dovecot fails to create autoexpunge lock file for every specific mailbox
Set as fillows: mail_location = maildir:/var/vmail/%d/%n/Maildir
Dovecot error record for every mailbox:
Error: autoexpunge: Couldn't create dovecot.autoexpunge.lock lock: file_create_locked(/var/...
4
votes
1
answer
4k
views
Proper way to handle a lock file on rebase conflict
Hi I am not sure if I am doing things correctly. Whenever I rebase an hit an issue with package.json and the lock file. I fix the package.json, but then delete the lockfile and just run pnpm i again.
...
1
vote
1
answer
1k
views
Gradle: No matching variant was found
After changing my project's build.gradle to use a new version of a Gradle plugin which does a whole bunch of stuff (hard to isolate root cause), I get the following error when running ...
7
votes
1
answer
11k
views
yarn.lock file is not updating after I update the version of a dependency in package.json and run yarn install or just yarn
In the repository of a project, I already have package.json and yarn.lock files. I'm updating the version of a particular package from version 2.0.14 to version 2.0.16.
When I do yarn install or just ...
3
votes
2
answers
5k
views
Why does cargo build ignore the lock file when lock changed by git?
I'm confused about the behavior of cargo build when the lock file changes between builds:
Run cargo clean
Run cargo build
Change the lock file to a previous version using git
Now rerun cargo build
...
17
votes
4
answers
73k
views
Inconsistent dependency when i do terraform apply from plan -out=file
I am attempting to create new resources on GCP with a remote backend
After doing terraform init plan -out=tfplan and then terraform apply tfplan I get the following error:
Error: Inconsistent ...